/* ==============================================================
   FILM FACTOR PRO – czytelny arkusz, bez minifikacji.
   Wszystkie klasy motywu mają prefiks ff-
   Paleta: akcent #2f8ccc + czerń / grafit / szarości / biel.
   ============================================================== */

:root {
	--ff-accent: #2f8ccc;
	--ff-accent-hi: #52a5e0;
	--ff-accent-lo: #1d6aa5;          /* akcent do małego tekstu na jasnym tle (kontrast AA) */
	--ff-on-accent: #04121d;          /* tekst na akcencie */

	--ff-black: #07090c;
	--ff-ink: #0d1014;
	--ff-graphite: #12161b;
	--ff-steel: #1b2128;
	--ff-line-dark: #252b33;
	--ff-grey-500: #8b95a1;
	--ff-grey-300: #c3cad2;
	--ff-text: #20252c;
	--ff-muted: #5d6671;
	--ff-paper: #f2f3f5;
	--ff-line: #e2e5e9;
	--ff-white: #fff;

	--ff-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	--ff-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--ff-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

	--ff-radius: 4px;
	--ff-header-h: 76px;
	--ff-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Baza ---------- */

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--ff-header-h) + 12px);
}

body.ff-body {
	margin: 0;
	font-family: var(--ff-sans);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ff-text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

:where(.ff-body) a { color: inherit; text-decoration: none; }
:where(.ff-body) address { margin: 0; font-style: normal; }
:where(.ff-body) img { max-width: 100%; }
:where(.ff-body) h1, :where(.ff-body) h2, :where(.ff-body) h3, :where(.ff-body) h4 {
	font-family: var(--ff-display);
	font-weight: 800;
	text-transform: uppercase;
	line-height: .98;
	letter-spacing: .005em;
	margin: 0;
}
/* Bootstrap podkreśla linki na :hover – wyłączamy, kolor ustalają komponenty */
.ff-body a:hover { text-decoration: none; }
.ff-work:hover { color: #fff; }
.ff-service-link:hover { color: var(--ff-accent); }
.ff-card-more:hover { color: var(--ff-accent); }
.ff-office .ff-office-map:hover { color: var(--ff-accent-hi); }
.ff-article-bottom a:hover { color: var(--ff-accent); }
.ff-brand:hover, .ff-footer-logo:hover { opacity: .85; }

.ff-accent { color: var(--ff-accent); }

:focus-visible { outline: 3px solid var(--ff-accent); outline-offset: 3px; }

.ff-skip {
	position: fixed; top: -80px; left: 16px; z-index: 9999;
	padding: 12px 20px; background: #fff; color: #000; font-weight: 700;
}
.ff-skip:focus { top: 12px; }

/* ziarno filmowe */
.ff-grain, .ff-subhero-grain {
	position: absolute; inset: 0; pointer-events: none; z-index: 1;
	opacity: .09; mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Eyebrow / przyciski ---------- */

.ff-eyebrow {
	display: inline-flex; align-items: center; gap: 14px;
	margin-bottom: 22px;
	font-family: var(--ff-mono); font-size: 12px; font-weight: 500;
	letter-spacing: .2em; text-transform: uppercase;
	color: var(--ff-accent-lo);
}
.ff-eyebrow::before { content: ''; width: 34px; height: 2px; background: currentColor; }
.ff-eyebrow-light { color: var(--ff-accent); }

.ff-rec {
	display: inline-block; width: 9px; height: 9px; border-radius: 50%;
	background: var(--ff-accent); box-shadow: 0 0 0 0 rgba(47, 140, 204, .6);
	animation: ff-rec 1.8s ease-out infinite;
}
@keyframes ff-rec {
	0% { box-shadow: 0 0 0 0 rgba(47, 140, 204, .6); }
	100% { box-shadow: 0 0 0 12px rgba(47, 140, 204, 0); }
}
.ff-eyebrow .ff-rec ~ * { margin: 0; }

.ff-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 14px;
	min-height: 54px; padding: 12px 28px;
	border: 1px solid transparent; border-radius: var(--ff-radius);
	font-family: var(--ff-display); font-size: 18px; font-weight: 700;
	letter-spacing: .08em; text-transform: uppercase; line-height: 1;
	cursor: pointer; transition: transform .2s var(--ff-ease), background .2s, border-color .2s, color .2s;
}
.ff-button i { font-size: 1.15em; }
.ff-button:hover { transform: translateY(-2px); }
.ff-button-primary { background: var(--ff-accent); color: var(--ff-on-accent); }
.ff-button-primary:hover { background: var(--ff-accent-hi); color: var(--ff-on-accent); }
.ff-button-ghost { border-color: #3a424d; color: #fff; background: transparent; }
.ff-button-ghost:hover { border-color: var(--ff-accent); color: #fff; background: rgba(47, 140, 204, .1); }

.ff-text-link {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--ff-display); font-size: 19px; font-weight: 700;
	letter-spacing: .08em; text-transform: uppercase; color: var(--ff-accent-lo);
	border-bottom: 2px solid currentColor; padding-bottom: 3px;
}
.ff-text-link:hover { color: var(--ff-accent); }

/* ---------- Pasek górny + nagłówek ---------- */

.ff-topbar {
	background: var(--ff-black); color: var(--ff-grey-500);
	font-family: var(--ff-mono); font-size: 12px; letter-spacing: .04em;
	border-bottom: 1px solid #14181d;
}
.ff-topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; }
.ff-topbar a { color: var(--ff-grey-300); margin-left: 24px; }
.ff-topbar a:hover { color: var(--ff-accent); }
.ff-topbar i { color: var(--ff-accent); margin-right: 6px; }

.ff-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(7, 9, 12, .95);
	-webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	transition: background .25s;
}
.ff-header.is-scrolled { background: rgba(7, 9, 12, .98); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }

.ff-header-inner {
	display: flex; align-items: center; justify-content: space-between; gap: 32px;
	min-height: var(--ff-header-h);
}
.ff-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.ff-brand img { display: block; height: 46px; width: auto; }

.ff-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); }
.ff-nav > a, .ff-nav-dropdown > a {
	position: relative; padding: 8px 0;
	font-family: var(--ff-display); font-size: 18px; font-weight: 600;
	letter-spacing: .1em; text-transform: uppercase; color: var(--ff-grey-300);
	transition: color .2s;
}
.ff-nav > a::after, .ff-nav-dropdown > a::after {
	content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
	background: var(--ff-accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ff-ease);
}
.ff-nav > a:hover, .ff-nav-dropdown > a:hover { color: #fff; }
.ff-nav > a:hover::after, .ff-nav-dropdown > a:hover::after { transform: scaleX(1); }

.ff-nav > .ff-nav-cta {
	padding: 11px 20px; border: 1px solid var(--ff-accent); border-radius: var(--ff-radius);
	background: var(--ff-accent); color: var(--ff-on-accent); display: inline-flex; gap: 10px; align-items: center;
}
.ff-nav > .ff-nav-cta::after { display: none; }
.ff-nav > .ff-nav-cta:hover { background: var(--ff-accent-hi); color: var(--ff-on-accent); }

.ff-nav-dropdown { position: relative; display: flex; align-items: center; gap: 4px; }
.ff-submenu-toggle { border: 0; background: transparent; color: var(--ff-grey-300); padding: 4px; font-size: 12px; cursor: pointer; }
.ff-submenu {
	position: absolute; top: 100%; left: -18px; min-width: 230px; margin: 0; padding: 10px 0; list-style: none;
	background: var(--ff-graphite); border: 1px solid var(--ff-line-dark); border-top: 2px solid var(--ff-accent);
	box-shadow: 0 24px 50px rgba(0, 0, 0, .5);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s var(--ff-ease);
}
.ff-nav-dropdown:hover .ff-submenu, .ff-nav-dropdown:focus-within .ff-submenu, .ff-nav-dropdown.ff-submenu-open .ff-submenu {
	opacity: 1; visibility: visible; transform: none;
}
.ff-submenu a { display: block; padding: 10px 22px; font-size: 14px; color: var(--ff-grey-300); }
.ff-submenu a:hover { background: var(--ff-steel); color: #fff; }

.ff-menu-toggle {
	display: none; width: 48px; height: 48px; border: 1px solid #333b45; border-radius: var(--ff-radius);
	background: transparent; color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
}

/* ---------- HERO ---------- */

.ff-hero {
	position: relative; overflow: hidden; color: #fff; background: var(--ff-black);
	padding: clamp(64px, 8vw, 112px) 0 0;
}
.ff-hero-bg {
	position: absolute; inset: 0; z-index: 0;
	background:
		radial-gradient(55% 65% at 88% 8%, rgba(47, 140, 204, .30), transparent 62%),
		radial-gradient(40% 50% at 0% 100%, rgba(47, 140, 204, .12), transparent 60%),
		linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 100% 88px,
		linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 88px 100%,
		var(--ff-black);
}
.ff-hero-wrap { position: relative; z-index: 2; }

.ff-hero h1 {
	margin: 0 0 26px; font-size: clamp(58px, 8.6vw, 132px); font-weight: 800; line-height: .9; letter-spacing: -.005em;
}
.ff-hero-lead { max-width: 540px; margin: 0; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.75; color: var(--ff-grey-300); }
.ff-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.ff-hero-proof {
	display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 44px 0 0; padding: 0; list-style: none;
	font-family: var(--ff-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ff-grey-500);
}
.ff-hero-proof i { margin-right: 8px; color: var(--ff-accent); }

/* monitor programowy */
.ff-monitor {
	position: relative; padding: 10px; background: #0b0e12; border: 1px solid #2a313a; border-radius: 8px;
	box-shadow: 0 40px 100px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .03), 0 0 120px rgba(47, 140, 204, .16);
	transform: perspective(1600px) rotateY(-6deg) rotateX(1.5deg);
	transition: transform .6s var(--ff-ease);
}
.ff-monitor:hover { transform: perspective(1600px) rotateY(0) rotateX(0); }
.ff-monitor-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-radius: 3px; }
.ff-monitor-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ff-guides {
	position: absolute; inset: 0; opacity: .35;
	background:
		linear-gradient(90deg, transparent calc(33.33% - .5px), rgba(255, 255, 255, .5) calc(33.33% - .5px), rgba(255, 255, 255, .5) calc(33.33% + .5px), transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(255, 255, 255, .5) calc(66.66% - .5px), rgba(255, 255, 255, .5) calc(66.66% + .5px), transparent calc(66.66% + .5px)),
		linear-gradient(0deg, transparent calc(33.33% - .5px), rgba(255, 255, 255, .5) calc(33.33% - .5px), rgba(255, 255, 255, .5) calc(33.33% + .5px), transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(255, 255, 255, .5) calc(66.66% - .5px), rgba(255, 255, 255, .5) calc(66.66% + .5px), transparent calc(66.66% + .5px));
}
.ff-corner { position: absolute; width: 22px; height: 22px; border: 2px solid rgba(255, 255, 255, .85); }
.ff-corner-tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.ff-corner-tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.ff-corner-bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.ff-corner-br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.ff-hud {
	position: absolute; display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--ff-mono); font-size: 11px; letter-spacing: .12em; color: #fff;
	text-shadow: 0 1px 6px rgba(0, 0, 0, .8);
}
.ff-hud-tl { top: 22px; left: 46px; }
.ff-hud-tr { top: 22px; right: 46px; }
.ff-hud-bl { bottom: 22px; left: 46px; font-size: 13px; }
.ff-hud-br { bottom: 22px; right: 46px; }
.ff-monitor-bar { height: 4px; margin: 10px 4px 2px; background: #1c222a; border-radius: 2px; overflow: hidden; }
.ff-monitor-progress { display: block; height: 100%; width: 0; background: var(--ff-accent); animation: ff-progress 14s linear infinite; }
@keyframes ff-progress { from { width: 0; } to { width: 100%; } }

/* timeline montażowy */
.ff-nle {
	position: relative; z-index: 2; margin-top: clamp(48px, 6vw, 80px);
	padding: 14px 0 0; border-top: 1px solid var(--ff-line-dark);
	background: linear-gradient(180deg, rgba(18, 22, 27, .85), rgba(7, 9, 12, 1));
}
.ff-nle-ruler {
	display: flex; justify-content: space-between; padding: 0 0 8px 44px;
	font-family: var(--ff-mono); font-size: 10px; letter-spacing: .1em; color: #5f6975;
}
.ff-nle-tracks { position: relative; display: grid; gap: 5px; padding-bottom: 18px; }
.ff-nle-track { display: flex; align-items: center; height: 30px; background: rgba(255, 255, 255, .025); border-radius: 2px; overflow: hidden; }
.ff-nle-track b {
	flex: 0 0 38px; margin-right: 6px; text-align: center;
	font-family: var(--ff-mono); font-size: 10px; font-weight: 500; color: #6b7581;
}
.ff-nle-track i {
	display: block; flex: 0 0 auto; height: 22px; width: var(--w, 20%); margin-left: var(--o, .6%);
	background: #222931; border: 1px solid #323a44; border-radius: 3px;
}
.ff-nle-track i.is-light { background: #37404a; border-color: #4a545f; }
.ff-nle-track i.is-accent { background: rgba(47, 140, 204, .55); border-color: var(--ff-accent); }
.ff-nle-track i.wave {
	background:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .34) 0 2px, transparent 2px 5px) center / 100% 40% no-repeat,
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .2) 0 2px, transparent 2px 7px) center / 100% 80% no-repeat,
		#1a2027;
}
.ff-nle-track i.wave.is-accent {
	background:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .6) 0 2px, transparent 2px 5px) center / 100% 45% no-repeat,
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .3) 0 2px, transparent 2px 7px) center / 100% 85% no-repeat,
		rgba(47, 140, 204, .5);
}
.ff-playhead {
	position: absolute; top: -6px; bottom: 10px; left: 44px; width: 2px; background: #fff;
	box-shadow: 0 0 14px rgba(47, 140, 204, .9); animation: ff-play 14s linear infinite;
}
.ff-playhead::before {
	content: ''; position: absolute; top: 0; left: -6px; width: 14px; height: 12px; background: var(--ff-accent);
	clip-path: polygon(0 0, 100% 0, 50% 100%);
}
@keyframes ff-play { from { left: 44px; } to { left: calc(100% - 4px); } }

