/* ==========================================================================
   MTS Media — produkcja wideo & fotografia
   ========================================================================== */

/* ---------- Fonts (self-hosted, RODO-friendly) ---------- */
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-tight-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-tight-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0a0a0b;
  --bg-2: #0f0f11;
  --surface: #141416;
  --surface-2: #1b1b1f;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f4f4f1;
  --text-2: #a9a9a3;
  --text-3: #8a8a83;
  --accent: #2bd14b;
  --accent-hover: #4be066;
  --accent-soft: rgba(43, 209, 75, .12);
  --accent-ink: #03130a;
  --brand: #018f04;
  --rec: #ff3b30;

  --radius-s: 12px;
  --radius: 18px;
  --radius-l: 28px;
  --gutter: clamp(16px, 4.2vw, 48px);
  --maxw: 1320px;
  --header-h: 76px;
  --safe-top: env(safe-area-inset-top, 0px);

  --font-sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--safe-top) + 12px);
  background: var(--bg);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background: url("../img/grain.png") repeat;
  opacity: .045;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 300;
  padding: 10px 16px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none;
  transform: translateY(-160%); transition: transform .25s var(--ease-out);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  /* iPhone w poziomie: treść nie wchodzi pod wycięcie na kamerę */
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* accent words: italic serif in brand green */
.hl {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--accent);
  padding-right: .03em;
}

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: var(--h); padding: 0 1.55em;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1 var(--font-sans); letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .35s var(--ease-out), background-color .2s, color .2s, border-color .2s, box-shadow .35s var(--ease-out);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); box-shadow: 0 12px 40px -12px rgba(43, 209, 75, .6); }
.btn--ghost { background: rgba(255, 255, 255, .04); color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); }
.btn--sm { --h: 44px; padding: 0 1.2em; font-size: .9375rem; }
.btn .arrow { transition: transform .35s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); color: var(--text);
  cursor: pointer; transition: background-color .2s, border-color .2s, transform .3s var(--ease-out);
}
.icon-btn:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }
.icon-btn svg { width: 20px; height: 20px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none;
  padding-bottom: 4px; border-bottom: 1px solid var(--line-2);
  transition: color .2s, border-color .2s;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow:hover svg { transform: translate(2px, -2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  height: calc(var(--header-h) + var(--safe-top)); padding-top: var(--safe-top);
  border-bottom: 1px solid transparent;
  transition: background-color .35s, border-color .35s;
}
/* iPhone (iOS 26): Safari maluje pas pod godziną i baterią kolorem tła przyklejonego nagłówka, ale czyta tylko
   background-color samego elementu — rozmycie (backdrop-filter) albo tło na ::before sprawiają, że pod zegarem
   widać stronę. Dlatego kolor jest tu, a rozmycie w dziecku .site-header__glass, którego Safari nie sprawdza. */
.site-header.is-scrolled, .site-header.is-solid {
  background-color: rgba(10, 10, 11, .74);
  border-bottom-color: var(--line);
}
.site-header__glass {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  opacity: 0; transition: opacity .35s;
}
.site-header.is-scrolled .site-header__glass, .site-header.is-solid .site-header__glass { opacity: 1; }
/* telefon i tablet: pasek z logo i językiem ma tło zawsze, także na samej górze strony — Safari przedłuża
   je pod zegar i baterię (wokół wycięcia na kamerę); treść paska zostaje pod wycięciem */
@media (max-width: 1080px) {
  .site-header, .site-header.is-scrolled, .site-header.is-solid {
    /* pełny kolor: Safari maluje pas pod zegarem nieprzezroczystą wersją tła, więc tylko jednolity kolor wygląda tak samo */
    background-color: #1a1a1d;
    border-bottom-color: var(--line);
  }
  .site-header .site-header__glass { opacity: 1; }
  /* ziarno filmowe zaczyna się pod paskiem: przyklejona warstwa przy górnej krawędzi zasłaniała pasek
     i Safari pokazywał pod zegarem stronę zamiast przedłużyć ciemne tło paska */
  body::after { top: calc(var(--header-h) + var(--safe-top)); }
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: block; flex: none; border-radius: 8px; }
.brand img { height: 50px; width: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 2px; list-style: none; }
.nav a {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px;
  color: var(--text-2); text-decoration: none; font-weight: 500; font-size: .9375rem;
  transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav a::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); display: none;
}
.nav a.is-active { color: var(--text); }
.nav a.is-active::before { display: block; }
.header__cta { margin-left: 8px; }

/* przełącznik języka — prawy górny róg */
.lang { position: relative; flex: none; }
.lang__btn {
  display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 11px 0 12px;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .04);
  font: 600 .8125rem/1 var(--font-mono); letter-spacing: .06em; color: var(--text);
  cursor: pointer; list-style: none; user-select: none; -webkit-user-select: none;
  transition: background-color .2s, border-color .2s;
}
.lang__btn::-webkit-details-marker { display: none; }
.lang__btn:hover, .lang[open] .lang__btn { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); }
.lang__btn svg { width: 16px; height: 16px; flex: none; }
.lang__btn svg:last-child { width: 14px; height: 14px; opacity: .7; transition: transform .25s var(--ease-out); }
.lang[open] .lang__btn svg:last-child { transform: rotate(180deg); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 70; min-width: 168px;
  margin: 0; padding: 6px; list-style: none;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 14px;
  box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .7);
}
.lang__menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  color: var(--text-2); text-decoration: none; font-weight: 500; font-size: .9375rem;
  transition: background-color .2s, color .2s;
}
.lang__menu a:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.lang__menu a[aria-current="true"] { color: var(--text); }
.lang__menu a[aria-current="true"]::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.menu-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04);
  cursor: pointer; position: relative;
}
.menu-toggle span {
  position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: var(--text);
  transition: transform .35s var(--ease-out), top .35s var(--ease-out);
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 25px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + var(--safe-top) + 20px) var(--gutter) 28px;
  background: rgba(10, 10, 11, .97);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease-out), visibility .35s;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu ol { list-style: none; }
.mobile-menu ol a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(2rem, 9vw, 2.75rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.1;
  text-decoration: none;
  transform: translateY(14px); opacity: 0;
  transition: transform .5s var(--ease-out), opacity .5s var(--ease-out), color .2s;
}
.mobile-menu ol a span { font: 500 .8125rem var(--font-mono); letter-spacing: .06em; color: var(--accent); }
.mobile-menu.is-open ol a { transform: none; opacity: 1; }
.mobile-menu.is-open li:nth-child(2) a { transition-delay: .04s; }
.mobile-menu.is-open li:nth-child(3) a { transition-delay: .08s; }
.mobile-menu.is-open li:nth-child(4) a { transition-delay: .12s; }
.mobile-menu.is-open li:nth-child(5) a { transition-delay: .16s; }
.mobile-menu.is-open li:nth-child(6) a { transition-delay: .2s; }
.mobile-menu.is-open li:nth-child(7) a { transition-delay: .24s; }
.mobile-menu__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 16px; }
.mobile-menu__foot .btn { width: 100%; }
.mobile-menu__social { display: flex; gap: 10px; }

@media (max-width: 1080px) {
  .nav, .header__cta { display: none; }
  .menu-toggle { display: inline-block; margin-left: 0; }
  .lang { margin-left: auto; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .brand img { height: 40px; }
}

/* ---------- Viewfinder (camera UI) ---------- */
.vf {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  font: 500 .6875rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 1px 10px rgba(0, 0, 0, .55);
}
.vf::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(0, 0, 0, .5), transparent 20%, transparent 80%, rgba(0, 0, 0, .55));
}
.vf__c { position: absolute; width: 26px; height: 26px; border: 2px solid rgba(255, 255, 255, .85); }
.vf__c--tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.vf__c--tr { top: 16px; right: 16px; border-left: 0; border-bottom: 0; border-top-right-radius: 6px; }
.vf__c--bl { bottom: 16px; left: 16px; border-right: 0; border-top: 0; border-bottom-left-radius: 6px; }
.vf__c--br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }
.vf__row {
  position: absolute; left: 54px; right: 54px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.vf__row--top { top: 24px; }
.vf__row--bottom { bottom: 24px; }
.vf__row span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.rec-dot {
  width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: var(--rec); box-shadow: 0 0 12px rgba(255, 59, 48, .9);
  animation: blink 1.4s steps(1, end) infinite;
}
@keyframes blink { 50% { opacity: .15; } }
.vf__tc { font-variant-numeric: tabular-nums; letter-spacing: .06em; display: inline-block; min-width: 12.5ch; contain: layout paint style; } /* zmiana cyfr nie przelicza reszty strony */
.battery { width: 22px; height: 11px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; padding: 1.5px; display: flex; gap: 1.5px; }
.battery::after { content: ""; position: absolute; right: -4px; top: 2.5px; width: 2px; height: 4px; background: currentColor; border-radius: 0 1px 1px 0; }
.battery i { flex: 1; background: currentColor; border-radius: 1px; }
.battery i:last-child { opacity: .25; }
/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  padding: calc(var(--header-h) + var(--safe-top) + clamp(28px, 5vh, 64px)) 0 clamp(48px, 7vh, 88px);
  display: flex; align-items: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 45% at 12% 28%, rgba(43, 209, 75, .10), transparent 70%),
    radial-gradient(35% 35% at 92% 8%, rgba(1, 143, 4, .14), transparent 70%);
}
/* zdjęcie w tle: na desktopie mocno przyciemnione, twarz wypada w przerwie między nagłówkiem a monitorem */
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg::before {
  content: ""; position: absolute; top: 0; left: calc(50% - 10px);
  height: min(72%, 46vw); aspect-ratio: 2039 / 582;
  transform: translateX(-75.6%);
  background:
    linear-gradient(to bottom, rgba(10, 10, 11, .7) 0%, rgba(10, 10, 11, .55) 28%, rgba(10, 10, 11, .8) 62%, var(--bg) 100%),
    url("../img/kontakt-2039.webp") center / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(to right, #000 80%, transparent);
  mask-image: linear-gradient(to right, #000 80%, transparent);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(36px, 5vw, 88px);
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 15px 9px 13px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  font: 500 .75rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-2);
}
.eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent); position: relative; flex: none;
}
.eyebrow .pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--accent); opacity: 0;
  animation: pulse 2.4s var(--ease-out) infinite;
}
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
.hero__title {
  margin-top: 28px;
  font-size: clamp(3.1rem, 6.7vw, 6.6rem);
  line-height: .94;
  letter-spacing: -.045em;
}
.hero__title .hl { font-size: 1.06em; letter-spacing: -.02em; }
.hero__lead {
  margin-top: 28px; max-width: 39ch;
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem); line-height: 1.55;
  color: var(--text-2);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: 18px clamp(24px, 3.4vw, 52px);
  margin-top: clamp(40px, 6vh, 64px); padding-top: 26px;
  border-top: 1px solid var(--line);
  list-style: none;
}
.hero__stats strong { display: block; font-size: clamp(1.75rem, 2.5vw, 2.4rem); font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.hero__stats strong em { font-style: normal; color: var(--accent); }
.hero__stats span { display: block; margin-top: 8px; font-size: .9rem; color: var(--text-3); }

.monitor {
  position: relative;
  height: min(76svh, 780px); min-height: 540px;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: #0d0d0f;
  border: 1px solid var(--line);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .02) inset;
}
.monitor__cols {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding: 0 12px;
}
.monitor__col { display: flex; flex-direction: column; gap: 12px; will-change: transform; animation: colUp 64s linear infinite; }
.monitor__col--down { animation-name: colDown; animation-duration: 76s; }
.monitor__col img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 14px; background: var(--surface);
}
@keyframes colUp { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 6px)); } }
@keyframes colDown { from { transform: translateY(calc(-50% - 6px)); } to { transform: translateY(0); } }
/* pauza tylko pod prawdziwym kursorem — na dotyku :hover „przykleja się” po tapnięciu */
/* zdjęcia w hero przewijają się też pod kursorem (bez pauzy na hover) */