/* ---------- Ticker ---------- */

.ff-ticker { background: var(--ff-accent); color: var(--ff-on-accent); overflow: hidden; border-block: 1px solid rgba(0, 0, 0, .15); }
.ff-ticker-track { display: flex; width: max-content; animation: ff-ticker 38s linear infinite; }
.ff-ticker:hover .ff-ticker-track { animation-play-state: paused; }
.ff-ticker ul { display: flex; margin: 0; padding: 0; list-style: none; flex-shrink: 0; }
.ff-ticker li {
	display: inline-flex; align-items: center; padding: 15px 0;
	font-family: var(--ff-display); font-size: 24px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
.ff-ticker li::after { content: '✦'; margin: 0 28px; font-size: 14px; opacity: .6; }
@keyframes ff-ticker { to { transform: translateX(-50%); } }

/* ---------- Liczby ---------- */

.ff-stats { background: #fff; border-bottom: 1px solid var(--ff-line); }
.ff-stat { padding: 46px 28px; height: 100%; border-right: 1px solid var(--ff-line); }
.ff-stats-row > div:last-child .ff-stat { border-right: 0; }
.ff-stat i { display: block; margin-bottom: 14px; font-size: 22px; color: var(--ff-accent-lo); }
.ff-stat strong {
	display: block; font-family: var(--ff-display); font-size: clamp(54px, 6vw, 88px); font-weight: 800; line-height: .9; color: var(--ff-ink);
}
.ff-stat span { display: block; margin-top: 10px; font-family: var(--ff-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ff-muted); }

/* ---------- Sekcje ---------- */

.ff-section { padding: clamp(76px, 9vw, 132px) 0; }
.ff-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 56px; }
.ff-section-head h2 { max-width: 780px; font-size: clamp(44px, 6vw, 88px); }
.ff-section-head > p { max-width: 430px; margin: 0; font-size: 16px; line-height: 1.75; color: var(--ff-muted); }

/* Oferta */
.ff-services { background: var(--ff-paper); }
.ff-service {
	position: relative; display: flex; flex-direction: column; height: 100%; padding: 36px 32px 32px;
	background: #fff; border: 1px solid var(--ff-line); border-radius: var(--ff-radius); overflow: hidden;
	transition: transform .35s var(--ff-ease), background .3s, border-color .3s, box-shadow .35s;
}
.ff-service::before {
	content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--ff-accent);
	transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ff-ease);
}
.ff-service-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 30px; }
.ff-service-icon {
	display: grid; place-items: center; width: 58px; height: 58px; border-radius: var(--ff-radius);
	background: var(--ff-ink); color: var(--ff-accent); font-size: 26px; transition: .3s;
}
.ff-service-no { font-family: var(--ff-display); font-size: 46px; font-weight: 800; line-height: 1; color: #dfe3e8; transition: color .3s; }
.ff-service h3 { margin-bottom: 14px; font-size: 32px; color: var(--ff-ink); transition: color .3s; }
.ff-service p { flex: 1; margin: 0 0 26px; font-size: 15px; line-height: 1.75; color: var(--ff-muted); transition: color .3s; }
.ff-service-link {
	display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
	font-family: var(--ff-display); font-size: 17px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ff-accent-lo);
}
.ff-service-link i { transition: transform .25s var(--ff-ease); }
.ff-service:hover { transform: translateY(-8px); background: var(--ff-ink); border-color: var(--ff-ink); box-shadow: 0 30px 60px rgba(7, 9, 12, .25); }
.ff-service:hover::before { transform: scaleX(1); }
.ff-service:hover h3 { color: #fff; }
.ff-service:hover p { color: #aab2bc; }
.ff-service:hover .ff-service-icon { background: var(--ff-accent); color: var(--ff-on-accent); }
.ff-service:hover .ff-service-no { color: #2a313a; }
.ff-service:hover .ff-service-link { color: var(--ff-accent); }
.ff-service:hover .ff-service-link i { transform: translateX(6px); }

/* Realizacje */
.ff-portfolio { background: var(--ff-black); color: #fff; position: relative; }
.ff-portfolio .ff-section-head > p { color: var(--ff-grey-500); }

.ff-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.ff-chip {
	padding: 10px 18px; border: 1px solid var(--ff-line-dark); border-radius: 999px; background: transparent; color: var(--ff-grey-300);
	font-family: var(--ff-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: .2s;
}
.ff-chip:hover { border-color: var(--ff-accent); color: #fff; }
.ff-chip.is-active { background: var(--ff-accent); border-color: var(--ff-accent); color: var(--ff-on-accent); font-weight: 500; }

.ff-works { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(250px, auto); gap: 16px; }
.ff-work {
	position: relative; display: block; grid-column: span 4; min-height: 250px; overflow: hidden;
	background: var(--ff-graphite); border-radius: var(--ff-radius); isolation: isolate;
}
.ff-works:not(.is-filtered) .ff-work:first-child { grid-column: span 8; grid-row: span 2; }
.ff-work[hidden] { display: none; }
.ff-work-media, .ff-work-media img, .ff-work-ph { position: absolute; inset: 0; width: 100%; height: 100%; }
.ff-work-media img { object-fit: cover; transition: transform .9s var(--ff-ease), filter .5s; filter: grayscale(.35) contrast(1.05); }
.ff-work-ph { display: grid; place-items: center; font-size: 48px; color: #333b45; }
.ff-work-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7, 9, 12, .1) 30%, rgba(7, 9, 12, .92)); transition: opacity .4s; }
.ff-work:hover .ff-work-media img { transform: scale(1.07); filter: grayscale(0) contrast(1.05); }
.ff-work-no { position: absolute; z-index: 2; top: 18px; left: 20px; font-family: var(--ff-mono); font-size: 12px; letter-spacing: .14em; color: rgba(255, 255, 255, .7); }
.ff-work-play {
	position: absolute; z-index: 2; top: 50%; left: 50%; display: grid; place-items: center; width: 72px; height: 72px;
	margin: -36px 0 0 -36px; border-radius: 50%; background: var(--ff-accent); color: var(--ff-on-accent); font-size: 32px;
	transform: scale(.6); opacity: 0; transition: transform .4s var(--ff-ease), opacity .3s;
}
.ff-work:hover .ff-work-play, .ff-work:focus-visible .ff-work-play { transform: scale(1); opacity: 1; }
.ff-work-info { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; }
.ff-work-info em { display: block; margin-bottom: 6px; font-family: var(--ff-mono); font-size: 11px; font-style: normal; letter-spacing: .18em; text-transform: uppercase; color: var(--ff-accent); }
.ff-work-info strong { display: block; font-family: var(--ff-display); font-size: 30px; font-weight: 800; line-height: 1; text-transform: uppercase; }
.ff-works:not(.is-filtered) .ff-work:first-child .ff-work-info strong { font-size: clamp(36px, 4.4vw, 60px); }

/* O nas */
.ff-about { background: #fff; overflow: hidden; }
.ff-about h2 { font-size: clamp(42px, 5vw, 72px); }
.ff-about-art { position: relative; min-height: 540px; }
.ff-about-img { position: absolute; display: block; object-fit: cover; border-radius: var(--ff-radius); }
.ff-about-img-a { top: 0; left: 0; width: 74%; aspect-ratio: 4 / 3; }
.ff-about-img-b { right: 0; bottom: 0; width: 64%; aspect-ratio: 4 / 3; border: 10px solid #fff; box-shadow: 0 30px 70px rgba(7, 9, 12, .25); }
.ff-clapper { position: absolute; left: 6%; bottom: 8%; width: 190px; z-index: 3; box-shadow: 0 20px 50px rgba(7, 9, 12, .35); transform: rotate(-5deg); }
.ff-clapper-top { height: 26px; background: repeating-linear-gradient(-45deg, #fff 0 14px, var(--ff-ink) 14px 28px); border: 2px solid var(--ff-ink); border-bottom: 0; }
.ff-clapper-body { background: var(--ff-ink); padding: 12px 16px 14px; border: 2px solid var(--ff-ink); }
.ff-clapper-body span { display: block; padding: 5px 0; border-bottom: 1px solid #2a313a; font-family: var(--ff-mono); font-size: 10px; letter-spacing: .2em; color: var(--ff-grey-500); }
.ff-clapper-body span:last-child { border: 0; color: var(--ff-accent); }

.ff-prose { color: var(--ff-text); font-size: 16.5px; line-height: 1.85; }
.ff-about-copy .ff-prose { margin-top: 28px; color: var(--ff-muted); }
.ff-checks { display: grid; gap: 14px; margin: 28px 0 34px; padding: 0; list-style: none; font-weight: 600; font-size: 15px; }
.ff-checks i { margin-right: 12px; color: var(--ff-accent-lo); font-size: 18px; vertical-align: -2px; }

/* Proces */
.ff-process { background: var(--ff-graphite); color: #fff; }
.ff-process .ff-section-head > p { color: var(--ff-grey-500); }
.ff-timeline { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0 28px; margin: 0; padding: 0; list-style: none; }
.ff-timeline::before {
	content: ''; position: absolute; top: 10px; left: 0; right: 0; height: 2px;
	background: linear-gradient(90deg, var(--ff-accent), var(--ff-accent) 30%, var(--ff-line-dark) 55%);
}
.ff-step { position: relative; padding-top: 52px; }
.ff-step-marker {
	position: absolute; top: 1px; left: 0; width: 20px; height: 20px; border-radius: 50%;
	background: var(--ff-graphite); border: 2px solid var(--ff-accent);
}
.ff-step-marker::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--ff-accent); }
.ff-step-no { display: block; margin-bottom: 18px; font-family: var(--ff-mono); font-size: 12px; letter-spacing: .2em; color: var(--ff-accent); }
.ff-step i { display: block; margin-bottom: 14px; font-size: 30px; color: #fff; }
.ff-step h3 { margin-bottom: 12px; font-size: 28px; }
.ff-step p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--ff-grey-500); }

/* Aktualności */
.ff-news { background: var(--ff-paper); }

.ff-card {
	display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--ff-line);
	border-radius: var(--ff-radius); overflow: hidden; transition: transform .35s var(--ff-ease), box-shadow .35s, border-color .3s;
}
.ff-card:hover { transform: translateY(-6px); border-color: var(--ff-accent); box-shadow: 0 26px 55px rgba(7, 9, 12, .12); }
.ff-card-media { position: relative; display: block; height: var(--ff-card-h, 220px); overflow: hidden; background: var(--ff-ink); }
.ff-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ff-ease); }
.ff-card:hover .ff-card-media img { transform: scale(1.06); }
.ff-card-ph, .ff-card-media.is-broken::before {
	content: ''; position: absolute; inset: 0; display: grid; place-items: center;
	background: radial-gradient(circle at 70% 20%, rgba(47, 140, 204, .45), transparent 60%), var(--ff-ink);
}
.ff-card-ph { font-size: 44px; color: #3a424d; }
.ff-card-play {
	position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 42px; height: 42px;
	background: var(--ff-accent); color: var(--ff-on-accent); border-radius: 50%; font-size: 18px;
	transform: translateY(8px); opacity: 0; transition: .3s var(--ff-ease);
}
.ff-card:hover .ff-card-play { transform: none; opacity: 1; }
.ff-card-body { display: flex; flex: 1; flex-direction: column; padding: 24px 26px 22px; }
.ff-card-meta { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-bottom: 14px; font-family: var(--ff-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ff-muted); }
.ff-tag { padding: 3px 9px; border: 1px solid var(--ff-accent-lo); color: var(--ff-accent-lo); border-radius: 2px; }
.ff-pin { color: var(--ff-accent-lo); }
.ff-card-title { margin-bottom: 12px; font-size: 30px; line-height: 1; }
.ff-card-title a { color: var(--ff-ink); }
.ff-card-title a:hover { color: var(--ff-accent-lo); }
.ff-card-text { margin: 0 0 18px; font-size: 14.5px; line-height: 1.7; color: var(--ff-muted); }
.ff-card-foot { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--ff-line); font-size: 13px; color: var(--ff-muted); }
.ff-card-foot i { margin-right: 4px; }
.ff-card-more { margin-left: auto; font-family: var(--ff-display); font-size: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ff-accent-lo); }
.ff-card-more i { transition: transform .2s; }
.ff-card:hover .ff-card-more i { transform: translateX(5px); }

.ff-empty-state { padding: 34px; border: 1px dashed #c5ccd4; border-radius: var(--ff-radius); background: #fff; color: var(--ff-muted); }

/* Kontakt */
.ff-contact { position: relative; overflow: hidden; background: var(--ff-black); color: #fff; padding: clamp(76px, 9vw, 128px) 0; }
.ff-contact::before {
	content: ''; position: absolute; inset: 0;
	background: radial-gradient(50% 60% at 100% 0%, rgba(47, 140, 204, .26), transparent 62%), radial-gradient(40% 50% at 0% 100%, rgba(47, 140, 204, .1), transparent 60%);
}
.ff-contact-wrap { position: relative; z-index: 2; }
.ff-contact h2 { font-size: clamp(48px, 6.2vw, 96px); margin-bottom: 24px; }
.ff-contact-lead { max-width: 460px; margin: 0 0 34px; font-size: 17px; line-height: 1.75; color: var(--ff-grey-300); }

.ff-person { display: flex; gap: 20px; align-items: flex-start; padding: 24px; background: rgba(255, 255, 255, .04); border: 1px solid var(--ff-line-dark); border-left: 3px solid var(--ff-accent); border-radius: var(--ff-radius); }
.ff-person-avatar { display: grid; place-items: center; flex: 0 0 64px; width: 64px; height: 64px; background: var(--ff-accent); color: var(--ff-on-accent); font-family: var(--ff-display); font-size: 30px; font-weight: 800; border-radius: var(--ff-radius); }
.ff-person strong { display: block; font-family: var(--ff-display); font-size: 28px; font-weight: 700; text-transform: uppercase; line-height: 1.05; }
.ff-person-role { display: block; margin: 2px 0 12px; font-family: var(--ff-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ff-grey-500); }
.ff-person a { display: block; padding: 2px 0; font-size: 15px; color: var(--ff-grey-300); }
.ff-person a:hover { color: var(--ff-accent); }
.ff-person a i { margin-right: 8px; color: var(--ff-accent); }

.ff-form { margin-top:20px;padding: clamp(24px, 3vw, 40px); background: var(--ff-graphite); border: 1px solid var(--ff-line-dark); border-radius: var(--ff-radius); }
.ff-form-head { margin-bottom: 24px; }
.ff-form-head strong { display: block; font-family: var(--ff-display); font-size: 34px; font-weight: 800; text-transform: uppercase; line-height: 1; }
.ff-form-head span { display: block; margin-top: 8px; font-size: 13px; color: var(--ff-grey-500); }
.ff-form label { display: block; margin-bottom: 7px; font-family: var(--ff-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ff-grey-500); }
.ff-form input, .ff-form select, .ff-form textarea {
	width: 100%; padding: 14px 16px; background: var(--ff-black); border: 1px solid #2d343d; border-radius: var(--ff-radius);
	color: #fff; font: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.ff-form input::placeholder, .ff-form textarea::placeholder { color: #5d6671; }
.ff-form input:focus, .ff-form select:focus, .ff-form textarea:focus { outline: 0; border-color: var(--ff-accent); box-shadow: 0 0 0 3px rgba(47, 140, 204, .25); }
.ff-form textarea { resize: vertical; min-height: 120px; }
.ff-form .ff-button { margin-top: 24px; }

.ff-offices { margin-top: clamp(48px, 6vw, 80px); }
.ff-office { position: relative; height: 100%; padding: 32px; background: rgba(255, 255, 255, .03); border: 1px solid var(--ff-line-dark); border-radius: var(--ff-radius); transition: border-color .3s, background .3s; }
.ff-office:hover { border-color: var(--ff-accent); background: rgba(47, 140, 204, .06); }
.ff-office-no { position: absolute; top: 22px; right: 26px; font-family: var(--ff-display); font-size: 54px; font-weight: 800; line-height: 1; color: #1f252d; }
.ff-office h3 { margin-bottom: 14px; font-size: 34px; }
.ff-office address { margin-bottom: 14px; font-size: 16px; line-height: 1.7; color: var(--ff-grey-300); }
.ff-office a { display: block; padding: 3px 0; font-size: 15px; color: var(--ff-grey-300); }
.ff-office a:hover { color: var(--ff-accent); }
.ff-office a i { margin-right: 8px; color: var(--ff-accent); }
.ff-office small { color: var(--ff-grey-500); }
.ff-office .ff-office-map { margin-top: 14px; font-family: var(--ff-display); font-size: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ff-accent); }

/* ---------- Stopka ---------- */

.ff-footer { position: relative; background: #040506; color: var(--ff-grey-500); }
.ff-filmstrip {
	height: 22px; background:
		linear-gradient(90deg, transparent 0 9px, #040506 9px 21px, transparent 21px 30px) 0 50% / 30px 10px repeat-x,
		#161b21;
}
.ff-footer-main { padding: 72px 0 56px; }
.ff-footer-logo img { display: block; height: 54px; width: auto; margin-bottom: 22px; }
.ff-footer p { max-width: 400px; font-size: 14.5px; line-height: 1.8; }
.ff-footer h2 { margin-bottom: 20px; font-family: var(--ff-mono); font-size: 12px; font-weight: 500; letter-spacing: .2em; color: var(--ff-accent); }
.ff-footer a { display: block; padding: 4px 0; color: var(--ff-grey-300); font-size: 15px; transition: color .2s; }
.ff-footer a:hover { color: var(--ff-accent); }
.ff-footer address { margin-bottom: 18px; font-size: 14.5px; line-height: 1.7; color: var(--ff-grey-500); }
.ff-footer address strong { display: block; color: #fff; font-weight: 600; }
.ff-footer i { margin-right: 8px; color: var(--ff-accent); }
.ff-footer .ff-footer-cta {
	display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 20px;
	border: 1px solid var(--ff-accent); border-radius: var(--ff-radius); color: var(--ff-accent);
	font-family: var(--ff-display); font-size: 17px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.ff-footer .ff-footer-cta:hover { background: var(--ff-accent); color: var(--ff-on-accent); }
.ff-footer .ff-footer-cta i { margin: 0; color: inherit; }
.ff-socials { display: flex; gap: 10px; margin-top: 22px; }
.ff-footer .ff-socials a { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--ff-line-dark); border-radius: 50%; }
.ff-footer .ff-socials a i { margin: 0; color: var(--ff-grey-300); }
.ff-footer .ff-socials a:hover { border-color: var(--ff-accent); background: var(--ff-accent); }
.ff-footer .ff-socials a:hover i { color: var(--ff-on-accent); }
.ff-footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding: 24px 0 30px; border-top: 1px solid #14181d; font-family: var(--ff-mono); font-size: 12px; letter-spacing: .06em; }
.ff-footer-bottom a { display: inline-block; }

/* ---------- Podstrony ---------- */

.ff-subhero { position: relative; overflow: hidden; background: var(--ff-black); color: #fff; padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); border-bottom: 3px solid var(--ff-accent); }
.ff-subhero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 90% at 90% 0%, rgba(47, 140, 204, .28), transparent 65%); }
.ff-subhero .container-xl { position: relative; z-index: 2; }
.ff-subhero h1 { max-width: 1000px; font-size: clamp(46px, 7vw, 104px); line-height: .92; }
.ff-subhero-lead { max-width: 680px; margin: 22px 0 0; font-size: 18px; line-height: 1.7; color: var(--ff-grey-300); }
.ff-subhero-article h1 { font-size: clamp(38px, 5.4vw, 78px); max-width: 1040px; }

.ff-breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; font-family: var(--ff-mono); font-size: 12px; letter-spacing: .08em; color: var(--ff-grey-500); }
.ff-breadcrumbs a { color: var(--ff-grey-300); }
.ff-breadcrumbs a:hover { color: var(--ff-accent); }
.ff-breadcrumbs span:not([aria-current]) { opacity: .5; }

.ff-article-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; font-family: var(--ff-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ff-grey-500); }
.ff-article-meta i { margin-right: 6px; color: var(--ff-accent); }
.ff-article-meta a { color: var(--ff-grey-300); }
.ff-article-meta a:hover { color: var(--ff-accent); }

.ff-category-shell { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(72px, 8vw, 120px); }
.ff-page-content { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(72px, 8vw, 120px); }
.ff-page-content .ff-prose { max-width: 900px; }

.ff-article-shell { padding-bottom: clamp(72px, 8vw, 120px); }
.ff-article-single { max-width: 900px; margin: 0 auto; }
.ff-article-cover { position: relative; z-index: 3; margin: -40px 0 44px; border-radius: var(--ff-radius); overflow: hidden; box-shadow: 0 30px 70px rgba(7, 9, 12, .3); }
.ff-article-cover img { display: block; width: 100%; height: auto; }
.ff-article-single > :first-child:not(.ff-article-cover) { margin-top: 56px; }
.ff-article-lead { margin: 0 0 34px; padding-left: 24px; border-left: 4px solid var(--ff-accent); font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 500; line-height: 1.6; color: var(--ff-ink); }
.ff-article-body { overflow-wrap: anywhere; }
.ff-article-cta {
	display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between; margin-top: 56px; padding: 30px 34px;
	background: var(--ff-ink); color: #fff; border-left: 4px solid var(--ff-accent); border-radius: var(--ff-radius);
}
.ff-article-cta strong { display: block; font-family: var(--ff-display); font-size: 32px; font-weight: 800; text-transform: uppercase; line-height: 1; }
.ff-article-cta span { display: block; margin-top: 6px; color: var(--ff-grey-300); font-size: 15px; }
.ff-article-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--ff-line); font-weight: 600; }
.ff-article-bottom a { color: var(--ff-accent-lo); }
.ff-article-featured h2 { font-size: 40px; margin-bottom: 14px; }

.ff-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 56px; }
.ff-pagination a {
	display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border: 1px solid var(--ff-line); border-radius: var(--ff-radius);
	font-family: var(--ff-mono); font-size: 14px; color: var(--ff-text); transition: .2s;
}
.ff-pagination a:hover { border-color: var(--ff-accent); color: var(--ff-accent-lo); }
.ff-pagination a.is-active { background: var(--ff-ink); border-color: var(--ff-ink); color: #fff; }

/* Typografia treści (artykuły, strony statyczne) */
.ff-prose h2 { margin: 2.2em 0 .6em; font-size: clamp(32px, 3.6vw, 46px); line-height: 1; color: var(--ff-ink); }
.ff-prose h3 { margin: 1.8em 0 .5em; font-size: clamp(26px, 2.8vw, 34px); line-height: 1; color: var(--ff-ink); }
.ff-prose h4 { margin: 1.6em 0 .4em; font-size: 24px; color: var(--ff-ink); }
.ff-prose p { margin: 0 0 1.25em; }
.ff-prose a { color: var(--ff-accent-lo); text-decoration: underline; text-underline-offset: 3px; }
.ff-prose a:hover { color: var(--ff-accent); text-decoration: underline; }
.ff-prose ul, .ff-prose ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.ff-prose li { margin-bottom: .4em; }
.ff-prose li::marker { color: var(--ff-accent); }
.ff-prose blockquote { margin: 2em 0; padding: 8px 0 8px 26px; border-left: 4px solid var(--ff-accent); font-size: 1.2em; font-style: italic; color: var(--ff-ink); }
.ff-prose img { max-width: 100%; height: auto; border-radius: var(--ff-radius); }
.ff-prose figure { margin: 2em 0; }
.ff-prose figcaption { margin-top: 8px; font-size: 13px; color: var(--ff-muted); }
.ff-prose iframe, .ff-prose video { display: block; max-width: 100%; border: 0; border-radius: var(--ff-radius); }
.ff-prose iframe[src*="youtube"], .ff-prose iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.ff-prose table { width: 100%; margin: 2em 0; border-collapse: collapse; font-size: 15px; }
.ff-prose th, .ff-prose td { padding: 12px 14px; border-bottom: 1px solid var(--ff-line); text-align: left; }
.ff-prose th { background: var(--ff-paper); font-family: var(--ff-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.ff-prose hr { margin: 2.5em 0; border: 0; border-top: 1px solid var(--ff-line); opacity: 1; }
.ff-prose code { padding: 2px 6px; background: var(--ff-paper); border-radius: 3px; font-family: var(--ff-mono); font-size: .9em; }

/* ---------- Modal odtwarzacza ---------- */

.ff-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 24px; }
.ff-modal[hidden] { display: none; }
.ff-modal-backdrop { position: absolute; inset: 0; background: rgba(4, 5, 6, .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ff-modal-box { position: relative; width: min(1120px, 100%); animation: ff-pop .35s var(--ff-ease); }
.ff-modal-stage { aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--ff-line-dark); box-shadow: 0 40px 120px rgba(0, 0, 0, .7), 0 0 100px rgba(47, 140, 204, .2); }
.ff-modal-stage iframe, .ff-modal-stage video { display: block; width: 100%; height: 100%; border: 0; }
.ff-modal-close {
	position: absolute; top: -54px; right: 0; display: grid; place-items: center; width: 44px; height: 44px;
	border: 1px solid #3a424d; border-radius: 50%; background: transparent; color: #fff; font-size: 18px; cursor: pointer; transition: .2s;
}
.ff-modal-close:hover { background: var(--ff-accent); border-color: var(--ff-accent); color: var(--ff-on-accent); }
@keyframes ff-pop { from { opacity: 0; transform: scale(.96) translateY(12px); } to { opacity: 1; transform: none; } }
body.ff-modal-open { overflow: hidden; }

/* ---------- Animacje wejścia ---------- */

.ff-js [data-ff-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ff-ease), transform .8s var(--ff-ease); transition-delay: var(--ff-d, 0s); }
.ff-js [data-ff-reveal].ff-in { opacity: 1; transform: none; }

/* ---------- Odtwarzacz audio (wtyczka mediów CMS) ---------- */

.media-card-audio { background: #fff; border: 1px solid var(--ff-line); border-radius: var(--ff-radius); overflow: hidden; box-shadow: 0 8px 28px rgba(7, 9, 12, .07); transition: .25s; }
.media-card-audio:hover { border-color: var(--ff-accent); box-shadow: 0 12px 32px rgba(7, 9, 12, .12); transform: translateY(-2px); }
.media-card-audio .card-body { padding: 22px; }
.audio-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.audio-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 54px; width: 54px; height: 54px; border-radius: var(--ff-radius); background: var(--ff-ink); color: var(--ff-accent); font-size: 23px; }
.audio-info { min-width: 0; flex: 1; }
.audio-title { margin: 0 0 5px; color: var(--ff-ink); font-size: 15px; font-weight: 700; text-transform: capitalize; }
.audio-filename { color: var(--ff-muted); font-size: 12px; overflow-wrap: anywhere; }
.audio-size { flex-shrink: 0; padding: 6px 10px; background: var(--ff-paper); border: 1px solid var(--ff-line); border-radius: 3px; color: var(--ff-muted); font-family: var(--ff-mono); font-size: 11px; }
.audio-native-container { padding: 13px; background: var(--ff-paper); border: 1px solid var(--ff-line); border-radius: var(--ff-radius); }
.audio-native-player { display: block; width: 100%; height: 42px; outline: none; accent-color: var(--ff-accent); }
.audio-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 15px; }
.audio-controls-native { display: flex; justify-content: flex-end; margin-top: 15px; }
.audio-download, .audio-controls button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 16px; margin: 0; border: 1px solid transparent;
	border-radius: var(--ff-radius); background: var(--ff-ink); color: #fff !important; font-size: 12px; font-weight: 700; line-height: 1; text-decoration: none !important; white-space: nowrap; transition: .2s;
}
.audio-controls .audio-download { margin-left: auto; }
.audio-download i { color: var(--ff-accent); font-size: 15px; }
.audio-download:hover { background: var(--ff-accent); color: var(--ff-on-accent) !important; transform: translateY(-1px); }
.audio-download:hover i { color: var(--ff-on-accent); }
.audio-wave-container { margin-bottom: 30px; }

/* ---------- Responsywność ---------- */

@media (max-width: 1199.98px) {
	.ff-timeline { grid-template-columns: repeat(3, 1fr); gap: 44px 28px; }
	.ff-timeline::before { display: none; }
	.ff-step { padding-top: 0; }
	.ff-step-marker { display: none; }
	.ff-step { padding: 26px; border: 1px solid var(--ff-line-dark); border-radius: var(--ff-radius); background: rgba(255, 255, 255, .02); }
	.ff-works:not(.is-filtered) .ff-work:first-child { grid-column: span 12; grid-row: span 1; min-height: 340px; }
	.ff-work { grid-column: span 6; }
}

@media (max-width: 991.98px) {
	:root { --ff-header-h: 68px; }
	.ff-topbar { display: none; }
	.ff-brand img { height: 40px; }
	.ff-menu-toggle { display: inline-grid; place-items: center; }

	.ff-nav {
		position: fixed; top: var(--ff-header-h); left: 0; right: 0; bottom: 0; z-index: 99;
		display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 18px 24px 40px; overflow-y: auto;
		background: var(--ff-black);
	}
	.ff-nav.ff-nav-open { display: flex; min-height: 50vh;}
	.ff-nav > a, .ff-nav-dropdown > a { padding: 18px 0; font-size: 26px; border-bottom: 1px solid var(--ff-line-dark); }
	.ff-nav > a::after, .ff-nav-dropdown > a::after { display: none; }
	.ff-nav-dropdown { flex-wrap: wrap; width: 100%; }
	.ff-nav-dropdown > a { flex: 1; }
	.ff-submenu-toggle { width: 48px; height: 48px; font-size: 16px; }
	.ff-submenu { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border: 0; background: transparent; }
	.ff-nav-dropdown.ff-submenu-open .ff-submenu { display: block; }
	.ff-nav > .ff-nav-cta { margin-top: 24px; justify-content: center; padding: 16px; font-size: 22px; border-bottom: 1px solid var(--ff-accent); }

	.ff-monitor { transform: none; }
	.ff-section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
	.ff-about-art { min-height: 440px; margin-bottom: 16px; }
	.ff-stat { padding: 34px 20px; }
	.ff-stats-row > div:nth-child(2) .ff-stat { border-right: 0; }
	.ff-stats-row > div:nth-child(-n+2) .ff-stat { border-bottom: 1px solid var(--ff-line); }
}

@media (max-width: 767.98px) {
	.ff-nle-ruler span:nth-child(even) { display: none; }
	.ff-nle-track:nth-child(n+3) { display: none; }
	.ff-hero-proof { margin-top: 32px; }
	.ff-works { grid-template-columns: 1fr; grid-auto-rows: auto; }
	.ff-work, .ff-works:not(.is-filtered) .ff-work:first-child { grid-column: 1; min-height: 280px; }
	.ff-timeline { grid-template-columns: 1fr; gap: 14px; }
	.ff-about-art { min-height: 380px; }
	.ff-clapper { width: 150px; }
	.ff-hud-tr, .ff-hud-br { display: none; }
	.ff-ticker li { font-size: 20px; padding: 12px 0; }
	.ff-ticker li::after { margin: 0 20px; }
	.ff-modal-close { top: -52px; }
	.ff-article-cta { padding: 24px; }
}

@media (max-width: 575.98px) {
	.ff-button { width: 100%; }
	.ff-hero-actions { flex-direction: column; }
	.ff-person { flex-direction: column; }
	.ff-footer-bottom { flex-direction: column; }
	.ff-article-cover { margin-top: -24px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.ff-js [data-ff-reveal] { opacity: 1; transform: none; }
	.ff-ticker-track { animation: none; }
}
.parallax-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 60vh;
  color: #fff;

  /* wyśrodkowanie zawartości w pionie */
  display: flex;
  align-items: center;
}

.parallax-container {
  position: relative;
  z-index: 1;
  width: 100%;          /* flex item nie rozciągnąłby się sam */
}

.parallax-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: -20%;            /* zapas na przesuwanie */
  height: 140%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  z-index: -2;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: -1;
}

@media (prefers-reduced-motion: reduce) {
  .parallax-bg { transform: none !important; }
}