/* ---------- Marquee ---------- */
.marquee {
  display: flex; align-items: stretch;
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
}
.marquee__label {
  flex: none; display: flex; align-items: center;
  padding: 0 28px 0 var(--gutter);
  border-right: 1px solid var(--line);
  font: 500 .75rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-3); white-space: nowrap;
}
.marquee__viewport {
  flex: 1; min-width: 0; display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee__track {
  flex: none; display: flex; align-items: center; gap: 34px;
  padding: 28px 34px 28px 0;
  list-style: none;
  animation: marquee 80s linear infinite;
}
/* pasek marek pod klientami nie zatrzymuje się po najechaniu — do przeglądania jest przycisk „Pokaż wszystkie marki” */
@media (hover: hover) and (pointer: fine) { .marquee:not(.marquee--logos):hover .marquee__track { animation-play-state: paused; } }
.marquee__track li {
  display: flex; align-items: center;
  font-size: clamp(1.375rem, 2.3vw, 2rem); font-weight: 600; letter-spacing: -.035em;
  white-space: nowrap;
}
.marquee__avatar { flex: none; width: 1.3em; height: 1.3em; margin-right: .42em; border-radius: 50%; object-fit: cover; background: var(--surface); }
.marquee__track li.sep {
  width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #7dff8f, var(--accent) 45%, var(--brand));
  box-shadow: 0 0 0 4px rgba(43, 209, 75, .14);
}
@keyframes marquee { to { transform: translateX(-100%); } }
/* belka z twórcami pod hero — na desktopie twórcy są już w hero, więc bez powtórzenia */
@media (min-width: 1024px) {
  .marquee--names { display: none; }
  .marquee--names + .section { border-top: 1px solid var(--line); } /* kreska nad „Ponad 700 filmów”, jak między innymi sekcjami */
}
/* wariant z etykietą nad listą — marki na końcu sekcji „Zaufali mi” */
.marquee--stacked { flex-direction: column; margin-top: clamp(40px, 5vw, 72px); border-bottom: 0; }
.marquee--stacked .marquee__label {
  padding: 20px var(--gutter) 0 max(var(--gutter), calc((100% - var(--maxw)) / 2));
  border-right: 0; line-height: 1.5; white-space: normal;
}
.marquee--stacked .marquee__track { padding-block: 16px 26px; }
/* logo marek na białych kafelkach — każde logo czytelne w oryginalnych kolorach */
.marquee__track.marquee__track--logos { gap: 14px; padding-right: 14px; }
.logo-chip {
  flex: none; display: flex; align-items: center; justify-content: center;
  height: calc(64px * var(--logo-scale, 1)); min-width: calc(104px * var(--logo-scale, 1));
  padding: 0 calc(22px * var(--logo-scale, 1)); border-radius: calc(14px * var(--logo-scale, 1));
  background: #fff;
}
.logo-chip img { width: auto; max-width: none; height: calc(var(--lh) * var(--logo-scale, 1)); }
.marquee__track .logo-chip--text { font: 700 calc(1.3rem * var(--logo-scale, 1))/1 var(--font-sans); letter-spacing: -.035em; color: #141416; }
.logo-chip--dark { background: #000; }
.logo-chip .logo-chip__cover { width: calc(var(--lw) * var(--logo-scale, 1)); object-fit: cover; }
.marquee__track .logo-chip--avatar {
  gap: calc(10px * var(--logo-scale, 1)); padding-left: calc(12px * var(--logo-scale, 1));
  font: 700 calc(1.25rem * var(--logo-scale, 1))/1 var(--font-sans); letter-spacing: -.035em; color: #141416;
}
.logo-chip__avatar { border-radius: 50%; }
/* paski w hero: marki z logo oraz twórcy — przesuwają się w przeciwne strony, twórcy wolniej */
.hero__brands { margin-top: 32px; --logo-scale: .85; }
.hero__brands-label {
  margin-bottom: 10px;
  font: 500 .6875rem/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2);
}
.hero__brands .marquee__track, .hero__creators .marquee__track { padding-block: 0; }
.hero__brands .marquee__track { animation-duration: 70s; }
.hero__creators { margin-top: 12px; }
.hero__creators .marquee__track { animation-duration: 85s; animation-direction: reverse; }
.marquee__track.marquee__track--people { gap: 10px; padding-right: 10px; }
.person-chip {
  flex: none; gap: 10px; height: 44px; padding: 0 16px 0 5px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); color: var(--text);
}
.marquee__track .person-chip { font-size: .9375rem; letter-spacing: -.015em; }
.person-chip__img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: var(--surface); }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(80px, 9vw, 136px); }
.section + .section { border-top: 1px solid var(--line); }
.sec-label {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 22px;
  font: 500 .75rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-2);
}
.sec-label b { color: var(--accent); font-weight: 500; }
.sec-label::after { content: ""; width: 44px; height: 1px; background: var(--line-2); }
.sec-title { font-size: clamp(2.4rem, 5.2vw, 4.75rem); line-height: .98; letter-spacing: -.05em; }
.sec-title .hl { font-size: 1.05em; }
.sec-head { margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head--split {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 24px clamp(24px, 6vw, 96px); align-items: end;
}
.sec-desc { color: var(--text-2); max-width: 46ch; }
.sec-head .link-arrow { margin-top: 20px; }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter {
  display: inline-flex; align-items: center; gap: 9px;
  height: 42px; padding: 0 17px;
  border-radius: 999px; border: 1px solid var(--line-2);
  background: transparent; color: var(--text-2);
  font-weight: 500; font-size: .9375rem; white-space: nowrap; cursor: pointer;
  transition: color .2s, background-color .2s, border-color .2s;
}
.filter small { font: 500 .6875rem var(--font-mono); color: var(--text-3); transition: color .2s; }
.filter:hover { color: var(--text); border-color: rgba(255, 255, 255, .32); }
.filter[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.filter[aria-pressed="true"] small { color: rgba(10, 10, 11, .55); }
.more { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }
.more[hidden] { display: none; }
html:not(.js) .filters, html:not(.js) .more { display: none; }

/* ---------- Videos ---------- */
.vgrid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 2.4vw, 32px) clamp(14px, 1.6vw, 22px);
  list-style: none;
}
.vcard[hidden] { display: none; }
.vcard__link { display: block; height: 100%; text-decoration: none; border-radius: var(--radius); }
.vcard__media {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--radius); background: var(--surface);
  isolation: isolate;
}
.vcard__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.vcard__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .28), transparent 34%, transparent 62%, rgba(0, 0, 0, .35));
  transition: background-color .35s;
}
.vcard__link:hover .vcard__media img { transform: scale(1.055); }
.vcard__link:hover .vcard__media::after { background-color: rgba(0, 0, 0, .12); }
.vcard__play {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  width: 62px; height: 62px; margin: -31px 0 0 -31px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(15, 15, 17, .45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  transition: transform .45s var(--ease-out), background-color .25s, color .25s, border-color .25s;
}
.vcard__play svg { width: 22px; height: 22px; margin-left: 3px; }
.vcard__link:hover .vcard__play { transform: scale(1.1); background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.vcard__tag, .vcard__badge {
  position: absolute; top: 12px; z-index: 2;
  padding: 7px 10px; border-radius: 999px;
  font: 500 .6875rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
}
.vcard__tag {
  left: 12px; color: #fff;
  background: rgba(10, 10, 11, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .14);
}
.vcard__badge { right: 12px; background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.vcard__body { padding: 16px 2px 0; }
.vcard__title { font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.vcard__title span { display: block; }
.vcard__name { color: var(--text-2); font-weight: 500; }
.vcard__role {
  margin-top: 10px;
  font: 500 .6875rem/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-3);
}
/* featured card */
.vcard--feature .vcard__link { position: relative; }
.vcard--feature .vcard__media::after { background: linear-gradient(180deg, rgba(0, 0, 0, .3), transparent 30%, transparent 45%, rgba(0, 0, 0, .86)); }
.vcard--feature .vcard__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: clamp(20px, 2.6vw, 32px); }
.vcard--feature .vcard__title { font-size: clamp(1.5rem, 2.6vw, 2.5rem); letter-spacing: -.04em; line-height: 1.05; }
.vcard--feature .vcard__name { color: rgba(255, 255, 255, .78); }
/* Homiez Daily: „Nagranie ponad 100 filmów” na zielonej plakietce, jak „40 mln+ wyświetleń” */
.vcard--feature .vcard__role { display: inline-block; margin-top: 14px; padding: 7px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; line-height: 1; letter-spacing: .1em; }
.vcard--feature .vcard__play { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.vcard--feature .vcard__play svg { width: 28px; height: 28px; }
@media (min-width: 1024px) {
  .vcard--feature { grid-column: span 2; grid-row: span 2; }
  .vcard--feature .vcard__media { height: 100%; aspect-ratio: auto; }
}
@media (max-width: 1023px) {
  .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vcard--feature { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .vgrid { grid-template-columns: 1fr; }
  .vcard--feature .vcard__media { aspect-ratio: 4 / 3; }
}

/* ---------- Photo grid ---------- */
.pgrid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1.1vw, 16px);
  list-style: none;
}
.pitem[hidden] { display: none; }
.pitem a {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 3 / 4; border-radius: 14px;
  background: var(--surface);
}
.pitem img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 38%);
  transition: transform 1.1s var(--ease-out), opacity .6s;
}
.pitem a::after {
  content: ""; position: absolute; right: 12px; bottom: 12px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(10, 10, 11, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 16px no-repeat;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .18);
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s, transform .4s var(--ease-out);
}
.pitem a:hover img { transform: scale(1.045); }
.pitem a:hover::after, .pitem a:focus-visible::after { opacity: 1; transform: none; }
/* kafelek „Zobacz więcej” na końcu filmów (YouTube) i zdjęć (Instagram) — widoczny po rozwinięciu wszystkiego */
.vcard__media.more-tile, .pitem a.more-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 20px; text-align: center; text-decoration: none; color: var(--text);
  background: radial-gradient(120% 90% at 50% 0%, rgba(43, 209, 75, .16), transparent 62%), var(--surface);
  border: 1px solid var(--line-2);
  transition: border-color .25s;
}
.vcard__link:hover .more-tile, .pitem a.more-tile:hover { border-color: var(--accent); }
.vcard--more .vcard__media::after, .pitem--more a::after { display: none; }
.more-tile__icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 4px;
  border-radius: 50%; background: var(--accent); color: var(--accent-ink);
}
.more-tile__icon svg { width: 26px; height: 26px; }
.more-tile__title { font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.more-tile__sub { max-width: 30ch; font-size: .875rem; line-height: 1.4; color: var(--text-2); }
.more-tile__cta {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
  font: 500 .6875rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
}
.more-tile__cta svg { width: 14px; height: 14px; }
@media (max-width: 699px) {
  .pitem a.more-tile { padding: 12px; gap: 6px; }
  .pitem .more-tile__icon { width: 42px; height: 42px; }
  .pitem .more-tile__icon svg { width: 22px; height: 22px; }
  .pitem .more-tile__title { font-size: 1.05rem; }
}
@media (max-width: 1099px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 699px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pitem a { border-radius: 10px; } }

/* ---------- Dialogs (player + lightbox) ---------- */
dialog { color: var(--text); }
dialog[open] { animation: dlgIn .35s var(--ease-out); }
dialog::backdrop { background: rgba(4, 4, 5, .86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(12px) scale(.985); } }
body.has-dialog { overflow: hidden; }

.player {
  width: min(1180px, calc(100% - 32px), calc((100dvh - 170px) * 16 / 9)); max-width: none; max-height: calc(100% - 32px);
  padding: 0; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: #000; overflow: hidden;
  box-shadow: 0 40px 140px rgba(0, 0, 0, .8);
}
.player__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 10px 10px 20px; background: var(--surface); }
.player__title { font-weight: 600; letter-spacing: -.02em; line-height: 1.3; min-width: 0; }
.player__title small { display: block; font: 500 .6875rem/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-top: 2px; }
.player__frame { aspect-ratio: 16 / 9; background: #000; }
.player__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.player__frame video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.player.is-vertical { width: min(460px, calc(100% - 32px), calc((100dvh - 110px) * 9 / 16)); }
.player.is-vertical .player__frame { aspect-ratio: 9 / 16; }
.player__foot { display: flex; justify-content: flex-end; padding: 12px 18px; background: var(--surface); }

.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(6, 6, 7, .97);
  overflow: hidden;
}
.lightbox[open] { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox::backdrop { background: transparent; }
.lightbox { touch-action: pan-y pinch-zoom; }
.lightbox__figure {
  position: absolute; inset: 72px 96px 56px; margin: 0;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.lightbox__img {
  flex: 1 1 auto; min-height: 0; width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55));
  transition: opacity .25s;
  user-select: none; -webkit-user-drag: none;
}
.lightbox__img.is-loading { opacity: .35; }
.lightbox__cap { color: var(--text-2); font-size: .9375rem; text-align: center; max-width: 60ch; }
.lightbox__count { position: absolute; top: 26px; left: 28px; font: 500 .8125rem var(--font-mono); letter-spacing: .08em; color: var(--text-2); }
.lightbox__close { position: absolute; top: 14px; right: 16px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; }
.lightbox__nav--prev { left: 22px; }
.lightbox__nav--next { right: 22px; }
@media (max-width: 699px) {
  .lightbox__figure { inset: 64px 10px 104px; }
  .lightbox__nav { top: auto; bottom: 28px; transform: none; }
  .lightbox__nav--prev { left: calc(50% - 66px); }
  .lightbox__nav--next { right: calc(50% - 66px); }
}

/* ---------- About ---------- */
.about__grid {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 6vw, 104px); align-items: center;
}
.about__media {
  position: relative; margin: 0; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: var(--radius-l);
  border: 1px solid var(--line);
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__copy .sec-title { margin-bottom: 28px; }
.prose { display: grid; gap: 16px; color: var(--text-2); max-width: 60ch; }
.prose .lead { font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.5; color: var(--text); letter-spacing: -.01em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; list-style: none; }
.chips li {
  padding: 9px 15px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02);
  font-size: .875rem; color: var(--text-2);
}
.stats {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(64px, 8vw, 112px);
  list-style: none;
  border-top: 1px solid var(--line);
}
.stats li { padding: 32px 24px 0 0; }
.stats li + li { padding-left: clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.stats strong {
  display: block;
  font-size: clamp(2.6rem, 4.6vw, 4.6rem); font-weight: 700; letter-spacing: -.06em; line-height: .9;
  font-variant-numeric: tabular-nums;
}
.stats strong em { font-style: normal; color: var(--accent); }
.stats strong small { font-size: .42em; font-weight: 600; letter-spacing: -.02em; margin-left: .1em; }
.stats span { display: block; margin-top: 14px; max-width: 24ch; color: var(--text-2); font-size: .9375rem; line-height: 1.45; }
.stats span em { font-style: normal; font-weight: 600; color: var(--accent); }

.services { margin-top: clamp(72px, 9vw, 128px); }
.services__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.services__head h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -.045em; }
.services__head p { color: var(--text-2); max-width: 40ch; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; }
.svc {
  position: relative; overflow: hidden;
  padding: 28px; border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008));
  transition: border-color .35s, transform .5s var(--ease-out), background-color .35s;
}
.svc::before {
  content: ""; position: absolute; inset: auto -30% -60% auto; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 209, 75, .16), transparent 70%);
  opacity: 0; transition: opacity .5s;
}
.svc:hover { border-color: rgba(43, 209, 75, .35); transform: translateY(-4px); }
.svc:hover::before { opacity: 1; }
.svc__icon {
  width: 50px; height: 50px; margin-bottom: 26px;
  display: grid; place-items: center; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent);
}
.svc__icon svg { width: 24px; height: 24px; }
.svc h4 { font-size: 1.25rem; letter-spacing: -.025em; margin-bottom: 10px; }
.svc p { color: var(--text-2); font-size: .975rem; line-height: 1.55; }

/* ---------- Clients ---------- */
.clients { padding-bottom: 0; }
.clients__list {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(36px, 4.5vw, 56px);
  list-style: none;
  border-top: 1px solid var(--line);
}
.clients__list li { border-bottom: 1px solid var(--line); min-width: 0; }
.clients__avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--surface); }
.clients__list a span { flex: 1; min-width: 0; }
.clients__list a, .clients__name {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 100%; padding: 20px 18px 20px 0;
  font-size: clamp(1.0625rem, 1.65vw, 1.5rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.2;
  color: var(--text-2); text-decoration: none;
  transition: color .25s, padding .45s var(--ease-out), background-color .25s;
}
.clients__list a svg { width: 18px; height: 18px; flex: none; color: var(--accent); opacity: 0; transform: translate(-6px, 6px); transition: opacity .25s, transform .45s var(--ease-out); }
.clients__list a:hover { color: var(--text); padding-left: 10px; }
.clients__list a:hover svg, .clients__list a:focus-visible svg { opacity: 1; transform: none; }
@media (hover: none) { .clients__list a svg { opacity: .55; transform: none; } }
.clients__brands {
  margin-top: clamp(28px, 4vw, 44px); padding-top: 24px; border-top: 1px solid var(--line);
  color: var(--text-2);
}
.clients__brands strong { color: var(--text); font-weight: 600; }

/* ---------- Gear ---------- */
.gear__hero {
  position: relative; margin: 0 0 16px; overflow: hidden;
  aspect-ratio: 2048 / 653; border-radius: var(--radius-l);
  border: 1px solid var(--line);
}
.gear__hero img { width: 100%; height: 100%; object-fit: cover; }
.gear__hero .vf__row { left: 56px; right: 56px; }
.gear__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; }
.gear__item {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color .3s, background-color .3s;
}
.gear__item:hover { border-color: var(--line-2); background: var(--surface-2); }
.gear__icon { width: 30px; height: 30px; color: var(--accent); margin-bottom: 30px; }
.gear__icon svg { width: 100%; height: 100%; }
.gear__cat { font: 500 .6875rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.gear__name { font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.gear__desc { font-size: .9rem; line-height: 1.5; color: var(--text-2); }

/* ---------- Contact ---------- */
.contact { overflow: hidden; }
.contact__title {
  font-size: clamp(3.2rem, 11vw, 10rem); line-height: .88; letter-spacing: -.06em;
}
.contact__title .hl { font-size: 1.04em; letter-spacing: -.03em; }
.contact__media {
  position: relative; margin: clamp(36px, 5vw, 64px) 0; overflow: hidden;
  aspect-ratio: 2039 / 581; border-radius: var(--radius-l);
  border: 1px solid var(--line);
}
.contact__media img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }
.contact__grid {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 112px); align-items: start;
}
.contact__lead { font-size: clamp(1.125rem, 1.5vw, 1.3rem); color: var(--text-2); max-width: 38ch; line-height: 1.55; }
.contact__email-wrap { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.contact__email {
  font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.15;
  text-decoration: none; overflow-wrap: anywhere;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat;
  transition: background-size .55s var(--ease-out), color .2s;
  padding-bottom: 4px;
}
.contact__email:hover { background-size: 100% 2px; }
.copy-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04);
  font-size: .875rem; font-weight: 500; color: var(--text-2); cursor: pointer;
  transition: color .2s, border-color .2s, background-color .2s;
}
.copy-btn svg { width: 15px; height: 15px; }
.copy-btn:hover { color: var(--text); border-color: rgba(255, 255, 255, .3); }
.socials { display: grid; gap: 10px; margin-top: 40px; list-style: none; }
.socials a {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: var(--radius-s);
  border: 1px solid var(--line); background: rgba(255, 255, 255, .02);
  text-decoration: none; transition: border-color .25s, background-color .25s;
}
.socials a:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .05); }
.socials svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.socials b { font-weight: 600; letter-spacing: -.01em; }
.socials small { display: block; font-size: .8125rem; color: var(--text-3); }
.socials .go { margin-left: auto; width: 16px; height: 16px; color: var(--text-3); transition: transform .3s var(--ease-out), color .2s; }
.socials a:hover .go { color: var(--text); transform: translate(2px, -2px); }

.form {
  padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
}
.form h3 { font-size: 1.5rem; letter-spacing: -.035em; margin-bottom: 6px; }
.form > p { color: var(--text-2); font-size: .9375rem; margin-bottom: 24px; }
.form fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.form legend { padding: 0; margin-bottom: 12px; font-size: .875rem; color: var(--text-2); }
.chipset { display: flex; flex-wrap: wrap; gap: 8px; }
.chipset label { position: relative; cursor: pointer; }
.chipset input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chipset span {
  display: inline-flex; align-items: center; height: 38px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line-2);
  font-size: .875rem; color: var(--text-2);
  transition: color .2s, background-color .2s, border-color .2s;
}
.chipset label:hover span { color: var(--text); border-color: rgba(255, 255, 255, .3); }
.chipset input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--text); }
.chipset input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 8px; margin-bottom: 14px; }
.field > span { font-size: .875rem; color: var(--text-2); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px;
  border-radius: var(--radius-s); border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, .28); color: var(--text);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 132px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #6f6f69; }
.field input:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .26); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(43, 209, 75, .15); background: rgba(0, 0, 0, .4); }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 8px; }
.form__note { font-size: .8125rem; color: var(--text-3); max-width: 34ch; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: clamp(56px, 7vw, 88px) 0 28px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.1fr); gap: 40px; }
.footer__brand img { width: 230px; height: auto; }
.footer__brand p { margin-top: 18px; color: var(--text-3); font-size: .9375rem; max-width: 32ch; }
.footer__col h2 { font: 500 .75rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; }
.footer__col ul { list-style: none; display: grid; gap: 10px; }
.footer__col a { color: var(--text-2); text-decoration: none; transition: color .2s; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--text); }
.funding {
  margin-top: clamp(44px, 6vw, 64px);
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 22px; align-items: start;
  padding: 24px 26px; border-radius: var(--radius);
  border: 1px solid var(--line); background: rgba(255, 255, 255, .02);
  color: var(--text-2); font-size: .875rem; line-height: 1.65;
}
.funding__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.funding__icon svg { width: 22px; height: 22px; }
.funding h2 { font-size: 1rem; letter-spacing: -.01em; color: var(--text); margin-bottom: 6px; line-height: 1.3; }
.funding p + p { margin-top: 8px; }
.funding strong { color: var(--text); font-weight: 600; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: .875rem; color: var(--text-3);
}
.footer__bottom a { color: var(--text-2); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.footer__bottom a:hover { color: var(--text); }
.footer__bottom svg { width: 15px; height: 15px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 200;
  padding: 12px 18px; border-radius: 999px;
  background: var(--text); color: var(--bg); font-weight: 600; font-size: .9375rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
  transform: translate(-50%, 24px); opacity: 0; pointer-events: none;
  transition: transform .45s var(--ease-out), opacity .3s;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* podpowiedź języka — na dole ekranu, dopóki ktoś jej nie zamknie */
.lang-hint {
  position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 150;
  transform: translateX(-50%); width: max-content; max-width: calc(100% - 2 * var(--gutter));
  display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 999px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55);
  font-size: .9375rem; color: var(--text);
  animation: hintIn .5s var(--ease-out) both .8s;
}
@keyframes hintIn { from { opacity: 0; transform: translate(-50%, 16px); } }
.lang-hint__go {
  flex: none; padding: 9px 16px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none;
}
.lang-hint__go:hover { background: var(--accent-hover); }
.lang-hint__x {
  flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .06); color: var(--text-2); font-size: 1.25rem; line-height: 1; cursor: pointer;
}
.lang-hint__x:hover { background: rgba(255, 255, 255, .12); color: var(--text); }
@media (max-width: 599px) { .lang-hint { border-radius: 18px; font-size: .875rem; padding-left: 14px; } }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .clients__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .hero { min-height: 0; padding-top: min(clamp(182px, 44vw, 380px), 62svh); }
  .hero__brands, .hero__creators { margin-inline: calc(var(--gutter) * -1); }
  .hero__brands { margin-top: 26px; --logo-scale: .9; }
  .hero__brands-label { padding-inline: var(--gutter); }
  .hero__brands .marquee__track { animation-duration: 60s; }
  .hero__creators .marquee__track { animation-duration: 66s; }
  .hero__bg { inset: 0 0 auto; height: clamp(440px, 80vw, 640px); }
  .hero__bg::before {
    left: 0; width: 100%; height: 100%; aspect-ratio: auto; transform: none;
    background:
      linear-gradient(to bottom, rgba(10, 10, 11, .6) 0%, rgba(10, 10, 11, .25) 22%, rgba(10, 10, 11, .6) 46%, rgba(10, 10, 11, .93) 72%, var(--bg) 100%),
      url("../img/kontakt-2039.webp") 78% 0 / cover no-repeat;
    -webkit-mask-image: none; mask-image: none;
  }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__title { font-size: clamp(3rem, 9.4vw, 6rem); }
  .monitor { height: 520px; min-height: 0; }
  .sec-head--split { grid-template-columns: 1fr; align-items: start; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 5 liczb: pierwsza (łączne wyświetlenia) na całą szerokość, pod nią 2 × 2 */
  .stats li:first-child { grid-column: 1 / -1; text-align: center; padding-right: 0; }
  .stats li:first-child span { margin-inline: auto; }
  .stats li:nth-child(even) { padding-left: 0; border-left: 0; }
  .stats li:nth-child(n + 2) { margin-top: 28px; border-top: 1px solid var(--line); }
  .stats strong { font-size: clamp(3rem, 9vw, 5rem); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gear__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .services__head { flex-direction: column; align-items: start; }
  .gear__hero { aspect-ratio: 16 / 10; }
  .gear__hero img { object-position: 30% 50%; }
  .contact__media { aspect-ratio: 16 / 10; }
  .contact__media img { object-position: 68% 50%; }
  .vf__row--bottom .hide-sm { display: none; }
}
@media (max-width: 599px) {
  body { font-size: 1rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  /* ciaśniej, żeby marki i główny przycisk zmieściły się na pierwszym ekranie telefonu */
  .hero__title { margin-top: 20px; }
  .hero__lead { margin-top: 18px; }
  .hero__brands { margin-top: 20px; --logo-scale: .75; }
  .hero__creators { margin-top: 8px; }
  .person-chip { height: 36px; gap: 8px; padding: 0 14px 0 4px; }
  .marquee__track .person-chip { font-size: .875rem; }
  .person-chip__img { width: 28px; height: 28px; }
  .hero__actions { margin-top: 16px; }
  .clients__avatar { width: 30px; height: 30px; }
  .marquee--logos { --logo-scale: .8; }
  .hero__stats { gap: 18px 28px; }
  .monitor { height: 440px; border-radius: 22px; }
  .marquee { flex-direction: column; }
  .marquee__label { padding: 14px var(--gutter) 0; border-right: 0; }
  .marquee__track { padding-block: 16px 22px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .stats li { padding-right: 12px; }
  .hero__stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 26px; }
  .hero__stats strong { font-size: 1.6rem; }
  .hero__stats span { font-size: .8125rem; }
  .svc-grid, .gear__grid { grid-template-columns: 1fr; gap: 10px; }
  .svc, .gear__item { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; align-items: start; padding: 18px; }
  .svc__icon { grid-row: span 2; margin: 0; width: 46px; height: 46px; border-radius: 12px; }
  .svc h4 { margin: 2px 0 2px; font-size: 1.125rem; }
  .svc p { font-size: .9375rem; }
  .gear__icon { grid-row: span 3; margin: 0; width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--accent-soft); }
  .gear__cat { margin-top: 2px; }
  .clients__list { column-gap: 16px; }
  .clients__list a, .clients__name { padding: 15px 4px 15px 0; font-size: 1rem; }
  .footer__col:last-child { grid-column: 1 / -1; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .funding { grid-template-columns: 1fr; }
  .vf__row { left: 46px; right: 46px; }
}

/* ---------- Reduced motion ----------
   Decyzja właściciela strony: animacje (paski, ściana zdjęć, wjeżdżanie nagłówków i treści przy przewijaniu, liczniki,
   efekty po najechaniu) działają także przy włączonym „Ograniczaniu ruchu” w telefonie — tak, jak na komputerze.
   Wyłączone jest tylko płynne przewijanie do sekcji (patrz wyżej, scroll-behavior tylko przy no-preference). */

/* ---------- Animacja startowa: przysłona → logo → migawka → kurtyna rozsuwa się na boki ---------- */
.intro {
  position: fixed; inset: 0; z-index: 400; pointer-events: none;
  display: grid; place-items: center; overflow: hidden;
  animation: introGone 0s linear 3.4s forwards;
}
/* Płynność: animowane są wyłącznie transform i opacity (GPU) — bez animowanych filtrów (blur) i cieni,
   które na telefonie przeliczają się co klatkę i dają przycięcia. */
.intro__door, .intro__seam, .intro__glow, .intro__logo, .intro__blade, .intro__flash, .intro__bar i { will-change: transform, opacity; backface-visibility: hidden; }
/* dwa skrzydła tła, które na końcu rozjeżdżają się na boki i odsłaniają stronę */
.intro__door {
  position: absolute; top: 0; bottom: 0; width: 50.5%; z-index: 0;
  background: var(--bg);
  animation: doorL 1.05s cubic-bezier(.77, 0, .18, 1) 2.28s forwards;
}
.intro__door--l { left: 0; }
.intro__door--r { right: 0; animation-name: doorR; }
/* zielona krawędź skrzydła — osobna warstwa, zapala się (opacity) dopiero, gdy kurtyna rusza */
.intro__door::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 16px; opacity: 0;
  /* zapala się, gdy skrzydła już się rozeszły — inaczej obie poświaty nakładają się na środku w szeroki pas */
  animation: introFadeIn .2s linear 2.54s forwards;
}
.intro__door--l::after { right: 0; background: linear-gradient(to right, rgba(43, 209, 75, .9) 0 1px, rgba(43, 209, 75, .16) 1px, transparent); transform: translateX(100%); }
.intro__door--r::after { left: 0; background: linear-gradient(to left, rgba(43, 209, 75, .9) 0 1px, rgba(43, 209, 75, .16) 1px, transparent); transform: translateX(-100%); }
@keyframes doorL { to { transform: translate3d(-104%, 0, 0); } }
@keyframes doorR { to { transform: translate3d(104%, 0, 0); } }
/* zielona szczelina światła — wyrasta z paska ładowania pod logo i „otwiera” stronę */
.intro__seam {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 24px; margin-left: -12px; z-index: 4;
  /* rdzeń 2 px + miękka poświata w samym gradiencie (zamiast box-shadow) */
  background:
    linear-gradient(to right, transparent 11px, #c9ffd5 11px 13px, transparent 13px),
    radial-gradient(50% 50% at 50% 50%, rgba(43, 209, 75, .55), transparent 100%);
  -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent);
  transform-origin: 50% calc(50% + min(64vw, 380px) * .1984 + 12px);
  opacity: 0; transform: scaleY(0);
  animation: seamIn .4s cubic-bezier(.3, .6, .2, 1) 1.88s forwards, seamOut .3s ease-out 2.32s forwards;
}
@keyframes seamIn { to { opacity: 1; transform: scaleY(1); } }
@keyframes seamOut { from { opacity: 1; transform: scaleY(1); } to { opacity: 0; transform: scaleY(1) scaleX(1.6); } }
@keyframes introGone { to { visibility: hidden; } }
@keyframes introFadeOut { to { opacity: 0; } }
html:not(.js) .intro, html.no-intro .intro { display: none; }
.intro__glow {
  position: absolute; left: 50%; top: 50%; width: 90vmin; height: 90vmin; margin: -45vmin 0 0 -45vmin;
  border-radius: 50%;
  /* miękka poświata z samego gradientu — bez filter: blur */
  background: radial-gradient(circle, rgba(43, 209, 75, .42), rgba(30, 170, 60, .2) 32%, rgba(1, 143, 4, .07) 55%, transparent 70%);
  opacity: 0; transform: scale(.35);
  z-index: 1;
  animation: introGlow 1.5s cubic-bezier(.2, .7, .2, 1) forwards, introPulse 1.6s ease-in-out 1.5s infinite alternate, introFadeOut .45s ease 2.16s forwards;
}
.intro__grain {
  position: absolute; inset: 0; z-index: 1; background: url("../img/grain.png") repeat; opacity: .09;
  animation: introFadeOut .6s ease 2.31s forwards;
}
.intro__center { position: relative; z-index: 5; display: grid; justify-items: center; gap: 22px; }
.intro__logo {
  width: min(64vw, 380px); height: auto;
  opacity: 0; transform: scale(1.14);
  animation: introLogo 1.2s cubic-bezier(.2, .75, .2, 1) .25s forwards, introLogoOut .7s cubic-bezier(.6, 0, .2, 1) 2.22s forwards;
}
.intro__bar { width: min(36vw, 180px); height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; opacity: 0; animation: introFadeIn .4s ease .3s forwards, introFadeOut .25s ease 1.9s forwards; }
.intro__bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; animation: introBar 1.4s cubic-bezier(.4, 0, .2, 1) .35s forwards; }
@keyframes introGlow { to { opacity: .95; transform: scale(1); } }
@keyframes introPulse { to { opacity: .7; transform: scale(1.12); } }
@keyframes introLogo { to { opacity: 1; transform: scale(1); } }
@keyframes introLogoOut { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(1.6); } }
@keyframes introFadeIn { to { opacity: 1; } }
@keyframes introBar { to { transform: scaleX(1); } }
/* przysłona: 6 listków; każdy zakrywa półpłaszczyznę, odsunięte tworzą sześciokątny otwór.
   Listki są tylko tak duże, jak trzeba (dawniej 320 × 160 vmax — ogromne warstwy obciążały telefon). */
.intro__iris { position: absolute; inset: 0; z-index: 2; overflow: hidden; }
.intro__blade {
  position: absolute; left: 50%; top: 50%; width: 160vmax; height: 80vmax; margin-left: -80vmax;
  transform-origin: 50% 0; background: #141417; /* jednolity kolor bez cieni — telefon nie musi malować ogromnych tekstur */
  transform: rotate(var(--a)) translateY(0);
  animation: irisOpen0 .75s cubic-bezier(.65, 0, .25, 1) .3s forwards;
}
/* osobne klatki kluczowe dla każdego listka (stałe kąty, bez zmiennych CSS) — Safari/Chrome mogą je wtedy liczyć na karcie graficznej */
.intro__blade:nth-child(1) { transform: rotate(0deg); animation-name: irisOpen0; }
@keyframes irisOpen0 { from { transform: rotate(0deg) translateY(0); } to { transform: rotate(40deg) translateY(86vmax); } }
.intro__blade:nth-child(2) { transform: rotate(60deg); animation-name: irisOpen1; }
@keyframes irisOpen1 { from { transform: rotate(60deg) translateY(0); } to { transform: rotate(100deg) translateY(86vmax); } }
.intro__blade:nth-child(3) { transform: rotate(120deg); animation-name: irisOpen2; }
@keyframes irisOpen2 { from { transform: rotate(120deg) translateY(0); } to { transform: rotate(160deg) translateY(86vmax); } }
.intro__blade:nth-child(4) { transform: rotate(180deg); animation-name: irisOpen3; }
@keyframes irisOpen3 { from { transform: rotate(180deg) translateY(0); } to { transform: rotate(220deg) translateY(86vmax); } }
.intro__blade:nth-child(5) { transform: rotate(240deg); animation-name: irisOpen4; }
@keyframes irisOpen4 { from { transform: rotate(240deg) translateY(0); } to { transform: rotate(280deg) translateY(86vmax); } }
.intro__blade:nth-child(6) { transform: rotate(300deg); animation-name: irisOpen5; }
@keyframes irisOpen5 { from { transform: rotate(300deg) translateY(0); } to { transform: rotate(340deg) translateY(86vmax); } }
.intro__flash { display: none; } /* bez błysku migawki — po załadowaniu paska od razu zielona szczelina „otwiera” stronę */
@keyframes introFlash { 0% { opacity: 0; } 25% { opacity: .55; } 100% { opacity: 0; } }
/* strona „wyłania się” spod animacji: elementy hero pojawiają się dopiero, gdy intro odjeżdża */
/* opóźnienie tylko dla elementów, które pojawiają się w trakcie animacji startowej — na telefonie liczby i zdjęcia
   są niżej i wjeżdżają dopiero po przewinięciu, więc wtedy już bez czekania 2,6 s */
html.intro-on:not(.intro-done) .hero [data-reveal] { transition-delay: calc(var(--d, 0s) + 2.6s); }
html.intro-on .hero__bg { animation: introPage 1.5s cubic-bezier(.2, .7, .2, 1) 2.26s both; }
@keyframes introPage { from { opacity: .35; transform: scale(1.12); } }
/* pod animacją startową przewijane paski i ściana zdjęć czekają (mniej pracy dla telefonu); ruszają, gdy kurtyna się otwiera */
html.intro-on:not(.intro-done) .marquee__track, html.intro-on:not(.intro-done) .monitor__col { animation-play-state: paused; }

/* ---------- Współprace reklamowe: pionowe kafelki (TikTok / Reels / Shorts) ---------- */
.vgrid--vertical { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vcard--vertical .vcard__media { aspect-ratio: 9 / 16; }
@media (max-width: 1023px) { .vgrid--vertical { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) { .vgrid--vertical { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }  }
.vcard--vertical .vcard__badge { top: auto; bottom: 12px; left: 12px; right: auto; }

/* współprace — łączna liczba wyświetleń w nagłówku sekcji: liczba i podpis w jednym rzędzie */
.collabs__stat {
  display: flex; align-items: center; gap: 14px 18px;
  margin-bottom: 18px; padding: 14px 18px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
}
.collabs__stat strong {
  flex: none;
  font-size: clamp(2.5rem, 4.2vw, 3.6rem); font-weight: 700; letter-spacing: -.06em; line-height: .9;
  font-variant-numeric: tabular-nums;
}
.collabs__stat strong em { font-style: normal; color: var(--accent); }
.collabs__stat strong small { font-size: .42em; font-weight: 600; letter-spacing: -.02em; margin-left: .1em; }
.collabs__stat span { color: var(--text-2); font-size: .9375rem; line-height: 1.35; }
/* mniej pustego miejsca nad „Współprace reklamowe” (pasek logo kończy poprzednią sekcję) */
.section.collabs { padding-top: clamp(48px, 5vw, 72px); }
@media (max-width: 680px) {
  .collabs__stat { justify-content: space-between; padding: 16px 20px; }
  .collabs__stat strong { font-size: 3.4rem; }
  .collabs__stat span { font-size: 1rem; text-align: right; max-width: 13ch; }
}

/* ---------- „Pokaż wszystkie marki” pod paskiem logo + okno z wszystkimi markami ---------- */
.brands-more { display: flex; justify-content: center; padding: 4px var(--gutter, 16px) 22px; }
.brands-more small { font: 500 .75rem var(--font-mono); color: var(--text-3); }
html:not(.js) .brands-more { display: none; }

.brands-dialog {
  width: min(1180px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px);
  padding: 0; border: 1px solid rgba(120, 220, 150, .18); border-radius: var(--radius);
  background: #0c2417; color: var(--text);
  box-shadow: 0 40px 140px rgba(0, 0, 0, .8);
  overflow: hidden;
}
.brands-dialog[open] { display: flex; flex-direction: column; }
/* ziarno + delikatna poświata, jak na reszcie strony */
.brands-dialog::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 0%, rgba(43, 209, 75, .16), transparent 60%);
}
.brands-dialog::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("../img/grain.png") repeat; opacity: .12;
}
.brands-dialog__bar {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 14px 14px 24px; border-bottom: 1px solid rgba(120, 220, 150, .14);
}
.brands-dialog__title { font: 500 .8125rem/1.3 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(220, 245, 228, .8); }
.brands-dialog__grid {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; justify-content: center; align-content: flex-start; gap: 12px;
  padding: clamp(20px, 3vw, 36px); overflow-y: auto; list-style: none;
}
.brands-dialog .logo-chip { --logo-scale: 1; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .6); }
@media (max-width: 599px) {
  .brands-dialog__grid { gap: 8px; padding: 16px 12px 20px; }
  .brands-dialog .logo-chip { --logo-scale: .78; }
}
/* w oknie marek logo płynnie się powiększa po najechaniu, jak zdjęcia w portfolio */
.brands-dialog .logo-chip { transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .brands-dialog .logo-chip:hover { transform: scale(1.08); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .75); position: relative; z-index: 1; }
}

/* „Zobacz realizacje” na telefonie przewija do liczb — z odstępem, żeby kreska nad nimi nie chowała się pod nagłówkiem */
#w-liczbach { scroll-margin-top: 28px; }

/* liczby w hero (700+, 80+, Od 2017) — większe, w kafelkach jak w sekcji Sprzęt */
.hero__stats {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: stretch; gap: 10px;
  margin-top: clamp(32px, 5vh, 52px); padding-top: 0; border-top: 0;
}
.hero__stats li { min-width: 150px; text-align: center; }
.hero__stats li {
  padding: 18px 20px 20px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: rgba(20, 20, 22, .62);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: border-color .3s, background-color .3s;
}
.hero__stats li:hover { border-color: var(--line-2); background: rgba(28, 28, 32, .7); }
.hero__stats strong { font-size: clamp(2.2rem, 3.4vw, 3.3rem); letter-spacing: -.05em; white-space: nowrap; }
.hero__stats span { margin-top: 10px; font-size: .9375rem; color: var(--text-2); line-height: 1.35; }
@media (max-width: 599px) {
  /* na telefonie 2 kafelki obok siebie + trzeci na całą szerokość (dłuższe „Od 2017” / „Seit 2017” się mieści) */
  .hero__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; gap: 8px; }
  .hero__stats li { min-width: 0; padding: 16px 16px 17px; }
  .hero__stats li:last-child { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: center; gap: 14px; }
  .hero__stats li:last-child span { margin-top: 0; }
  .hero__stats strong { font-size: 2.2rem; }
  .hero__stats span { margin-top: 8px; font-size: .875rem; }
}

/* zielona poświata po najechaniu — jak w „Co mogę dla Ciebie zrobić” (.svc): liczby w hero, 60 mln+ we współpracach, kafelki Sprzętu */
.hero__stats li, .collabs__stat, .gear__item { position: relative; overflow: hidden; transition: border-color .35s, transform .5s var(--ease-out), background-color .35s; }
.hero__stats li::before, .collabs__stat::before, .gear__item::before {
  content: ""; position: absolute; inset: auto -30% -60% auto; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 209, 75, .16), transparent 70%);
  opacity: 0; transition: opacity .5s; pointer-events: none;
}
.hero__stats li:hover, .collabs__stat:hover, .gear__item:hover { border-color: rgba(43, 209, 75, .35); transform: translateY(-4px); }
.hero__stats li:hover::before, .collabs__stat:hover::before, .gear__item:hover::before { opacity: 1; }

/* plakietki na kafelkach filmów i współprac (wyświetlenia, „200+ filmów”, „Nagranie ponad 100 filmów”):
   wskakują ze sprężynką, gdy kafelek wjedzie w ekran, przelatuje po nich błysk, a liczba się odlicza (main.js) */
.vcard__badge, .vcard--feature .vcard__role { overflow: hidden; }
.js .vcard__badge, .js .vcard--feature .vcard__role { opacity: 0; transform: scale(.55); }
.js .vcard__badge { transform-origin: 100% 50%; }
.js .vcard--feature .vcard__role { transform-origin: 0 50%; }
.js .vcard__badge.is-pop, .js .vcard--feature .vcard__role.is-pop {
  animation: badgePop .65s cubic-bezier(.34, 1.56, .64, 1) .15s forwards, badgeGlow 1.6s ease-out .3s;
}
.vcard__badge::after, .vcard--feature .vcard__role::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .75) 50%, transparent 70%);
  transform: translateX(-130%);
}
.vcard--feature .vcard__role { position: relative; }
.vcard__badge.is-pop::after, .vcard--feature .vcard__role.is-pop::after { animation: badgeShine .9s ease-in-out .55s; }
@keyframes badgePop { to { opacity: 1; transform: scale(1); } }
@keyframes badgeShine { to { transform: translateX(130%); } }
@keyframes badgeGlow { 0% { box-shadow: 0 0 0 0 rgba(43, 209, 75, .7); } 100% { box-shadow: 0 0 0 14px rgba(43, 209, 75, 0); } }

/* złota gwiazdka „Moje ulubione” w prawym górnym rogu (Fanka „Mood”, Ewa Farna) — wskakuje jak zielone plakietki, ale ze złotą falą */
.vcard__badge--fav {
  display: grid; place-items: center; width: 34px; height: 34px; padding: 0;
  background: linear-gradient(145deg, #ffe27a, #f5b301 55%, #d48a00);
  color: #fffbea; border-radius: 50%;
  box-shadow: 0 6px 18px -6px rgba(245, 179, 1, .8), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.vcard__badge--fav svg { width: 19px; height: 19px; filter: drop-shadow(0 1px 1px rgba(120, 70, 0, .45)); }
.js .vcard__badge--fav { transform-origin: 50% 50%; }
.js .vcard__badge--fav.is-pop { animation: favPop .8s cubic-bezier(.34, 1.56, .64, 1) .15s forwards, favGlow 1.6s ease-out .35s; }
@keyframes favPop { 0% { opacity: 0; transform: scale(.3) rotate(-120deg); } 100% { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes favGlow { 0% { box-shadow: 0 0 0 0 rgba(255, 200, 40, .8), 0 6px 18px -6px rgba(245, 179, 1, .8); } 100% { box-shadow: 0 0 0 16px rgba(255, 200, 40, 0), 0 6px 18px -6px rgba(245, 179, 1, .8); } }
/* gwiazdka pod zieloną plakietką (Homiez Daily, Gawronek) — trochę później niż plakietka */
.vcard__badge--under { top: 48px; }
.js .vcard__badge--under.is-pop { animation-delay: .5s, .7s; }

/* zdjęcia: gdy wjadą na ekran, przelatuje po nich jasny błysk — jak po zielonych plakietkach z wyświetleniami */
.pitem a::before {
  content: ""; position: absolute; inset: -10% -60%; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, .22) 44%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, .22) 56%, transparent 66%);
  transform: translateX(-100%); opacity: 0;
}
.pitem.is-shine a::before { animation: photoShine 1.1s cubic-bezier(.45, 0, .25, 1) forwards; }
@keyframes photoShine { 0% { opacity: 1; transform: translateX(-100%); } 100% { opacity: 1; transform: translateX(100%); } }

/* (content-visibility: auto usunięte — sekcje renderowane „na żądanie” migały obrazkami i zmieniały wysokość przy przewijaniu / skokach z menu) */

/* animacja startowa rusza dopiero, gdy telefon skończy wstępne budowanie strony (DOMContentLoaded + 2 klatki) —
   wcześniej listki przysłony gubiły klatki, bo przeglądarka jednocześnie układała całą stronę */
html.intro-on:not(.intro-go) .intro, html.intro-on:not(.intro-go) .intro *, html.intro-on:not(.intro-go) .intro *::before, html.intro-on:not(.intro-go) .intro *::after,
html.intro-on:not(.intro-go) .hero__bg { animation-play-state: paused !important; }

/* ---------- przejścia między sekcjami przy przewijaniu ----------
   Sekcje to „karty”: następna wjeżdża pomniejszona i rośnie do pełnego rozmiaru, poprzednia przy wyjeździe się zmniejsza.
   Sterowane samym przewijaniem (animation-timeline: view()), animowane tylko transform/opacity — liczy to karta graficzna.
   Przeglądarki bez tej funkcji pokazują stronę bez efektu. */
@supports (animation-timeline: view()) {
  body { background-color: #050506; }
  main > .section, main > .hero { background-color: var(--bg); border-radius: 36px; overflow: clip; }
  /* pasek „Zaufali mi” zostaje zwykłym, płaskim paskiem (bez efektu karty — wąski pasek między kartami nachodził na nie) */
  main > .marquee { background-color: var(--bg); position: relative; z-index: 1; }
  main > .section {
    transform-origin: 50% 0;
    animation: secIn linear both, secOut linear forwards;
    animation-timeline: view(), view();
    /* wyjazd dopiero, gdy koniec sekcji jest w górnej połowie ekranu — przycisk „Pokaż więcej” (zawsze pod spodem)
       nie jest wtedy pomniejszony, więc po kliknięciu sekcja nie „odskakuje” do pełnego rozmiaru */
    animation-range: entry 0% entry 85%, exit 68% exit 100%;
  }
  main > .hero { transform-origin: 50% 0; animation: secOut linear forwards; animation-timeline: view(); animation-range: exit 68% exit 100%; }
  /* wjazd: od 88 % do pełnego rozmiaru (właściwość scale), z przygaszenia */
  @keyframes secIn { from { scale: .8; opacity: .25; } to { scale: 1; opacity: 1; } }
  /* wyjazd: zmniejsza się do 90 % przy dolnej krawędzi (przesunięcie o 10 % własnej wysokości = skala „od dołu”) */
  /* wyjazd: zmniejsza się do 82 % względem DOLNEJ krawędzi (transform-origin tylko na czas wyjazdu; bez przesunięcia
     o procent wysokości — po „Pokaż więcej” długa sekcja na iPhonie „uciekała” przez to szybciej) */
  @keyframes secOut { from { transform-origin: 50% 100%; transform: scale(1); } to { transform-origin: 50% 100%; transform: scale(.82); } }
  @media (max-width: 599px) { main > .section, main > .hero { border-radius: 26px; } }
}

/* menu w nagłówku: 7 pozycji — zawsze w jednej linii, na średnich ekranach ciaśniej */
.nav a { white-space: nowrap; }
@media (min-width: 1081px) and (max-width: 1320px) {
  .nav a { padding-inline: 9px; font-size: .875rem; }
}
/* górne rogi pierwszej sekcji proste (zaokrąglony jest tylko dół „karty”) */
@supports (animation-timeline: view()) { main > .hero { border-radius: 0 0 36px 36px; } }
@supports (animation-timeline: view()) { @media (max-width: 599px) { main > .hero { border-radius: 0 0 26px 26px; } } }

/* pasek „Zaufali mi” na telefonie jest w tej samej karcie co hero — pod przewijanymi zdjęciami, nie jako osobny element */
@media (max-width: 1023px) {
  .hero { flex-direction: column; align-items: stretch; padding-bottom: 0; }
  .hero > .container { width: 100%; }
  .hero > .marquee--names { position: relative; z-index: 1; margin-top: clamp(28px, 6vw, 44px); border-bottom: 0; background: rgba(20, 20, 22, .55); }
}

/* karty sekcji: większe odstępy między nimi (ciemne tło w szczelinie), bez kresek na łączeniu */
@supports (animation-timeline: view()) {
  main > .section { margin-top: clamp(18px, 3.2vw, 40px); }
  main > .section + .section, main > .hero + .section { border-top: 0; }
}
/* w kartach sekcji mniejszy odstęp od górnej krawędzi do pierwszej linijki tekstu */
@supports (animation-timeline: view()) {
  main > .section { padding-top: clamp(44px, 5vw, 76px); padding-bottom: clamp(48px, 5.5vw, 84px); }
  main > .section.collabs { padding-top: clamp(40px, 4.4vw, 64px); }
}

/* sekcje z przyciskami na dole („Pokaż więcej…”, „Pokaż wszystkie marki”) nie zmniejszają się przy wyjeździe:
   na iPhonie pomniejszanie liczone przez kartę graficzną nie nadążało za miejscem dotyku i stuknięcie w przycisk
   trafiało w inny element. Efekt karty zostaje — następna sekcja nadal wjeżdża i rośnie. */
@supports (animation-timeline: view()) {
  /* tylko na ekranach dotykowych (telefon, tablet) — na komputerze z myszką sekcje zmniejszają się normalnie */
  @media (hover: none), (pointer: coarse) {
    /* zmniejszanie dopiero, gdy koniec sekcji (z przyciskiem) dochodzi pod górny pasek — tam się nie stuka */
    main > #filmy, main > #zdjecia, main > #zaufali, main > #wspolprace {
      animation-range: entry 0% entry 85%, exit 50% exit 100%;
    }
  }
}
/* telefon/tablet: mocniejszy efekt kart — następna sekcja startuje mniejsza, a sekcje bez przycisków na dole
   (pierwszy ekran, O mnie, Sprzęt) zaczynają się zmniejszać dużo wcześniej */
@supports (animation-timeline: view()) {
  @media (hover: none), (pointer: coarse) {
    @keyframes secIn { from { scale: .75; opacity: .2; } to { scale: 1; opacity: 1; } }
    main > .hero { animation-range: exit 35% exit 100%; }
    main > #o-mnie, main > #sprzet { animation-range: entry 0% entry 85%, exit 30% exit 100%; }
  }
}


/* iPhone/iPad: efekt kart liczy skrypt (main.js) — wyłącz wersję przeglądarkową, zostaw wygląd kart */
@supports (animation-timeline: view()) {
  html.js-cards main > .section, html.js-cards main > .hero { animation: none !important; will-change: transform; }
}

/* stopka: odstęp od ostatniej karty („Opowiedz o projekcie”), jak między sekcjami */
@supports (animation-timeline: view()) { .site-footer { margin-top: clamp(18px, 3.2vw, 40px); border-top: 0; border-radius: 36px 36px 0 0; } }

/* ---------- karty także w przeglądarkach bez animation-timeline (Firefox) ----------
   Tam efekt liczy skrypt (main.js, klasa js-cards) — te same style kart co w bloku @supports wyżej. */
html.js-cards body { background-color: #050506; }
html.js-cards main > .section, html.js-cards main > .hero { background-color: var(--bg); border-radius: 36px; overflow: clip; }
html.js-cards main > .hero { border-radius: 0 0 36px 36px; }
html.js-cards main > .marquee { background-color: var(--bg); position: relative; z-index: 1; }
html.js-cards main > .section { margin-top: clamp(18px, 3.2vw, 40px); padding-top: clamp(44px, 5vw, 76px); padding-bottom: clamp(48px, 5.5vw, 84px); }
html.js-cards main > .section.collabs { padding-top: clamp(40px, 4.4vw, 64px); }
html.js-cards main > .section + .section, html.js-cards main > .hero + .section { border-top: 0; }
html.js-cards main > .section, html.js-cards main > .hero { will-change: transform; }
html.js-cards .site-footer { margin-top: clamp(18px, 3.2vw, 40px); border-top: 0; border-radius: 36px 36px 0 0; }
@media (max-width: 599px) {
  html.js-cards main > .section { border-radius: 26px; }
  html.js-cards main > .hero { border-radius: 0 0 26px 26px; }
  html.js-cards .site-footer { border-radius: 26px 26px 0 0; }
}
@supports (animation-timeline: view()) { @media (max-width: 599px) { .site-footer { border-radius: 26px 26px 0 0; } } }

/* formularz: zgoda / informacja o polityce prywatności */
.consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 4px; font-size: .8125rem; line-height: 1.5; color: var(--text-3); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--accent); cursor: pointer; }
.consent a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.consent a:hover { color: var(--accent); }
.footer__bottom a[href="privacy.html"] { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* polityka prywatności w okienku (treść wczytywana z privacy.html) */
.legal-dialog {
  width: min(860px, calc(100% - 24px)); max-width: none; max-height: calc(100dvh - 24px);
  padding: 0; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--surface); color: var(--text); box-shadow: 0 40px 140px rgba(0, 0, 0, .8); overflow: hidden;
}
.legal-dialog[open] { display: flex; flex-direction: column; }
.legal-dialog__bar, .legal-dialog__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 22px; background: var(--surface-2, #1c1c20); }
.legal-dialog__bar { border-bottom: 1px solid var(--line); }
.legal-dialog__foot { justify-content: flex-end; border-top: 1px solid var(--line); padding: 12px 14px; }
.legal-dialog__title { font: 500 .8125rem/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.legal-dialog__bar .btn svg { width: 16px; height: 16px; }
.legal-dialog__body { overflow-y: auto; overscroll-behavior: contain; padding: clamp(20px, 4vw, 40px); }
.legal-dialog__body h1 { font-size: clamp(1.8rem, 4.4vw, 2.8rem); letter-spacing: -.045em; line-height: 1; margin-bottom: 10px; }
.legal-dialog__body .legal__date { font: 500 .75rem/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 26px; }
.legal-dialog__body h2 { font-size: 1.15rem; letter-spacing: -.02em; margin: 28px 0 10px; }
.legal-dialog__body p, .legal-dialog__body li { color: var(--text-2); line-height: 1.65; font-size: .9375rem; }
.legal-dialog__body p + p { margin-top: 10px; }
.legal-dialog__body ul { margin: 10px 0 0 1.1em; display: grid; gap: 6px; }
.legal-dialog__body a { color: var(--accent); }
.legal-dialog__body strong { color: var(--text); }
.legal-dialog__body code { font-family: var(--font-mono); font-size: .875em; color: var(--text); }
.legal-dialog__body .legal__foot { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--text-3); font-size: .8125rem; }

/* dopisek „(bez Shortsów)” pod opisem liczby — w osobnej, mniejszej linijce */
.stat-note { display: block; margin-top: 2px; font-size: .8em; color: var(--text-3); white-space: nowrap; }

/* kropka przy „Produkcja wideo & fotografia”: czerwona i migająca jak „REC” w kamerze */
.eyebrow .pulse { background: var(--rec); box-shadow: 0 0 10px rgba(255, 59, 48, .85); animation: blink 1.4s steps(1, end) infinite; }
.eyebrow .pulse::after { border-color: var(--rec); }

/* liczby w „O mnie”: 7 kafelków — na komputerze 4 kolumny × 2 rzędy, pierwszy (350 mln+) na dwie kolumny */
@media (min-width: 1024px) {
  /* 8 liczb: 2 rzędy po 4 */
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 0; }
  .stats li:nth-child(5) { padding-left: 0; border-left: 0; }
  .stats li:nth-child(n + 5) { margin-top: 28px; border-top: 1px solid var(--line); }
}
/* telefon/tablet: ostatnia (samotna w rzędzie) liczba też na całą szerokość, wyśrodkowana */
@media (max-width: 1023px) {
  .stats li:last-child:nth-child(even) { grid-column: 1 / -1; text-align: center; padding-right: 0; }
  .stats li:last-child:nth-child(even) span { margin-inline: auto; }
}

/* hero: 4 liczby (1 mld+, 800+, 90+, Od 2017) — równa kratka 2 × 2 (w jednym rzędzie „Od 2017” się nie mieściło) */
.hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; }
.hero__stats li { min-width: 0; }
.hero__stats strong small { font-size: .5em; font-weight: 600; margin-left: .06em; letter-spacing: -.02em; }
.hero__stats li:last-child { grid-column: auto; display: block; }
.hero__stats li:last-child span { margin-top: 8px; }
@media (max-width: 599px) {
  .hero__stats li:last-child span { margin-top: 8px; }
  .hero__stats strong { font-size: clamp(1.9rem, 9vw, 2.3rem); }
}
/* ES: „Desde 2017” jest dłuższe — na telefonie lekko mniejsze, żeby zmieściło się w kafelku */
@media (max-width: 599px) {
  html[lang="es"] .hero__stats li:last-child strong { font-size: clamp(1.5rem, 7vw, 2.1rem); }
}

/* ---------- Fotografia: taśma filmowa (komputer) i stos odbitek (telefon) — main.js buduje .fshow ---------- */
#zdjecia.has-fshow .pgrid, #zdjecia.has-fshow .more { display: none; }

/* taśma: sekcja „przypięta” do ekranu, przewijanie przesuwa zdjęcia w bok */
.fshow--strip { position: relative; margin-inline: calc(50% - 50vw); margin-top: 8px; }
.fstrip__pin {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr);
  padding: calc(var(--header-h) + 14px) 0 clamp(18px, 3vh, 34px);
}
.fstrip__head, .fstrip__foot { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.fstrip__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.fstrip__head .filters { margin: 0; }
.fstrip__count { font: 500 .8125rem/1 var(--font-mono); letter-spacing: .12em; color: var(--text-3); white-space: nowrap; }
.fstrip__count b { font-size: 2.1rem; font-weight: 600; letter-spacing: -.02em; color: var(--text); margin-right: 4px; font-variant-numeric: tabular-nums; }
.fstrip__stage { position: relative; display: flex; align-items: center; min-height: 0; min-width: 0; }
.fstrip__track {
  position: relative; display: flex; align-items: center; gap: clamp(28px, 3.4vw, 64px);
  padding: 46px 32vw; will-change: transform;
}
/* perforacja taśmy filmowej nad i pod kadrami — jedzie razem z nimi */
.fstrip__track::before, .fstrip__track::after {
  content: ""; position: absolute; left: 0; right: 0; height: 14px; opacity: .55;
  background: repeating-linear-gradient(90deg, transparent 0 14px, rgba(255, 255, 255, .13) 14px 30px, transparent 30px 44px);
  -webkit-mask: linear-gradient(#000 0 0); border-block: 1px solid rgba(255, 255, 255, .06);
}
.fstrip__track::before { top: 8px; }
.fstrip__track::after { bottom: 8px; }
.fframe {
  position: relative; flex: none; display: block; height: min(58vh, 600px); aspect-ratio: var(--ar, 3 / 4);
  transform-origin: 50% 50%; will-change: transform; color: inherit; text-decoration: none;
}
.fframe:nth-child(5n + 2) { height: min(46vh, 480px); align-self: flex-start; margin-top: 2vh; }
.fframe:nth-child(5n + 4) { height: min(50vh, 520px); align-self: flex-end; margin-bottom: 1vh; }
.fframe__media { position: absolute; inset: 0; overflow: hidden; border-radius: 12px; background: var(--surface); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9); }
.fframe__media img {
  position: absolute; top: 0; left: -6%; width: 112%; height: 100%; max-width: none; object-fit: cover;
  transform: translate3d(var(--px, 0), 0, 0) scale(1.02);
}
.fframe__dim { position: absolute; inset: 0; background: #050506; opacity: var(--dim, 0); pointer-events: none; }
.fframe__no {
  position: absolute; left: 2px; top: calc(100% + 12px);
  font: 500 .75rem/1 var(--font-mono); letter-spacing: .14em; color: var(--text-3); transition: color .3s;
}
.fframe.is-center .fframe__no { color: var(--accent); }
.fframe.is-center .fframe__no::before { content: "● "; color: var(--rec); animation: blink 1.4s steps(1, end) infinite; }
.fframe__media::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .1); pointer-events: none;
}
.fframe:hover .fframe__media::after, .fframe:focus-visible .fframe__media::after { border-color: var(--accent); }
.fframe--end {
  height: min(46vh, 480px); aspect-ratio: 4 / 5; border-radius: 14px; border: 1px solid var(--line-2);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 32px;
  background: radial-gradient(120% 80% at 0% 0%, rgba(43, 209, 75, .16), transparent 60%), var(--surface);
  transition: border-color .3s, transform .3s;
}
.fframe--end strong { font-size: clamp(1.6rem, 2.4vw, 2.3rem); line-height: 1.05; letter-spacing: -.03em; }
.fframe--end span { font: 500 .8125rem var(--font-mono); letter-spacing: .1em; color: var(--accent); }
.fframe--end:hover { border-color: var(--accent); }
.fstrip__foot { display: grid; grid-template-columns: 1fr minmax(160px, 320px) auto; align-items: center; gap: 28px; }
.fstrip__cap { font-size: .9375rem; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 1.4em; }
.fstrip__bar { display: block; height: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.fstrip__bar i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.fstrip__hint { font: 500 .75rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); transition: opacity .5s; }
.fstrip__hint span { display: inline-block; animation: fhint 1.6s var(--ease-out) infinite; }
.fstrip__pin.is-moved .fstrip__hint { opacity: 0; }
@keyframes fhint { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

/* stos odbitek: górną przesuwa się palcem, spod niej wychodzi następna */
.fshow--deck { display: grid; justify-items: center; padding-top: 6px; }
.fdeck {
  position: relative; width: min(80vw, 400px); aspect-ratio: 4 / 5.6; margin-bottom: 22px;
  touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
.fcard {
  position: absolute; inset: 0; display: flex; flex-direction: column; padding: 9px 9px 0;
  background: #f1efe9; border-radius: 10px; color: #141416; text-decoration: none;
  box-shadow: 0 26px 60px -22px rgba(0, 0, 0, .85), 0 2px 6px rgba(0, 0, 0, .3);
  transition: transform .45s var(--ease-out), opacity .45s, filter .45s; will-change: transform;
}
.fcard__media { position: relative; flex: 1; overflow: hidden; border-radius: 4px; background: #d9d6ce; }
.fcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.fcard__label { display: flex; justify-content: space-between; align-items: center; height: 42px; padding: 0 4px; font: 500 .6875rem var(--font-mono); letter-spacing: .16em; color: #6b6a64; }
.fcard__label b { font-weight: 600; color: #141416; font-size: .8125rem; }
.fcard[data-slot="0"] { z-index: 4; }
.fcard[data-slot="1"] { z-index: 3; transform: translate3d(-3%, 2.6%, 0) rotate(-4.5deg) scale(.96); filter: brightness(.82); }
.fcard[data-slot="2"] { z-index: 2; transform: translate3d(4%, 4.6%, 0) rotate(5deg) scale(.92); filter: brightness(.66); }
.fcard[data-slot="3"] { z-index: 1; transform: translate3d(0, 6%, 0) rotate(0) scale(.88); opacity: 0; }
.fcard.is-out { z-index: 6; opacity: 0; transition: transform .45s cubic-bezier(.3, .7, .4, 1), opacity .4s .05s; }
.fcard.is-drag { transition: none; }
.fcard.no-anim { transition: none !important; }
.fcard.is-nudge { animation: fnudge 1.5s var(--ease-out); }
@keyframes fnudge { 0%, 100% { transform: none; } 25% { transform: translate3d(-9%, -1%, 0) rotate(-5deg); } 55% { transform: translate3d(5%, 0, 0) rotate(3deg); } }
.fdeck__ui { display: flex; align-items: center; gap: 18px; }
.fdeck__btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--text); cursor: pointer;
  -webkit-tap-highlight-color: transparent; transition: border-color .2s, background-color .2s;
}
.fdeck__btn svg { width: 20px; height: 20px; }
.fdeck__btn:active { background: var(--surface-2); border-color: var(--accent); }
.fdeck__count { min-width: 92px; text-align: center; font: 500 .8125rem/1 var(--font-mono); letter-spacing: .12em; color: var(--text-3); }
.fdeck__count b { font-size: 1.5rem; font-weight: 600; color: var(--text); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fdeck__cap { margin-top: 14px; max-width: 34ch; min-height: 2.9em; text-align: center; font-size: .875rem; line-height: 1.45; color: var(--text-2); }
.fdeck__hint { margin-top: 4px; font: 500 .6875rem var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); transition: opacity .5s; }
.fdeck__hint.is-gone { opacity: 0; }
/* błysk światła na zdjęciu w taśmie (środkowe) i na wierzchniej odbitce — ten sam co wcześniej w siatce */
.fframe__media::before, .fcard__media::before {
  content: ""; position: absolute; inset: -10% -60%; z-index: 2; pointer-events: none;
  background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, .22) 44%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, .22) 56%, transparent 66%);
  transform: translateX(-100%); opacity: 0;
}
.fframe__media.is-shine::before, .fcard__media.is-shine::before { animation: photoShine 1.1s cubic-bezier(.45, 0, .25, 1) forwards; }
/* taśma: kafelek „Pokaż więcej” (przycisk) i nowo dołożone zdjęcia wjeżdżają po kolei */
button.fframe--end { font: inherit; color: var(--text); text-align: left; cursor: pointer; }
.fframe--more strong::after { content: " +"; color: var(--accent); }
.fframe--more:hover { transform: translateY(-4px); }
.fframe--end .fframe__no { font-style: normal; color: var(--text-3); }
.fframe.is-new .fframe__media, .fframe.is-new .fframe__no { animation: fframeIn .8s var(--ease-out) var(--nd, 0ms) both; }
@keyframes fframeIn { from { opacity: 0; transform: translate3d(60px, 0, 0); } to { opacity: 1; transform: none; } }

/* ---------- Współprace: karuzela „ściana telefonów” (main.js buduje .cflow) ---------- */
#wspolprace.has-cflow .vgrid--vertical, #wspolprace.has-cflow .more { display: none; }
.cflow { margin-inline: calc(50% - 50vw); }
.cflow__vp {
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab;
}
.cflow__vp::-webkit-scrollbar { display: none; }
.cflow__vp.is-drag { scroll-snap-type: none; cursor: grabbing; }
.cflow__vp.is-drag a { pointer-events: none; }
.cflow__track {
  display: flex; gap: clamp(10px, 1.6vw, 22px); list-style: none;
  padding: 34px calc(50vw - var(--cw) / 2) 40px; width: max-content;
  --cw: clamp(200px, 19vw, 270px);
}
@media (max-width: 599px) { .cflow__track { --cw: 64vw; gap: 8px; padding-block: 22px 30px; } }
.cflow__item { flex: none; width: var(--cw); scroll-snap-align: center; position: relative; transform-origin: 50% 50%; will-change: transform; }
.cflow__item .vcard__body { display: none; }
.cflow__item .vcard__link { border-radius: 30px; }
/* ekran telefonu: ramka, wyspa u góry, zaokrąglenia */
.cflow__item .vcard__media {
  border-radius: 30px; border: 6px solid #17171a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -28px rgba(0, 0, 0, .95);
  transition: box-shadow .5s;
}
.cflow__notch { position: absolute; top: 9px; left: 50%; z-index: 3; width: 30%; height: 18px; margin-left: -15%; border-radius: 999px; background: #0b0b0c; }
.cflow__dim { position: absolute; inset: 0; z-index: 4; background: #050506; opacity: var(--dim, 0); pointer-events: none; }
.cflow__item .vcard__tag { top: 36px; }
.cflow__item .vcard__badge--fav { top: 36px; }
.cflow__item.is-center .vcard__media { box-shadow: 0 0 0 1px rgba(43, 209, 75, .55), 0 0 60px -10px rgba(43, 209, 75, .45), 0 40px 70px -30px rgba(0, 0, 0, .95); }
.cflow__item.is-center .vcard__play { animation: cflowPulse 2.2s var(--ease-out) infinite; }
@keyframes cflowPulse { 0% { box-shadow: 0 0 0 0 rgba(43, 209, 75, .55); } 70%, 100% { box-shadow: 0 0 0 18px rgba(43, 209, 75, 0); } }
.cflow__ui { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 36px); width: min(640px, 100% - 2 * var(--gutter)); margin: 4px auto 0; }
.cflow__btn {
  flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--text); cursor: pointer;
  -webkit-tap-highlight-color: transparent; transition: border-color .2s, background-color .2s, color .2s;
}
.cflow__btn svg { width: 20px; height: 20px; }
.cflow__btn:hover { border-color: var(--accent); color: var(--accent); }
.cflow__btn:active { background: var(--surface-2); }
.cflow__info { flex: 1; min-width: 0; text-align: center; }
.cflow__count { font: 500 .75rem/1 var(--font-mono); letter-spacing: .14em; color: var(--text-3); }
.cflow__count b { font-size: .9375rem; font-weight: 600; color: var(--accent); }
.cflow__title { margin-top: 10px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; min-height: 2.5em; display: grid; align-items: center; }
.cflow__meta { margin-top: 6px; font-size: .8125rem; color: var(--text-2); }
.cflow__meta b { display: inline-block; margin-right: 8px; padding: 4px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 600 .6875rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; vertical-align: 1px; }
.cflow__bar { display: block; width: min(320px, 60%); height: 2px; margin: 22px auto 0; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.cflow__bar i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
/* taśma i odbitki: zielona poświata za zdjęciem na środku / na wierzchu */
.fframe::before {
  content: ""; position: absolute; inset: -16% -22%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(43, 209, 75, .42), rgba(43, 209, 75, .12) 60%, transparent);
  opacity: var(--glow, 0);
}
.fframe.is-center .fframe__media { box-shadow: 0 0 0 1px rgba(43, 209, 75, .5), 0 0 70px -12px rgba(43, 209, 75, .55), 0 30px 70px -30px rgba(0, 0, 0, .9); }
.fframe__media { transition: box-shadow .5s; }
.fcard::before {
  content: ""; position: absolute; inset: -12% -26%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(43, 209, 75, .6), rgba(43, 209, 75, .18) 66%, transparent);
  opacity: 0; transition: opacity .5s;
}
.fcard[data-slot="0"]:not(.is-out)::before { opacity: 1; }
/* współprace: więcej miejsca nad i pod telefonami, żeby zielona poświata nie była ucięta przez krawędź paska
   (pasek przewija się w bok, więc w pionie przycina) — ujemny margines zachowuje dotychczasowe odstępy */
.cflow__vp { margin-block: -40px -30px; }
.cflow__track { padding-top: 74px; padding-bottom: 70px; }
@media (max-width: 599px) { .cflow__track { padding-top: 62px; padding-bottom: 60px; } .cflow__vp { margin-block: -40px -30px; } }

/* ---------- Fotografia na komputerze: karuzela (zamiast przypiętej taśmy) — strona przewija się normalnie ---------- */
.fshow--flow { margin-inline: calc(50% - 50vw); }
.pflow__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.pflow__head .filters { margin: 0; }
.pflow__vp {
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; cursor: grab; margin-block: -30px -40px;
}
.pflow__vp::-webkit-scrollbar { display: none; }
.pflow__vp.is-drag { scroll-snap-type: none; cursor: grabbing; }
.pflow__vp.is-drag a { pointer-events: none; }
.pflow__track { display: flex; align-items: center; gap: clamp(22px, 2.6vw, 44px); width: max-content; padding: 90px 50vw 96px; }
.pflow__track .fframe { height: min(54vh, 540px); scroll-snap-align: center; }
.pflow__track .fframe:nth-child(5n + 2), .pflow__track .fframe:nth-child(5n + 4) { height: min(54vh, 540px); align-self: center; margin: 0; }
.pflow__track .fframe--end { height: min(44vh, 440px); }
.pflow__ui { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 36px); width: min(720px, 100% - 2 * var(--gutter)); margin: 0 auto; }
.pflow__cap { flex: 1; min-width: 0; text-align: center; font-size: .9375rem; color: var(--text-2); line-height: 1.45; min-height: 2.9em; display: grid; align-items: center; }

/* ---------- Sprzęt: kafelki „bento” — FX3 duży, dron i lampy szerokie; w tle duża ikona, parametry jako plakietki,
   światło podąża za kursorem ---------- */
.gear__grid { grid-auto-flow: dense; gap: 14px; }
.gear__item {
  isolation: isolate; min-height: 210px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .035), transparent 46%), var(--surface);
}
.gear__item--hero { grid-column: span 2; grid-row: span 2; padding: clamp(26px, 2.6vw, 38px); }
.gear__item--wide { grid-column: span 2; }
.gear__art {
  position: absolute; right: -6%; bottom: -10%; z-index: -1; width: 46%; aspect-ratio: 1; color: #fff; opacity: .045;
  transform: rotate(-12deg); transition: transform .9s var(--ease-out), opacity .5s, color .5s; pointer-events: none;
}
.gear__art svg { width: 100%; height: 100%; stroke-width: 1.1; }
.gear__item--hero .gear__art { width: 62%; right: -8%; bottom: -14%; opacity: .07; }
.gear__item--wide .gear__art { width: 30%; bottom: -26%; }
.gear__item:hover .gear__art { transform: rotate(-4deg) scale(1.08); opacity: .1; color: var(--accent); }
.gear__item--hero .gear__name { font-size: clamp(2.2rem, 4.4vw, 4rem); letter-spacing: -.045em; line-height: 1; margin-top: auto; }
.gear__item--hero .gear__desc { font-size: 1rem; }
.gear__item--hero .gear__icon { width: 40px; height: 40px; }
.gear__specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.gear__specs span {
  padding: 6px 9px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(10, 10, 11, .4);
  font: 500 .6875rem/1 var(--font-mono); letter-spacing: .06em; color: var(--text-2); white-space: nowrap;
  transition: border-color .3s, color .3s;
}
.gear__item:hover .gear__specs span { border-color: rgba(43, 209, 75, .35); color: var(--text); }
.gear__item--hero .gear__specs { margin-top: 18px; }
.gear__item--hero .gear__specs span { font-size: .8125rem; padding: 8px 12px; border-color: rgba(43, 209, 75, .35); color: var(--text); }
/* FX3: zielona łuna i znacznik REC jak w wizjerze */
.gear__item--hero { background: radial-gradient(90% 70% at 100% 100%, rgba(43, 209, 75, .14), transparent 60%), linear-gradient(160deg, rgba(255, 255, 255, .05), transparent 46%), var(--surface); border-color: rgba(43, 209, 75, .22); }
.gear__item--hero .gear__cat::before { content: "● REC  "; color: var(--rec); animation: blink 1.4s steps(1, end) infinite; white-space: pre; }
/* światło pod kursorem (main.js ustawia --mx/--my) */
.gear__item::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(43, 209, 75, .13), transparent 45%);
}
.gear__grid:hover .gear__item::after { opacity: 1; }
@media (max-width: 1023px) {
  .gear__item--hero { grid-row: auto; }
  .gear__item--hero .gear__name { font-size: clamp(2.2rem, 7vw, 3.2rem); }
}
@media (max-width: 599px) {
  /* telefon: FX3 jako duża karta na górze, reszta jak dotąd w rzędach z ikoną; plakietki pod opisem */
  .gear__item { min-height: 0; }
  .gear__item--hero, .gear__item--wide { grid-column: auto; }
  .gear__item--hero { display: flex; padding: 24px; min-height: 300px; }
  .gear__item--hero .gear__icon { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--accent-soft); margin-bottom: 18px; }
  .gear__specs { grid-column: 2; margin-top: 6px; padding-top: 0; }
  .gear__item--hero .gear__specs { margin-top: 16px; }
  .gear__art { width: 34%; right: -4%; bottom: -14%; }
  .gear__item--hero .gear__art { width: 70%; }
}

/* ---------- Sprzęt: wejście sekcji — zdjęcie wyjeżdża z kadru, kafelki wyskakują po kolei i błyskają ---------- */
.tile-shine { position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; opacity: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .16) 46%, rgba(43, 209, 75, .22) 50%, rgba(255, 255, 255, .16) 54%, transparent 70%);
  background-size: 260% 100%; background-repeat: no-repeat; }
.js .gear__item[data-reveal], .js .svc[data-reveal] { opacity: 1; transform: none; transition: border-color .35s, transform .5s var(--ease-out), background-color .35s; transition-delay: 0s; }
.js .gear__item[data-reveal]:not(.is-in), .js .svc[data-reveal]:not(.is-in) { opacity: 0; }
  .js .gear__hero[data-reveal] { transform: none; transition: opacity .5s var(--ease-out); }
  .js .gear__hero.is-in { animation: gearHero 1.5s cubic-bezier(.2, .9, .2, 1) both; }
  .js .gear__hero img { transform: scale(1.3); filter: blur(10px) brightness(.45) saturate(.6); transition: transform 1.9s cubic-bezier(.16, 1, .3, 1), filter 1.3s ease; }
  .js .gear__hero.is-in img { transform: none; filter: none; }
  .js .gear__hero::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: #fff; opacity: 0; }
  .js .gear__hero.is-in::after { animation: gearFlash .7s ease-out 1.05s both; }
  .js .gear__hero .vf__c { opacity: 0; transition: transform .8s cubic-bezier(.3, 1.5, .5, 1) .75s, opacity .4s .75s; }
  .js .gear__hero .vf__c--tl { transform: translate(60px, 40px); }
  .js .gear__hero .vf__c--tr { transform: translate(-60px, 40px); }
  .js .gear__hero .vf__c--bl { transform: translate(60px, -40px); }
  .js .gear__hero .vf__c--br { transform: translate(-60px, -40px); }
  .js .gear__hero.is-in .vf__c { opacity: 1; transform: none; }
  .js .gear__hero .vf__row { opacity: 0; transition: opacity .6s 1.25s; }
  .js .gear__hero.is-in .vf__row { opacity: 1; }

  .js .gear__item.is-in, .js .svc.is-in { animation: gearPop .95s cubic-bezier(.3, 1.45, .5, 1) var(--gd, 0s) backwards, gearGlow 1.6s ease-out var(--gd, 0s) backwards; }
  .js .gear__item.is-in .tile-shine, .js .svc.is-in .tile-shine { animation: gearShine 1.1s cubic-bezier(.4, 0, .2, 1) calc(var(--gd, 0s) + .4s) both; }
  .js .gear__item.is-in .gear__icon, .js .svc.is-in .svc__icon { animation: gearIcon .8s cubic-bezier(.3, 1.8, .5, 1) calc(var(--gd, 0s) + .25s) backwards; }
  .js .gear__item.is-in .gear__specs span { animation: gearChip .5s cubic-bezier(.3, 1.6, .5, 1) backwards; }
  .js .gear__item.is-in .gear__specs span:nth-child(1) { animation-delay: calc(var(--gd, 0s) + .45s); }
  .js .gear__item.is-in .gear__specs span:nth-child(2) { animation-delay: calc(var(--gd, 0s) + .53s); }
  .js .gear__item.is-in .gear__specs span:nth-child(3) { animation-delay: calc(var(--gd, 0s) + .61s); }
  .js .gear__item.is-in .gear__specs span:nth-child(4) { animation-delay: calc(var(--gd, 0s) + .69s); }

@keyframes gearHero {
  0% { clip-path: inset(14% 22% round 40px); transform: scale(.92); opacity: 0; }
  25% { opacity: 1; }
  70% { transform: scale(1.015); }
  100% { clip-path: inset(0 round var(--radius-l)); transform: none; opacity: 1; }
}
@keyframes gearFlash { 0% { opacity: 0; } 12% { opacity: .55; } 100% { opacity: 0; } }
@keyframes gearPop {
  0% { opacity: 0; transform: perspective(900px) translateY(60px) scale(.82) rotateX(18deg); }
  55% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes gearGlow {
  0%, 30% { border-color: var(--line); box-shadow: none; }
  50% { border-color: rgba(43, 209, 75, .7); box-shadow: 0 0 0 1px rgba(43, 209, 75, .35), 0 18px 60px -12px rgba(43, 209, 75, .45); }
  100% { box-shadow: 0 0 0 0 rgba(43, 209, 75, 0); }
}
@keyframes gearShine { 0% { opacity: 1; background-position: 130% 0; } 85% { opacity: 1; } 100% { opacity: 0; background-position: -30% 0; } }
@keyframes gearIcon { 0% { transform: scale(0) rotate(-35deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes gearChip { 0% { transform: translateY(10px) scale(.6); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* ---------- O mnie: zdjęcie wjeżdża z kadru, potem stale delikatnie „oddycha” (wolny zoom i ruch kamery) ---------- */
  .js .about__media[data-reveal] { transform: none; transition: opacity .5s var(--ease-out); }
  .js .about__media.is-in { animation: gearHero 1.5s cubic-bezier(.2, .9, .2, 1) both; }
  .js .about__media img { scale: 1.35; filter: blur(10px) brightness(.45) saturate(.6); transition: scale 2s cubic-bezier(.16, 1, .3, 1), filter 1.3s ease;
    animation: aboutDrift 16s ease-in-out infinite alternate; }
  .js .about__media.is-in img { scale: 1; filter: none; }
  .js .about__media::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: #fff; opacity: 0; }
  .js .about__media.is-in::after { animation: gearFlash .7s ease-out 1.05s both; }
  .js .about__media .vf__c { opacity: 0; transition: transform .8s cubic-bezier(.3, 1.5, .5, 1) .75s, opacity .4s .75s; }
  .js .about__media .vf__c--tl { transform: translate(40px, 50px); }
  .js .about__media .vf__c--tr { transform: translate(-40px, 50px); }
  .js .about__media .vf__c--bl { transform: translate(40px, -50px); }
  .js .about__media .vf__c--br { transform: translate(-40px, -50px); }
  .js .about__media.is-in .vf__c { opacity: 1; transform: none; }
  .js .about__media .vf__row { opacity: 0; transition: opacity .6s 1.25s; }
  .js .about__media.is-in .vf__row { opacity: 1; }

@keyframes aboutDrift {
  0% { transform: scale(1.06) translate(0, 0); }
  50% { transform: scale(1.12) translate(-1.6%, 1.2%); }
  100% { transform: scale(1.09) translate(1.4%, -1.4%); }
}

/* ---------- Kontakt („Zróbmy coś razem”): to samo wejście i ruch co zdjęcie w O mnie ---------- */
  .js .contact__media[data-reveal] { transform: none; transition: opacity .5s var(--ease-out); }
  .js .contact__media.is-in { animation: gearHero 1.5s cubic-bezier(.2, .9, .2, 1) both; }
  .js .contact__media img { scale: 1.35; filter: blur(10px) brightness(.45) saturate(.6); transition: scale 2s cubic-bezier(.16, 1, .3, 1), filter 1.3s ease;
    animation: aboutDrift 16s ease-in-out infinite alternate; }
  .js .contact__media.is-in img { scale: 1; filter: none; }
  .js .contact__media::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: #fff; opacity: 0; }
  .js .contact__media.is-in::after { animation: gearFlash .7s ease-out 1.05s both; }
  .js .contact__media .vf__c { opacity: 0; transition: transform .8s cubic-bezier(.3, 1.5, .5, 1) .75s, opacity .4s .75s; }
  .js .contact__media .vf__c--tl { transform: translate(40px, 50px); }
  .js .contact__media .vf__c--tr { transform: translate(-40px, 50px); }
  .js .contact__media .vf__c--bl { transform: translate(40px, -50px); }
  .js .contact__media .vf__c--br { transform: translate(-40px, -50px); }
  .js .contact__media.is-in .vf__c { opacity: 1; transform: none; }
  .js .contact__media .vf__row { opacity: 0; transition: opacity .6s 1.25s; }
  .js .contact__media.is-in .vf__row { opacity: 1; }


/* ---------- nagłówki: słowa wjeżdżają po kolei z rozmyciem, zielone słowo „wyskakuje” i błyska ---------- */
.hw { display: inline-block; }
.js .sec-title:not(.t-in) .hw, .js .contact__title:not(.t-in) .hw, html.js .hero__title:not(.h-in) .hw { opacity: 0; }
.js .sec-title.t-in .hw, .js .contact__title.t-in .hw, html.js .hero__title.h-in .hw {
  animation: heroWord .95s cubic-bezier(.2, .85, .25, 1) calc(var(--hd, .05s) + var(--wi) * .11s) backwards; }
.js .sec-title.t-in .hl .hw, .js .contact__title.t-in .hl .hw, html.js .hero__title.h-in .hl .hw {
  animation: heroWordPop 1.1s cubic-bezier(.3, 1.55, .5, 1) calc(var(--hd, .05s) + var(--wi) * .11s + .05s) backwards,
             heroGlow 1.8s ease-out calc(var(--hd, .05s) + var(--wi) * .11s + .25s) backwards; }
@keyframes heroWord { 0% { opacity: 0; transform: translateY(.55em) rotate(4deg); filter: blur(12px); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes heroWordPop { 0% { opacity: 0; transform: translateY(.3em) scale(1.45); filter: blur(14px); } 50% { opacity: 1; } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes heroGlow { 0% { text-shadow: 0 0 0 rgba(43, 209, 75, 0); } 30% { text-shadow: 0 0 34px rgba(43, 209, 75, .95), 0 0 80px rgba(43, 209, 75, .5); } 100% { text-shadow: 0 0 0 rgba(43, 209, 75, 0); } }

/* ---------- Start (hero): sekwencja wejścia — kolejność i opóźnienia (--hd) ustawia main.js ---------- */
html.js .hero .hero__copy > [data-reveal], html.js .hero .monitor[data-reveal] { opacity: 0; transform: none; transition: none; }
html.js .hero .hero__copy > .h-in, html.js .hero .monitor.h-in { opacity: 1; }
html.js .hero .eyebrow.h-in, html.js .hero .hero__lead.h-in { animation: heroRise 1s cubic-bezier(.2, .8, .2, 1) var(--hd) backwards; }
html.js .hero .hero__brands.h-in, html.js .hero .hero__creators.h-in { animation: heroBar 1.1s cubic-bezier(.2, .8, .2, 1) var(--hd) backwards; }
html.js .hero .hero__actions.h-in .btn { animation: heroPop .8s cubic-bezier(.3, 1.6, .5, 1) var(--hd) backwards; }
html.js .hero .hero__actions.h-in .btn + .btn { animation-delay: calc(var(--hd) + .12s); }
html.js .hero .hero__stats.h-in li { animation: gearPop .9s cubic-bezier(.3, 1.45, .5, 1) var(--hd) backwards, gearGlow 1.6s ease-out var(--hd) backwards; }
html.js .hero .hero__stats.h-in li:nth-child(2) { animation-delay: calc(var(--hd) + .1s); }
html.js .hero .hero__stats.h-in li:nth-child(3) { animation-delay: calc(var(--hd) + .2s); }
html.js .hero .hero__stats.h-in li:nth-child(4) { animation-delay: calc(var(--hd) + .3s); }
html.js .hero .monitor.h-in { animation: gearHero 1.5s cubic-bezier(.2, .9, .2, 1) var(--hd) both; }
html.js .hero .monitor .monitor__cols { scale: 1.3; filter: blur(10px) brightness(.4); }
html.js .hero .monitor.h-in .monitor__cols { scale: 1; filter: none; transition: scale 2s cubic-bezier(.16, 1, .3, 1) var(--hd), filter 1.3s ease var(--hd); }
html.js .hero .monitor::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: #fff; opacity: 0; }
html.js .hero .monitor.h-in::after { animation: gearFlash .7s ease-out calc(var(--hd) + 1.05s) both; }
html.js .hero .monitor .vf__c { opacity: 0; }
html.js .hero .monitor .vf__c--tl { transform: translate(50px, 50px); }
html.js .hero .monitor .vf__c--tr { transform: translate(-50px, 50px); }
html.js .hero .monitor .vf__c--bl { transform: translate(50px, -50px); }
html.js .hero .monitor .vf__c--br { transform: translate(-50px, -50px); }
html.js .hero .monitor.h-in .vf__c { opacity: 1; transform: none; transition: transform .8s cubic-bezier(.3, 1.5, .5, 1) calc(var(--hd) + .75s), opacity .4s calc(var(--hd) + .75s); }
html.js .hero .monitor .vf__row { opacity: 0; }
html.js .hero .monitor.h-in .vf__row { opacity: 1; transition: opacity .6s calc(var(--hd) + 1.25s); }
@keyframes heroRise { 0% { opacity: 0; transform: translateY(26px); filter: blur(8px); } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes heroBar { 0% { opacity: 0; transform: translateX(70px); clip-path: inset(0 0 0 100%); } 100% { opacity: 1; transform: none; clip-path: inset(0); } }
@keyframes heroPop { 0% { opacity: 0; transform: translateY(18px) scale(.7); } 100% { opacity: 1; transform: none; } }

/* ---------- Zaufali mi: mini-gra „odsłoń wszystkich twórców” ---------- */
.cgame { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px 18px; margin-top: clamp(30px, 4vw, 48px);
  padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(160deg, rgba(43, 209, 75, .07), transparent 60%), var(--surface); transition: border-color .4s, box-shadow .4s; }
.cgame__hint { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--text-2); margin: 0; }
.cgame__hint svg { width: 22px; height: 22px; flex: none; color: var(--accent); }
.cgame__count { font: 500 .875rem/1 var(--font-mono); color: var(--text-3); letter-spacing: .04em; white-space: nowrap; }
.cgame__count b { color: var(--accent); font-size: 1.25rem; font-weight: 600; display: inline-block; }
.cgame.is-tick .cgame__count b { animation: cgTick .45s cubic-bezier(.3, 1.8, .5, 1); }
.cgame__bar { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.cgame__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #1a9e36, var(--accent), #b6ffc4); box-shadow: 0 0 14px rgba(43, 209, 75, .7); transition: width .5s cubic-bezier(.3, 1.3, .5, 1); }
.cgame__again { grid-column: 1 / -1; justify-self: start; font: 600 .875rem/1 var(--font-sans, inherit); color: #0a0a0b; background: var(--accent); border: 0; border-radius: 999px; padding: 10px 16px; cursor: pointer; }
.cgame__again[hidden] { display: none; }
.cgame.is-done { border-color: rgba(43, 209, 75, .6); box-shadow: 0 0 0 1px rgba(43, 209, 75, .3), 0 20px 60px -20px rgba(43, 209, 75, .6); }
.cgame.is-done .cgame__hint { color: var(--text); font-weight: 600; }
.cgame + .clients__list { margin-top: 18px; }
@keyframes cgTick { 0% { transform: scale(1.7); } 100% { transform: none; } }

.clients__list.is-game { position: relative; }
.clients__list.is-game li { position: relative; }
.clients__list.is-game li .clients__avatar, .clients__list.is-game li a span { transition: filter .6s ease, opacity .6s ease, transform .6s cubic-bezier(.3, 1.6, .5, 1); }
.clients__list.is-game li:not(.is-shown) .clients__avatar { filter: blur(6px) grayscale(1); opacity: .55; transform: scale(.85); }
.clients__list.is-game li:not(.is-shown) a span { filter: blur(7px); opacity: .5; }
.clients__list.is-game li:not(.is-shown) a { cursor: crosshair; }
.clients__list.is-game li::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; border-radius: 12px;
  background: radial-gradient(120% 140% at 15% 50%, rgba(255, 255, 255, .5), rgba(43, 209, 75, .35) 30%, transparent 65%); }
.clients__list.is-game li.is-flash::after { animation: cgFlash .9s ease-out; }
.clients__list.is-game li.is-flash .clients__avatar { animation: cgPop .7s cubic-bezier(.3, 1.8, .5, 1); box-shadow: 0 0 0 2px var(--accent), 0 0 24px rgba(43, 209, 75, .8); }
.cgame__plus { position: absolute; left: 30px; top: 6px; font: 700 .9rem/1 var(--font-mono); color: var(--accent); text-shadow: 0 0 12px rgba(43, 209, 75, .8); pointer-events: none; animation: cgPlus 1s ease-out forwards; }
.clients__list.is-done li { animation: cgWave 1.2s ease-out calc(var(--ci) * 35ms) backwards; }
.cgame__confetti { position: absolute; width: 8px; height: 12px; border-radius: 2px; background: var(--c); pointer-events: none; z-index: 5;
  animation: cgConfetti 2.2s cubic-bezier(.15, .7, .3, 1) forwards; }
@keyframes cgFlash { 0% { opacity: 0; } 15% { opacity: 1; } 100% { opacity: 0; } }
@keyframes cgPop { 0% { transform: scale(.6); } 100% { transform: none; } }
@keyframes cgPlus { 0% { opacity: 0; transform: translateY(6px) scale(.6); } 20% { opacity: 1; transform: translateY(-4px) scale(1.15); } 100% { opacity: 0; transform: translateY(-30px); } }
@keyframes cgWave { 0% { background: transparent; } 30% { background: rgba(43, 209, 75, .14); } 100% { background: transparent; } }
@keyframes cgConfetti { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 40% { opacity: 1; transform: translate(calc(var(--x) * .6), var(--y)) rotate(calc(var(--r) * .4)); } 100% { opacity: 0; transform: translate(var(--x), calc(var(--y) * -.5)) rotate(var(--r)); } }
@media (max-width: 640px) { .cgame { padding: 12px 14px; } .cgame__hint { font-size: .875rem; } }

/* Zaufali mi: zielone światło pod kursorem (jak w Sprzęcie) */
.clients__list.is-game li { isolation: isolate; }
.clients__list.is-game li::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(43, 209, 75, .22), transparent 45%); }
@media (hover: hover) and (pointer: fine) { .clients__list.is-game:hover li::before { opacity: 1; } }

/* Fotografia (telefon): podpowiedź przesuwania na stosie — strzałki i ręka, znika po pierwszym własnym ruchu */
.fdeck__swipe { position: absolute; left: 50%; bottom: 18%; z-index: 20; display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  border-radius: 999px; background: rgba(10, 10, 11, .62); border: 1px solid rgba(255, 255, 255, .18); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  transform: translateX(-50%); pointer-events: none; transition: opacity .5s, transform .5s; animation: fdSwipeIn .6s cubic-bezier(.3, 1.5, .5, 1) .6s backwards; }
.fdeck__swipe > svg { width: 22px; height: 22px; color: var(--accent); }
.fdeck__swipe > svg:first-child { animation: fdChevL 1.6s ease-in-out infinite; }
.fdeck__swipe > svg:last-child { animation: fdChevR 1.6s ease-in-out infinite; }
.fdeck__hand { display: block; width: 30px; height: 30px; animation: fdHand 1.6s ease-in-out infinite; }
.fdeck__hand svg { width: 100%; height: 100%; }
.fdeck__swipe.is-gone { opacity: 0; transform: translateX(-50%) scale(.8); }
@keyframes fdSwipeIn { 0% { opacity: 0; transform: translateX(-50%) scale(.6); } 100% { opacity: 1; transform: translateX(-50%); } }
@keyframes fdHand { 0%, 100% { transform: translateX(-12px) rotate(-12deg); } 50% { transform: translateX(12px) rotate(10deg); } }
@keyframes fdChevL { 0%, 100% { opacity: 1; transform: translateX(-3px); } 50% { opacity: .35; transform: none; } }
@keyframes fdChevR { 0%, 100% { opacity: .35; transform: none; } 50% { opacity: 1; transform: translateX(3px); } }

/* Fotografia (telefon): serduszko po własnym przesunięciu odbitki */
.fdeck__heart { position: absolute; left: 50%; top: 45%; z-index: 30; width: 110px; height: 110px; margin: -55px 0 0 -55px; pointer-events: none;
  animation: fdHeart .95s cubic-bezier(.3, 1.4, .5, 1) forwards; }
.fdeck__heart svg { width: 100%; height: 100%; fill: #ff3040; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .45)) drop-shadow(0 0 24px rgba(255, 48, 64, .6)); }
@keyframes fdHeart {
  0% { opacity: 0; transform: scale(0) rotate(-14deg); }
  18% { opacity: 1; transform: scale(1.25) rotate(4deg); }
  32% { transform: scale(.92) rotate(0); }
  46% { transform: scale(1.05); }
  72% { opacity: 1; transform: scale(1) translateY(0); }
  100% { opacity: 0; transform: scale(.9) translateY(-40px); }
}

/* Współprace (telefon): ta sama podpowiedź przesuwania co na stosie zdjęć, na środkowym telefonie */
.cflow { position: relative; }
.cflow__swipe { bottom: auto; top: 60%; z-index: 60; }

/* Fotografia (telefon): karta „Więcej na Instagramie” po ostatnim zdjęciu na stosie */
.fcard__ig { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 26px;
  background: radial-gradient(120% 80% at 100% 100%, rgba(43, 209, 75, .28), transparent 60%), linear-gradient(160deg, #1c1d20, #0d0d0f); color: #fff; }
.fcard__ig svg { width: 46px; height: 46px; color: var(--accent); }
.fcard__ig strong { font-size: clamp(1.7rem, 8vw, 2.3rem); line-height: 1.05; letter-spacing: -.03em; }
.fcard__ig span { font: 500 .8125rem var(--font-mono); letter-spacing: .1em; color: var(--accent); }

/* iPhone: bez przybliżania strony podwójnym dotknięciem w karuzelach (szczypanie dalej działa) */
.fshow, .cflow, .fdeck__btn, .cflow__btn, .pflow__vp, .cflow__vp { touch-action: manipulation; }
.fshow .fdeck { touch-action: pan-y; }
