/* ==========================================================================
   Kod & Forma 3 — style uzupełniające theme.json
   Kolory, fonty i odstępy zmieniasz w Wygląd → Edytor → Style.
   Tu są efekty, układy sekcji i animacje.
   ========================================================================== */

@property --kf-angle {
	syntax: "<angle>";
	initial-value: 0deg;
	inherits: false;
}

:root {
	--kf-ease: cubic-bezier(.2, .8, .2, 1);
	--kf-base: var(--wp--preset--color--base);
	--kf-surface: var(--wp--preset--color--surface);
	--kf-surface-2: var(--wp--preset--color--surface-2);
	--kf-line: var(--wp--preset--color--line);
	--kf-text: var(--wp--preset--color--contrast);
	--kf-muted: var(--wp--preset--color--muted);
	--kf-lime: var(--wp--preset--color--accent);
	--kf-violet: var(--wp--preset--color--accent-2);
	--kf-cyan: var(--wp--preset--color--accent-3);
	--kf-pink: var(--wp--preset--color--accent-4);
	--kf-signal: var(--wp--preset--gradient--signal);
	--kf-display: var(--wp--preset--font-family--display);
	--kf-serif: var(--wp--preset--font-family--serif);
	--kf-mono: var(--wp--preset--font-family--mono);
	--kf-hair: rgba(233, 237, 245, .08);
	--kf-r: 18px;
}

html { scroll-behavior: smooth; overflow-x: clip; }

body {
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--kf-lime); color: var(--kf-base); }

/* Poświaty zorzy w tle */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(45vw 35vw at 85% -5%, rgba(139, 92, 255, .16), transparent 70%),
		radial-gradient(40vw 30vw at -5% 35%, rgba(45, 226, 255, .08), transparent 70%),
		radial-gradient(50vw 40vw at 60% 110%, rgba(198, 255, 61, .06), transparent 70%);
}

/* Ziarno */
body::after {
	content: "";
	position: fixed;
	inset: -50%;
	z-index: 300;
	pointer-events: none;
	opacity: .035;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: kf-grain 1.2s steps(6) infinite;
}

.wp-site-blocks { position: relative; z-index: 1; }

:focus-visible { outline: 2px solid var(--kf-lime); outline-offset: 3px; border-radius: 4px; }

/* Żywy kod w tle (canvas tworzy JS) */
.kf-codebg {
	position: fixed;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	opacity: 0;
	transition: opacity 1.5s ease;
}
.kf-codebg.is-on { opacity: 1; }

/* Numery linii jak w edytorze (JS) */
.kf-gutter {
	position: fixed;
	z-index: 2;
	top: 0;
	bottom: 0;
	left: 0;
	width: 2.75rem;
	overflow: hidden;
	pointer-events: none;
	border-right: 1px solid var(--kf-hair);
	background: linear-gradient(90deg, rgba(6, 7, 10, .85), rgba(6, 7, 10, .4));
	font-family: var(--kf-mono);
	font-size: 10px;
	line-height: 24px;
	text-align: right;
	color: rgba(125, 135, 153, .45);
	padding-right: .55rem;
	font-variant-numeric: tabular-nums;
}
.kf-gutter span { display: block; }
.kf-gutter span.is-current { color: var(--kf-lime); }
@media (min-width: 1200px) {
	.kf-has-gutter .wp-site-blocks { padding-left: 2.75rem; }
}
@media (max-width: 1199px) {
	.kf-gutter { display: none; }
}

/* Gradient w nagłówkach: zaznacz słowo → „Wyróżnienie” */
:where(h1, h2, h3, h4) mark,
.is-style-kf-gradient {
	background: var(--kf-signal) !important;
	background-size: 200% 100% !important;
	-webkit-background-clip: text !important;
	background-clip: text !important;
	color: transparent !important;
	-webkit-text-fill-color: transparent;
	animation: kf-shift 6s ease-in-out infinite alternate;
}
:where(h1, h2, h3) em {
	font-family: var(--kf-serif);
	font-style: italic;
	font-weight: 400;
	letter-spacing: -.01em;
}
.is-style-kf-outline { color: transparent; -webkit-text-stroke: 1px rgba(233, 237, 245, .55); }

/* ---------- Nagłówek ---------- */

.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 60;
}
.kf-header {
	padding-block: 1rem;
	border-bottom: 1px solid transparent;
	transition: background .4s, padding .4s var(--kf-ease), border-color .4s;
}
.kf-scrolled .kf-header {
	padding-block: .6rem;
	background: rgba(6, 7, 10, .78);
	-webkit-backdrop-filter: blur(16px) saturate(150%);
	backdrop-filter: blur(16px) saturate(150%);
	border-bottom-color: var(--kf-hair);
}
.kf-brand { margin: 0; }
.kf-brand a { color: var(--kf-text); }
.kf-brand a::before { content: "<"; color: var(--kf-lime); margin-right: .1em; }
.kf-brand a::after { content: " />"; color: var(--kf-lime); }
.kf-nav { counter-reset: kfnav; }
.kf-nav .wp-block-navigation__container { gap: clamp(1rem, 2.4vw, 2rem); }
.kf-nav .wp-block-navigation-item { counter-increment: kfnav; }
.kf-nav .wp-block-navigation-item__content { color: var(--kf-muted); transition: color .25s; }
.kf-nav .wp-block-navigation-item__content:hover { color: var(--kf-text); }
.kf-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::before {
	content: "0" counter(kfnav) ".";
	color: var(--kf-lime);
	margin-right: .4em;
}
.kf-header__cta .wp-block-button__link { padding: .75em 1.3em; }
.wp-block-navigation__responsive-container.is-menu-open {
	background: var(--kf-base) !important;
	color: var(--kf-text) !important;
	padding: 2rem !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-family: var(--kf-display);
	font-size: 2.25rem;
	color: var(--kf-text);
}

/* ---------- Przyciski ---------- */

.wp-block-button__link {
	position: relative;
	transition: transform .35s var(--kf-ease), box-shadow .35s var(--kf-ease), background .25s, color .25s, border-color .25s;
	will-change: transform;
}
.wp-block-button__link:hover { box-shadow: 0 14px 44px -12px rgba(198, 255, 61, .55); }
.wp-block-button.is-style-kf-ghost .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
	background: rgba(13, 16, 22, .6);
	color: var(--kf-text);
	border: 1px solid rgba(233, 237, 245, .18);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.wp-block-button.is-style-kf-ghost .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	border-color: var(--kf-lime);
	color: var(--kf-lime);
	box-shadow: none;
}

/* ---------- Typografia pomocnicza ---------- */

.is-style-kf-eyebrow {
	font-family: var(--kf-mono);
	font-size: var(--wp--preset--font-size--small);
	color: var(--kf-muted);
	font-style: italic;
}
.is-style-kf-tag {
	font-family: var(--kf-mono);
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--kf-pink);
	letter-spacing: .02em;
	opacity: .9;
}
.is-style-kf-lead {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.5;
	color: var(--kf-muted);
	max-width: 46ch;
}
.is-style-kf-tags {
	list-style: none;
	padding: 0 !important;
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
}
.is-style-kf-tags li {
	margin: 0;
	padding: .3em .8em;
	font-family: var(--kf-mono);
	font-size: .72rem;
	color: var(--kf-muted);
	border: 1px solid var(--kf-hair);
	border-radius: 6px;
	background: rgba(233, 237, 245, .02);
	transition: color .25s, border-color .25s;
}
.is-style-kf-tags li:hover { color: var(--kf-lime); border-color: var(--kf-lime); }

.kf-status {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	margin: 0;
	padding: .45rem 1rem .45rem .8rem;
	font-family: var(--kf-mono);
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--kf-text);
	border: 1px solid var(--kf-hair);
	border-radius: 999px;
	background: rgba(13, 16, 22, .7);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.kf-status::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--kf-lime);
	box-shadow: 0 0 0 0 rgba(198, 255, 61, .6);
	animation: kf-pulse 2s infinite;
}
.kf-clock {
	margin: 0;
	font-family: var(--kf-mono);
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--kf-muted);
	font-variant-numeric: tabular-nums;
}

/* ---------- Karty: latarka, przechył 3D, obracająca się ramka ---------- */

.is-style-kf-card {
	--mx: 50%;
	--my: 50%;
	position: relative;
	padding: clamp(1rem, 2vw, 1.5rem);
	border: 1px solid var(--kf-hair);
	border-radius: var(--kf-r);
	background:
		radial-gradient(520px circle at var(--mx) var(--my), rgba(198, 255, 61, .08), transparent 42%),
		rgba(13, 16, 22, .82);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	transform: perspective(1100px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
	transition: transform .6s var(--kf-ease), border-color .35s;
}
.is-style-kf-card:hover { border-color: rgba(198, 255, 61, .35); }

.is-style-kf-glow {
	--c: 198, 255, 61;
	position: relative;
	padding: clamp(1rem, 2vw, 1.25rem) clamp(1rem, 2vw, 1.25rem) clamp(1.5rem, 2.5vw, 2rem);
	border-radius: var(--kf-r);
	border: 1px solid var(--kf-hair);
	background: linear-gradient(170deg, rgba(20, 25, 35, .92), rgba(13, 16, 22, .92));
	overflow: hidden;
	transition: transform .6s var(--kf-ease), border-color .4s, box-shadow .6s;
}
.is-style-kf-glow::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, rgb(var(--c)), transparent);
	transform: scaleX(0);
	transition: transform .7s var(--kf-ease);
}
.is-style-kf-glow:hover {
	transform: translateY(-6px);
	border-color: rgba(var(--c), .35);
	box-shadow: 0 30px 70px -35px rgba(var(--c), .45);
}
.is-style-kf-glow:hover::after { transform: scaleX(1); }
.kf-services > :nth-child(4n+2) { --c: 45, 226, 255; }
.kf-services > :nth-child(4n+3) { --c: 139, 92, 255; }
.kf-services > :nth-child(4n+4) { --c: 255, 79, 163; }
.kf-service .kf-service__icon { background: none; -webkit-text-fill-color: rgb(var(--c)); color: rgb(var(--c)); }

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

.kf-section {
	position: relative;
	padding-block: var(--wp--preset--spacing--70);
}
.kf-section--tight { padding-block: var(--wp--preset--spacing--50); }
.kf-section__head {
	gap: 1.5rem;
	margin-bottom: var(--wp--preset--spacing--60) !important;
}
.kf-section__head > * { margin: 0 !important; }
.kf-section__head .wp-block-group > * { margin: 0 !important; }
.kf-section__head .is-style-kf-eyebrow { margin-top: .4rem !important; }
.kf-section__head h2 { margin-top: 1.25rem !important; max-width: 16ch; }
.kf-section__count {
	font-family: var(--kf-mono);
	font-size: var(--wp--preset--font-size--small);
	color: var(--kf-muted);
}

/* HERO */
.kf-hero {
	overflow-x: clip;
	padding-block: clamp(2rem, 6vh, 4.5rem) clamp(2rem, 5vh, 3.5rem);
}
.kf-hero > * { margin-block: 0 !important; }
.kf-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	gap: clamp(2rem, 4vw, 4rem);
	align-items: center;
}
.kf-hero__grid > * { margin: 0 !important; }
.kf-hero__intro > * { margin: 0 !important; }
.kf-hero__intro .is-style-kf-tag { margin-top: 1.75rem !important; }
.kf-hero__intro .is-style-kf-lead { margin-top: 1.75rem !important; }
.kf-hero__intro .wp-block-buttons { margin-top: 2rem !important; }
.kf-hero__title {
	margin-top: .75rem !important;
	font-size: clamp(3rem, 6.2vw, 6.8rem) !important;
	font-weight: 600 !important;
	line-height: .92 !important;
	letter-spacing: -.055em !important;
}
.kf-hero__scroll {
	margin-top: var(--wp--preset--spacing--50) !important;
	font-family: var(--kf-mono);
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--kf-muted);
}
.kf-hero__scroll::before { content: "↓ "; color: var(--kf-lime); display: inline-block; animation: kf-bob 1.6s ease-in-out infinite; }

/* Przestrzeń robocza: okno kodu + przeglądarka na wierzchu */
.kf-ide {
	--view-h: 17.5rem;
	--overlap: 7rem;
	position: relative;
	transform: perspective(1600px) rotateY(var(--ide-ry, -8deg)) rotateX(var(--ide-rx, 4deg));
	transition: transform 1s var(--kf-ease);
}
.kf-ide > * { margin: 0 !important; }
.kf-ide::before {
	content: "";
	position: absolute;
	inset: 10% -4% 0 6%;
	z-index: -1;
	border-radius: 60px;
	background: conic-gradient(from 180deg, rgba(139, 92, 255, .6), rgba(45, 226, 255, .45), rgba(198, 255, 61, .45), rgba(139, 92, 255, .6));
	filter: blur(80px);
	opacity: .4;
	transition: opacity .9s;
}
.kf-ide.is-deployed::before { opacity: .85; }
.kf-ide__tabs {
	box-sizing: border-box;
	width: 76%;
	display: flex;
	align-items: center;
	gap: .25rem;
	height: 2.6rem;
	padding: 0 .75rem 0 4.75rem;
	position: relative;
	border: 1px solid var(--kf-hair);
	border-bottom: 0;
	border-radius: 14px 14px 0 0;
	background: rgba(20, 25, 35, .96);
	font-family: var(--kf-mono);
	font-size: .72rem;
	color: var(--kf-muted);
	white-space: nowrap;
	overflow: hidden;
}
.kf-ide__tabs::before {
	content: "";
	position: absolute;
	left: 1rem;
	top: 50%;
	width: 44px;
	height: 10px;
	margin-top: -5px;
	background:
		radial-gradient(circle at 5px 5px, #ff5f57 4.5px, transparent 5px),
		radial-gradient(circle at 22px 5px, #febc2e 4.5px, transparent 5px),
		radial-gradient(circle at 39px 5px, #28c840 4.5px, transparent 5px);
}
.kf-ide__tab { padding: .45rem .8rem; border-radius: 7px 7px 0 0; align-self: flex-end; }
.kf-ide__tab.is-active { color: var(--kf-text); background: var(--kf-surface); box-shadow: inset 0 2px 0 var(--kf-lime); }
.wp-block-code.is-style-kf-ide {
	box-sizing: border-box;
	width: 76%;
	position: relative;
	height: 17rem;
	margin: 0;
	padding: 1.1rem 1.1rem 3rem 3.2rem;
	font-size: clamp(.68rem, .8vw, .8rem);
	line-height: 1.8;
	white-space: pre-wrap;
	border-radius: 0 0 14px 14px;
	background: rgba(13, 16, 22, .97);
	box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .95);
	overflow: hidden;
}
.wp-block-code.is-style-kf-ide::before {
	content: "1\A 2\A 3\A 4\A 5\A 6\A 7\A 8\A 9\A 10\A 11\A 12\A 13\A 14\A 15\A 16\A 17\A 18\A 19\A 20\A 21\A 22\A 23\A 24\A 25\A 26";
	position: absolute;
	top: 1.1rem;
	left: 0;
	width: 2.2rem;
	text-align: right;
	white-space: pre;
	color: rgba(125, 135, 153, .3);
}
.wp-block-code.is-style-kf-ide code { display: block; white-space: pre-wrap; }
.kf-ide__status {
	position: relative;
	z-index: 2;
	width: 76%;
	height: 2.1rem;
	margin-top: -2.1rem !important;
	align-items: center;
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: .5rem 1rem;
	font-family: var(--kf-mono);
	font-size: .66rem;
	color: var(--kf-muted);
	border-top: 1px solid var(--kf-hair);
	background: rgba(20, 25, 35, .96);
	border-radius: 0 0 14px 14px;
}
.kf-ide__status b { color: var(--kf-lime); font-weight: 500; }
.kf-ide.is-deployed .kf-ide__status { color: var(--kf-lime); }

.kf-ide__preview {
	position: relative;
	z-index: 3;
	box-sizing: border-box;
	width: 80%;
	margin: calc(-1 * var(--overlap)) -1.5rem 0 auto !important;
	border: 1px solid rgba(233, 237, 245, .16);
	border-radius: 14px;
	background: #dfe3ea;
	overflow: hidden;
	box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .25);
	transition: box-shadow .9s;
}
.kf-ide.is-deployed .kf-ide__preview { box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .95), 0 0 80px -10px rgba(198, 255, 61, .5); }
.kf-ide__preview > * { margin: 0 !important; }
.kf-ide__url {
	position: relative;
	height: 2.6rem;
	line-height: 2.6rem;
	padding: 0 1rem 0 4.2rem;
	font-family: var(--kf-mono);
	font-size: .7rem;
	color: #5b6475;
	background: #e6e9ef;
	border-bottom: 1px solid #cfd5df;
	white-space: nowrap;
	overflow: hidden;
}
.kf-ide__url::before {
	content: "";
	position: absolute;
	left: 1rem;
	top: 50%;
	width: 40px;
	height: 10px;
	margin-top: -5px;
	background:
		radial-gradient(circle at 5px 5px, #c3c9d4 4.5px, transparent 5px),
		radial-gradient(circle at 20px 5px, #c3c9d4 4.5px, transparent 5px),
		radial-gradient(circle at 35px 5px, #c3c9d4 4.5px, transparent 5px);
}
.kf-ide__bar {
	position: absolute;
	z-index: 6;
	left: 0;
	top: 2.6rem;
	height: 2px;
	width: 100%;
	background: var(--kf-signal);
	transform: scaleX(var(--build, 0));
	transform-origin: left;
	transition: transform .5s var(--kf-ease), opacity .6s;
}
.kf-ide.is-deployed .kf-ide__bar { opacity: 0; }
.kf-ide__card { display: none; }
html:not(.kf-js) .kf-ide__card,
.editor-styles-wrapper .kf-ide__card { display: block; padding: 1rem; color: #1b2130; }

/* plakietki po deployu */
.kf-badge {
	position: absolute;
	z-index: 8;
	padding: .55rem .9rem;
	border-radius: 12px;
	font-family: var(--kf-mono);
	font-size: .72rem;
	color: var(--kf-text);
	background: rgba(20, 25, 35, .94);
	border: 1px solid rgba(233, 237, 245, .14);
	box-shadow: 0 20px 40px -15px rgba(0, 0, 0, .8);
	opacity: 0;
	transform: translateY(14px) scale(.7);
	transition: transform .7s cubic-bezier(.34, 1.56, .64, 1), opacity .4s;
	white-space: nowrap;
	pointer-events: none;
}
.kf-badge b { color: var(--kf-lime); font-weight: 600; margin-right: .35em; }
.kf-badge--1 { top: 1rem; right: -1rem; }
.kf-badge--2 { bottom: 22%; left: -1.5rem; }
.kf-badge--3 { bottom: -1.3rem; right: 18%; }
.kf-ide.is-deployed .kf-badge { opacity: 1; transform: none; }
.kf-ide.is-deployed .kf-badge--2 { transition-delay: .12s; }
.kf-ide.is-deployed .kf-badge--3 { transition-delay: .24s; }

/* ===== Miniaturowa strona „nova” (projekt 760 px, skalowany przez JS) ===== */
.kf-ms-view {
	position: relative;
	height: var(--view-h);
	overflow: hidden;
	background: #eef1f6;
	transition: background .9s;
}
.kf-ms-view.is-dark { background: #07080c; }
.kf-ms {
	--fill: 0;
	position: absolute;
	left: 0;
	top: 0;
	width: 760px;
	transform-origin: 0 0;
	transform: translateY(var(--ty, 0px)) scale(var(--s, 1));
	transition: transform 1.2s cubic-bezier(.65, 0, .2, 1), background .9s, color .9s;
	font-family: var(--kf-display);
	font-size: 14px;
	line-height: 1.4;
	color: #586174;
	background: #eef1f6;
}
.kf-ms.is-showcase { transition: transform 7s cubic-bezier(.45, 0, .25, 1), background .9s, color .9s; }
.kf-ms * { box-sizing: border-box; margin: 0; }
.kf-ms__w { transition: opacity .8s var(--kf-ease), transform 1s var(--kf-ease), background .9s var(--kf-ease), color .8s, box-shadow 1s, border-color .6s, letter-spacing .9s, filter .9s, gap .8s; }

/* nawigacja */
.kf-ms-nav {
	display: flex;
	align-items: center;
	gap: 26px;
	padding: 18px 32px;
	border-bottom: 1px solid rgba(127, 137, 153, .28);
	font-size: 13px;
}
.kf-ms-nav b { margin-right: auto; font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.kf-ms-nav span { opacity: .7; }
.kf-ms-nav em {
	font-style: normal;
	font-family: var(--kf-mono);
	font-size: 11px;
	padding: 8px 15px;
	border-radius: 999px;
	border: 1px dashed rgba(127, 137, 153, .6);
}
.kf-ms-nav.is-on { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.kf-ms-nav.is-on em { border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); }

/* hero */
.kf-ms-hero {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: 28px;
	align-items: center;
	padding: 58px 40px 50px 32px;
}
.kf-ms-pill {
	display: inline-block;
	padding: 5px 12px;
	font-family: var(--kf-mono);
	font-size: 11px;
	border: 1px solid rgba(127, 137, 153, .4);
	border-radius: 999px;
	opacity: .85;
}
.kf-ms-title {
	margin-top: 18px !important;
	font-size: 50px;
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -.045em;
	color: #a7afbd;
	background-size: 200% 100%;
}
.kf-ms-title.is-on {
	-webkit-background-clip: text !important;
	background-clip: text !important;
	background-size: 200% 100% !important;
	color: transparent;
	-webkit-text-fill-color: transparent;
	animation: kf-shift 5s ease-in-out infinite alternate;
}
.kf-ms-sub { margin-top: 14px !important; font-family: var(--wp--preset--font-family--body); font-size: 15px; opacity: .72; max-width: 36ch; }
.kf-ms-btns { display: flex; gap: 10px; margin-top: 26px !important; }
.kf-ms-btn,
.kf-ms-btn2 {
	padding: 12px 20px;
	border-radius: 999px;
	font-family: var(--kf-mono);
	font-size: 12px;
	font-weight: 600;
}
.kf-ms-btn { border: 1px dashed rgba(127, 137, 153, .7); }
.kf-ms-btn.is-on { border-color: transparent; color: #06070a; }
.kf-ms-btn2 { border: 1px solid rgba(127, 137, 153, .4); opacity: .8; }
.kf-ms-mockup {
	--accent: #c6ff3d;
	position: relative;
	justify-self: center;
	width: 272px;
	padding: 10px;
	border-radius: 16px;
	border: 1px dashed rgba(127, 137, 153, .55);
}
.kf-ms-mockup.is-on {
	border: 1px solid rgba(255, 255, 255, .1);
	background: linear-gradient(160deg, #141a26, #0b0e14);
	box-shadow: 0 50px 90px -30px rgba(139, 92, 255, .6), 0 0 0 1px rgba(0, 0, 0, .4);
}
.kf-ms-cover {
	position: relative;
	height: 150px;
	border-radius: 10px;
	overflow: hidden;
	background: rgba(127, 137, 153, .22);
}
.kf-ms-cover span {
	position: absolute;
	z-index: 2;
	top: 10px;
	left: 10px;
	padding: 3px 8px;
	border-radius: 999px;
	font-family: var(--kf-mono);
	font-size: 9px;
	letter-spacing: .1em;
	color: rgba(127, 137, 153, .9);
	border: 1px dashed rgba(127, 137, 153, .6);
}
.kf-ms-cover i { position: absolute; display: block; border: 1px dashed rgba(127, 137, 153, .6); transition: all 1s var(--kf-ease); }
.kf-ms-cover i:nth-of-type(1) { width: 74px; height: 74px; right: 18px; top: 20px; border-radius: 50%; }
.kf-ms-cover i:nth-of-type(2) { width: 120px; height: 54px; left: 16px; bottom: 16px; border-radius: 10px; }
.kf-ms-cover i:nth-of-type(3) { width: 70px; height: 6px; left: 16px; bottom: 82px; border-radius: 3px; }
.kf-ms-cover em { position: absolute; right: 24px; bottom: 18px; font-style: normal; font-size: 18px; color: rgba(127, 137, 153, .6); transition: color .8s; }
.kf-ms-cover.is-on span { color: #06070a; background: var(--accent, #c6ff3d); border-color: transparent; font-weight: 700; }
.kf-ms-cover.is-on i { border: 0; }
.kf-ms-cover.is-on i:nth-of-type(1) { background: radial-gradient(circle at 35% 30%, #fff, rgba(255, 255, 255, .15) 60%); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .5); animation: kf-ms-float 4s ease-in-out infinite alternate; }
.kf-ms-cover.is-on i:nth-of-type(2) {
	background:
		linear-gradient(rgba(255, 255, 255, .9) 0 0) 12px 14px / 50% 6px no-repeat,
		linear-gradient(rgba(255, 255, 255, .5) 0 0) 12px 28px / 70% 4px no-repeat,
		linear-gradient(rgba(255, 255, 255, .5) 0 0) 12px 37px / 40% 4px no-repeat,
		rgba(6, 7, 10, .35);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, .25);
}
.kf-ms-cover.is-on i:nth-of-type(3) { background: rgba(255, 255, 255, .85); }
.kf-ms-cover.is-on em { color: #fff; }
.kf-ms-mock__row { display: flex; align-items: center; gap: 10px; margin-top: 12px !important; }
.kf-ms-mock__row b { display: block; font-size: 13px; letter-spacing: -.01em; }
.kf-ms-mock__row small { display: block; margin-top: 2px; font-size: 10px; opacity: .6; }
.kf-ms-avatar { width: 34px; height: 34px; flex: none; border-radius: 50%; background: rgba(127, 137, 153, .3); }
.kf-ms-avatar.is-on { box-shadow: 0 0 0 3px rgba(198, 255, 61, .2), 0 0 18px rgba(45, 226, 255, .4); }
.kf-ms-chips { display: flex; align-items: center; gap: 5px; margin-top: 10px !important; }
.kf-ms-chips span { padding: 2px 8px; border-radius: 999px; font-family: var(--kf-mono); font-size: 9px; border: 1px solid rgba(127, 137, 153, .35); opacity: .8; }
.kf-ms-chips .kf-ms-stars { margin-left: auto; border: 0; padding: 0; letter-spacing: 1px; color: rgba(127, 137, 153, .55); opacity: 1; font-size: 10px; }
.kf-ms-mockup.is-on .kf-ms-stars { color: #febc2e; }
.kf-ms-mock__foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 12px !important;
	padding-top: 10px;
	border-top: 1px solid rgba(127, 137, 153, .22);
}
.kf-ms-metric { font-family: var(--kf-mono); font-size: 11px; font-weight: 600; color: #a7afbd; }
.kf-ms-mini { padding: 5px 10px; border-radius: 999px; font-family: var(--kf-mono); font-size: 9px; border: 1px solid rgba(127, 137, 153, .4); }
.kf-ms-mockup.is-on .kf-ms-mini { border-color: rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); }
.kf-ms-notify {
	position: absolute;
	left: -44px;
	bottom: 66px;
	padding: 9px 13px;
	border-radius: 12px;
	font-family: var(--kf-mono);
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
	color: #06070a;
	background: var(--accent, #c6ff3d);
	box-shadow: 0 18px 40px -12px rgba(198, 255, 61, .7);
	opacity: 0;
	transform: translateY(14px) scale(.85);
	transition: opacity .6s, transform .8s cubic-bezier(.34, 1.56, .64, 1);
}
.kf-ms-notify.is-on { animation: kf-ms-float 3.5s 1s ease-in-out infinite alternate; }
.kf-ms-logo { color: inherit; }

/* logotypy — przewijany pasek */
.kf-ms-logos {
	overflow: hidden;
	padding: 20px 0;
	border-block: 1px solid rgba(127, 137, 153, .22);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.kf-ms-logos__track { display: flex; gap: 46px; width: max-content; padding-left: 32px; font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.kf-ms-logos span { white-space: nowrap; color: transparent; background: rgba(127, 137, 153, .28); border-radius: 4px; }
.kf-ms-logos.is-on span { color: inherit; background: none; }
.kf-ms-logos.is-on .kf-ms-logos__track { animation: kf-ms-marquee 16s linear infinite; }

/* funkcje — karty z mini-wizualizacjami */
.kf-ms-features {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	padding: 42px 32px 30px;
}
.kf-ms-features > div {
	position: relative;
	padding: 20px 20px 18px;
	border-radius: 14px;
	border: 1px dashed rgba(127, 137, 153, .5);
	overflow: hidden;
	transition: background .8s, border-color .6s;
}
.kf-ms-features i {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	font-style: normal;
	font-family: var(--kf-mono);
	font-size: 13px;
	font-weight: 700;
	color: transparent;
	background: rgba(127, 137, 153, .28);
	transition: background .8s, box-shadow .8s, color .8s;
}
.kf-ms-features b { display: block; margin-top: 14px; font-size: 15px; }
.kf-ms-features p { margin-top: 5px !important; font-size: 11.5px; opacity: .6; min-height: 30px; }
.kf-ms-features.is-on > div { border: 1px solid rgba(255, 255, 255, .08); background: linear-gradient(170deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); }
.kf-ms-features.is-on i { color: #06070a; }
.kf-ms-features.is-on > div:nth-child(1) i { background: var(--accent, #c6ff3d); box-shadow: 0 0 26px rgba(198, 255, 61, .55); }
.kf-ms-features.is-on > div:nth-child(2) i { background: #2de2ff; box-shadow: 0 0 26px rgba(45, 226, 255, .55); }
.kf-ms-features.is-on > div:nth-child(3) i { background: #8b5cff; box-shadow: 0 0 26px rgba(139, 92, 255, .6); color: #fff; }

/* wskaźnik prędkości */
.kf-ms-gauge {
	--kf-g: 0;
	position: relative;
	display: block;
	width: 96px;
	height: 96px;
	margin: 14px auto 0;
	border-radius: 50%;
	background: conic-gradient(from 225deg, rgba(127, 137, 153, .55) 0 calc(var(--kf-g) * 270deg), rgba(127, 137, 153, .18) 0 270deg, transparent 270deg);
	-webkit-mask: radial-gradient(circle, transparent 58%, #000 59%);
	mask: radial-gradient(circle, transparent 58%, #000 59%);
	transition: --kf-g 1.8s var(--kf-ease);
}
.kf-ms-gauge em { display: none; }
.kf-ms-features.is-on .kf-ms-gauge {
	--kf-g: .92;
	background: conic-gradient(from 225deg, #c6ff3d 0, #2de2ff calc(var(--kf-g) * 270deg), rgba(255, 255, 255, .08) 0 270deg, transparent 270deg);
}
.kf-ms-features > div:nth-child(1)::after {
	content: "0,4 s";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 52px;
	text-align: center;
	font-family: var(--kf-mono);
	font-size: 13px;
	font-weight: 700;
	opacity: .35;
	transition: opacity .8s;
}
.kf-ms-features.is-on > div:nth-child(1)::after { opacity: 1; }

/* paleta + typografia */
.kf-ms-swatch { display: flex; align-items: center; gap: 6px; margin-top: 18px; }
.kf-ms-swatch u { width: 22px; height: 22px; border-radius: 50%; background: rgba(127, 137, 153, .3); transition: background .8s, transform .8s; }
.kf-ms-swatch em { margin-left: auto; font-family: var(--wp--preset--font-family--serif); font-style: italic; font-size: 34px; line-height: 1; opacity: .4; transition: opacity .8s; }
.kf-ms-features.is-on .kf-ms-swatch u:nth-child(1) { background: #c6ff3d; }
.kf-ms-features.is-on .kf-ms-swatch u:nth-child(2) { background: #2de2ff; transform: translateX(-8px); }
.kf-ms-features.is-on .kf-ms-swatch u:nth-child(3) { background: #8b5cff; transform: translateX(-16px); }
.kf-ms-features.is-on .kf-ms-swatch u:nth-child(4) { background: #ff4fa3; transform: translateX(-24px); }
.kf-ms-features.is-on .kf-ms-swatch u:nth-child(5) { background: #eef1f6; transform: translateX(-32px); }
.kf-ms-features.is-on .kf-ms-swatch em { opacity: 1; }

/* linijki kodu */
.kf-ms-lines { display: block; margin-top: 16px; padding: 10px; border-radius: 8px; background: rgba(127, 137, 153, .1); }
.kf-ms-lines u { display: block; height: 6px; margin: 5px 0; border-radius: 3px; background: rgba(127, 137, 153, .35); transition: background .8s; }
.kf-ms-lines u:nth-child(1) { width: 60%; }
.kf-ms-lines u:nth-child(2) { width: 82%; margin-left: 14px; }
.kf-ms-lines u:nth-child(3) { width: 48%; margin-left: 14px; }
.kf-ms-lines u:nth-child(4) { width: 30%; }
.kf-ms-features.is-on .kf-ms-lines { background: rgba(0, 0, 0, .35); }
.kf-ms-features.is-on .kf-ms-lines u:nth-child(1) { background: linear-gradient(90deg, #8b5cff 30%, #eef1f6 30% 45%, #2de2ff 45%); }
.kf-ms-features.is-on .kf-ms-lines u:nth-child(2) { background: linear-gradient(90deg, #2de2ff 40%, rgba(238, 241, 246, .6) 40% 50%, #c6ff3d 50%); }
.kf-ms-features.is-on .kf-ms-lines u:nth-child(3) { background: linear-gradient(90deg, #ff4fa3 50%, #c6ff3d 50%); }
.kf-ms-features.is-on .kf-ms-lines u:nth-child(4) { background: #8b5cff; animation: kf-blink 1.2s steps(1) infinite; }

/* galeria realizacji */
.kf-ms-gallery { padding: 6px 32px 40px; border-radius: 16px; }
.kf-ms-gallery__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.kf-ms-gallery__head b { font-size: 24px; letter-spacing: -.03em; }
.kf-ms-gallery__head span { font-family: var(--kf-mono); font-size: 11px; opacity: .65; }
.kf-ms-gallery__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; }
.kf-ms-gallery figure { margin: 0; }
.kf-ms-gallery figure > div {
	position: relative;
	height: 150px;
	border-radius: 12px;
	overflow: hidden;
	border: 1px dashed rgba(127, 137, 153, .5);
	background: rgba(127, 137, 153, .12);
	transition: background .9s, border-color .6s;
}
.kf-ms-gallery figure i { position: absolute; display: block; border: 1px dashed rgba(127, 137, 153, .55); transition: all 1s var(--kf-ease); }
.kf-ms-gallery figure i:nth-of-type(1) { width: 60%; height: 54%; left: 12%; top: 22%; border-radius: 8px; }
.kf-ms-gallery figure i:nth-of-type(2) { width: 44px; height: 44px; right: 12%; bottom: 14%; border-radius: 50%; }
.kf-ms-gallery figcaption { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; }
.kf-ms-gallery figcaption small { font-family: var(--kf-mono); font-size: 10px; opacity: .55; }
.kf-ms-gallery.is-on figure > div { border-color: transparent; }
.kf-ms-gallery.is-on figure:nth-child(1) > div { background: linear-gradient(135deg, #8b5cff, #2de2ff); }
.kf-ms-gallery.is-on figure:nth-child(2) > div { background: linear-gradient(160deg, #0f2a1d, #c6ff3d); }
.kf-ms-gallery.is-on figure:nth-child(3) > div { background: linear-gradient(135deg, #ff4fa3, #8b5cff 70%); }
.kf-ms-gallery.is-on figure i { border: 1px solid rgba(255, 255, 255, .35); background: rgba(6, 7, 10, .3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.kf-ms-gallery.is-on figure i:nth-of-type(2) { background: radial-gradient(circle at 35% 30%, #fff, rgba(255, 255, 255, .2) 65%); border: 0; animation: kf-ms-float 4s ease-in-out infinite alternate; }

/* panel analityczny */
.kf-ms-dash {
	display: grid;
	grid-template-columns: 128px 1fr;
	gap: 16px;
	margin: 6px 32px 44px !important;
	padding: 16px;
	border-radius: 18px;
	border: 1px dashed rgba(127, 137, 153, .5);
	transform-origin: 50% 0;
}
.kf-ms-dash.is-on {
	border: 1px solid rgba(255, 255, 255, .1);
	background: linear-gradient(160deg, #121722, #0b0e14);
	box-shadow: 0 50px 90px -30px rgba(139, 92, 255, .55);
}
.kf-ms-side { font-size: 11px; }
.kf-ms-side b { display: block; margin-bottom: 16px; font-size: 13px; }
.kf-ms-side i { display: block; margin-bottom: 6px; padding: 7px 9px; border-radius: 8px; font-style: normal; opacity: .65; }
.kf-ms-side i::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 3px; background: currentColor; opacity: .5; }
.kf-ms-dash.is-on .kf-ms-side i.is-active { opacity: 1; color: #06070a; background: var(--accent, #c6ff3d); }
.kf-ms-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.kf-ms-search { flex: 1; padding: 7px 12px; border-radius: 999px; font-size: 11px; opacity: .6; background: rgba(127, 137, 153, .14); }
.kf-ms-bell { font-size: 10px; opacity: .5; }
.kf-ms-dash.is-on .kf-ms-bell { color: #ff4fa3; opacity: 1; }
.kf-ms-me { width: 26px; height: 26px; border-radius: 50%; background: rgba(127, 137, 153, .35); }
.kf-ms-dash.is-on .kf-ms-me { background: linear-gradient(135deg, #8b5cff, #2de2ff); }
.kf-ms-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kf-ms-kpis div { position: relative; padding: 11px 12px 30px; border-radius: 10px; background: rgba(127, 137, 153, .12); overflow: hidden; }
.kf-ms-kpis small { display: block; font-size: 10px; opacity: .6; }
.kf-ms-kpis b { display: inline-block; margin-top: 4px; font-size: 21px; letter-spacing: -.03em; color: transparent; background: rgba(127, 137, 153, .3); border-radius: 4px; }
.kf-ms-kpis em { margin-left: 6px; font-style: normal; font-family: var(--kf-mono); font-size: 9px; padding: 2px 6px; border-radius: 999px; opacity: 0; transition: opacity .6s; }
.kf-ms-kpis svg { position: absolute; left: 10px; right: 10px; bottom: 8px; width: calc(100% - 20px); height: 18px; overflow: visible; }
.kf-ms-kpis polyline { fill: none; stroke: rgba(127, 137, 153, .4); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 90; stroke-dashoffset: 90; transition: stroke-dashoffset 1.6s var(--kf-ease), stroke .6s; }
.kf-ms-dash.is-on .kf-ms-kpis b { color: inherit; background: none; }
.kf-ms-dash.is-on .kf-ms-kpis em { opacity: 1; color: #06070a; background: var(--accent, #c6ff3d); }
.kf-ms-dash.is-on .kf-ms-kpis div:nth-child(3) em { background: #2de2ff; }
.kf-ms-dash.is-on .kf-ms-kpis polyline { stroke: #2de2ff; stroke-dashoffset: 0; }
.kf-ms-dash.is-on .kf-ms-kpis div:nth-child(1) polyline { stroke: #c6ff3d; }
.kf-ms-dash.is-on .kf-ms-kpis div:nth-child(2) polyline { stroke: #8b5cff; }
.kf-ms-chart { display: grid; grid-template-columns: 1fr 130px; gap: 10px; margin-top: 10px !important; }
.kf-ms-bars {
	position: relative;
	display: flex;
	align-items: flex-end;
	gap: 6px;
	height: 128px;
	padding: 12px;
	border-radius: 10px;
	background:
		linear-gradient(rgba(127, 137, 153, .12) 1px, transparent 1px) 0 12px / 100% 28px,
		rgba(127, 137, 153, .08);
}
.kf-ms-bars span {
	flex: 1;
	height: calc(6px + var(--h) * var(--fill, 0));
	border-radius: 4px 4px 0 0;
	background: rgba(127, 137, 153, .35);
	transition: height 1.1s var(--kf-ease), background .6s;
}
.kf-ms-bars span:nth-child(odd) { transition-delay: .08s; }
.kf-ms-bars svg { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); overflow: visible; }
.kf-ms-bars path { fill: none; stroke: rgba(127, 137, 153, .45); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 2s var(--kf-ease) .3s, stroke .6s; vector-effect: non-scaling-stroke; }
.kf-ms-chart.is-on .kf-ms-bars span { background: linear-gradient(180deg, rgba(45, 226, 255, .9), rgba(139, 92, 255, .5)); }
.kf-ms-chart.is-on .kf-ms-bars span:nth-child(3n) { background: linear-gradient(180deg, #c6ff3d, rgba(45, 226, 255, .5)); }
.kf-ms-chart.is-on .kf-ms-bars path { stroke: #fff; stroke-dashoffset: 0; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .6)); }
.kf-ms-donut {
	--kf-g: 0;
	position: relative;
	display: grid;
	place-items: center;
	border-radius: 10px;
	background: rgba(127, 137, 153, .08);
}
.kf-ms-donut::before {
	content: "";
	position: absolute;
	width: 92px;
	height: 92px;
	border-radius: 50%;
	background: conic-gradient(rgba(127, 137, 153, .5) calc(var(--kf-g) * 360deg), rgba(127, 137, 153, .18) 0);
	-webkit-mask: radial-gradient(circle, transparent 60%, #000 61%);
	mask: radial-gradient(circle, transparent 60%, #000 61%);
	transition: --kf-g 1.8s var(--kf-ease);
}
.kf-ms-donut span { position: relative; text-align: center; }
.kf-ms-donut b { display: block; font-size: 18px; letter-spacing: -.03em; }
.kf-ms-donut small { font-family: var(--kf-mono); font-size: 9px; opacity: .6; }
.kf-ms-chart.is-on .kf-ms-donut { --kf-g: .72; }
.kf-ms-chart.is-on .kf-ms-donut::before { background: conic-gradient(#c6ff3d, #2de2ff calc(var(--kf-g) * 360deg), rgba(255, 255, 255, .08) 0); }

/* liczniki */
.kf-ms-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin: 0 32px 44px !important;
	border-block: 1px solid rgba(127, 137, 153, .22);
}
.kf-ms-stats div { padding: 26px 18px; border-left: 1px solid rgba(127, 137, 153, .22); }
.kf-ms-stats div:first-child { border-left: 0; padding-left: 0; }
.kf-ms-stats b { display: block; font-size: 40px; font-weight: 700; letter-spacing: -.05em; line-height: 1; color: #a7afbd; font-variant-numeric: tabular-nums; }
.kf-ms-stats small { display: block; margin-top: 8px; font-family: var(--kf-mono); font-size: 10px; opacity: .6; }
.kf-ms-stats.is-on b { background: linear-gradient(90deg, #c6ff3d, #2de2ff, #8b5cff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* CTA */
.kf-ms-cta {
	position: relative;
	margin: 0 32px 40px !important;
	padding: 44px 32px;
	border-radius: 20px;
	text-align: center;
	overflow: hidden;
	border: 1px dashed rgba(127, 137, 153, .5);
}
.kf-ms-cta > i { position: absolute; display: block; border-radius: 50%; border: 1px dashed rgba(127, 137, 153, .5); transition: all 1s var(--kf-ease); }
.kf-ms-cta > i:nth-of-type(1) { width: 120px; height: 120px; left: -30px; top: -40px; }
.kf-ms-cta > i:nth-of-type(2) { width: 80px; height: 80px; right: 30px; bottom: -30px; }
.kf-ms-cta h4 { position: relative; font-size: 30px; font-weight: 700; letter-spacing: -.035em; }
.kf-ms-cta p { position: relative; margin-top: 8px !important; font-size: 13px; opacity: .8; }
.kf-ms-cta__form { position: relative; display: inline-flex; gap: 6px; margin-top: 20px; padding: 6px; border-radius: 999px; border: 1px dashed rgba(127, 137, 153, .6); }
.kf-ms-cta__form span { padding: 8px 16px; min-width: 190px; text-align: left; font-family: var(--kf-mono); font-size: 11px; opacity: .6; }
.kf-ms-cta__form a { padding: 9px 18px; border-radius: 999px; font-family: var(--kf-mono); font-size: 11px; font-weight: 600; border: 1px dashed rgba(127, 137, 153, .6); }
.kf-ms-cta.is-on { border-color: transparent; color: #fff; box-shadow: 0 30px 70px -25px rgba(45, 226, 255, .6); }
.kf-ms-cta.is-on > i { border: 0; background: rgba(255, 255, 255, .14); animation: kf-ms-float 5s ease-in-out infinite alternate; }
.kf-ms-cta.is-on .kf-ms-cta__form { border: 1px solid rgba(255, 255, 255, .35); background: rgba(6, 7, 10, .25); }
.kf-ms-cta.is-on .kf-ms-cta__form a { border: 0; background: #fff; color: #06070a; }

/* stopka */
.kf-ms-footer { padding: 30px 32px 22px; border-top: 1px solid rgba(127, 137, 153, .22); font-size: 12px; }
.kf-ms-footer__cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 24px; }
.kf-ms-footer__cols b { display: block; margin-bottom: 10px; font-size: 13px; }
.kf-ms-footer__cols span { display: block; margin-bottom: 6px; opacity: .6; }
.kf-ms-footer__cols p { max-width: 26ch; opacity: .6; font-size: 11.5px; }
.kf-ms-socials { display: flex !important; gap: 6px; margin-top: 12px; opacity: 1 !important; }
.kf-ms-socials i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; font-style: normal; font-family: var(--kf-mono); font-size: 9px; border: 1px solid rgba(127, 137, 153, .35); }
.kf-ms-footer.is-on .kf-ms-socials i { border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); }
.kf-ms-footer.is-on .kf-ms-footer__brand { color: var(--accent, #c6ff3d); }
.kf-ms-footer__bottom { display: flex; justify-content: space-between; margin-top: 24px; padding-top: 14px; border-top: 1px solid rgba(127, 137, 153, .18); font-family: var(--kf-mono); font-size: 10px; opacity: .6; }

@property --kf-g { syntax: "<number>"; initial-value: 0; inherits: true; }
@keyframes kf-ms-marquee { to { transform: translateX(-50%); } }

/* toast + konfetti (poza skalowaną stroną) */
.kf-ms-toast {
	position: absolute;
	z-index: 7;
	left: 50%;
	top: 46%;
	padding: .7rem 1.25rem;
	border-radius: 999px;
	font-family: var(--kf-mono);
	font-size: .8rem;
	font-weight: 600;
	color: var(--kf-base);
	background: var(--kf-lime);
	box-shadow: 0 10px 50px -6px rgba(198, 255, 61, .85);
	transform: translate(-50%, -50%) scale(.4);
	opacity: 0;
	transition: transform .6s cubic-bezier(.34, 1.56, .64, 1), opacity .3s;
	white-space: nowrap;
	pointer-events: none;
}
.kf-ms-view.is-toast .kf-ms-toast { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.kf-ms-confetti { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; pointer-events: none; }

@keyframes kf-ms-hue { to { filter: hue-rotate(360deg); } }
@keyframes kf-ms-float { to { transform: translateY(-10px); } }

/* MARQUEE */
.kf-marquees { position: relative; padding-block: var(--wp--preset--spacing--40); overflow: clip; }
.kf-marquees > * { margin: 0 !important; }
.kf-marquee {
	overflow: hidden;
	padding-block: clamp(.9rem, 2vw, 1.4rem) !important;
	border-block: 1px solid var(--kf-hair);
	background: rgba(6, 7, 10, .6);
}
.kf-marquee p {
	margin: 0;
	flex: none;
	font-family: var(--kf-display);
	font-size: clamp(2rem, 5.5vw, 5rem);
	font-weight: 600;
	letter-spacing: -.04em;
	line-height: 1;
	white-space: nowrap;
}
.kf-marquee p:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(233, 237, 245, .5); }
.kf-marquee p::after {
	content: "✦";
	display: inline-block;
	margin-left: clamp(1.25rem, 3vw, 2.5rem);
	font-size: .45em;
	vertical-align: .4em;
	color: var(--kf-lime);
	-webkit-text-stroke: 0;
}
.kf-marquee--code {
	position: relative;
	z-index: 2;
	margin-top: -.5rem !important;
	background: var(--kf-lime);
	color: var(--kf-base);
	border: 0;
	transform: rotate(-1.6deg) scale(1.02);
	box-shadow: 0 20px 60px -20px rgba(198, 255, 61, .45);
}
.kf-marquee--code p {
	font-family: var(--kf-mono);
	font-size: clamp(1rem, 2vw, 1.5rem);
	font-weight: 600;
	letter-spacing: 0;
	color: var(--kf-base) !important;
	-webkit-text-stroke: 0 !important;
}
.kf-marquee--code p::after { content: "//"; color: rgba(6, 7, 10, .45); vertical-align: 0; font-size: 1em; }
.kf-marquee__track {
	display: flex;
	flex: none;
	gap: clamp(1.25rem, 3vw, 2.5rem);
	padding-right: clamp(1.25rem, 3vw, 2.5rem);
	animation: kf-marquee var(--kf-marquee-speed, 40s) linear infinite;
}
.kf-marquee--code .kf-marquee__track { animation-direction: reverse; animation-duration: 30s; }

/* PROJEKTY */
.kf-works {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.75rem);
}
.kf-work { display: flex; flex-direction: column; }
.kf-work > * { margin: 0 !important; }
.kf-work__media {
	--c1: 139, 92, 255;
	--c2: 45, 226, 255;
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 12px;
	border: 1px solid var(--kf-hair);
	background: #0a0d13;
	isolation: isolate;
}
.kf-works > :nth-child(2) .kf-work__media { --c1: 198, 255, 61; --c2: 45, 226, 255; }
.kf-works > :nth-child(3) .kf-work__media { --c1: 255, 79, 163; --c2: 139, 92, 255; }
.kf-works > :nth-child(4) .kf-work__media { --c1: 45, 226, 255; --c2: 198, 255, 61; }
.kf-work__media::before {
	content: "";
	position: absolute;
	inset: -30%;
	z-index: -1;
	background:
		radial-gradient(35% 45% at 30% 35%, rgba(var(--c1), .75), transparent 70%),
		radial-gradient(35% 45% at 70% 65%, rgba(var(--c2), .6), transparent 70%);
	filter: blur(18px);
	animation: kf-blob 9s ease-in-out infinite alternate;
}
.kf-work__media::after {
	content: "";
	position: absolute;
	inset: 12% 10% 0;
	z-index: -1;
	border-radius: 10px 10px 0 0;
	border: 1px solid rgba(233, 237, 245, .16);
	border-bottom: 0;
	background:
		radial-gradient(circle at 12px 11px, rgba(233, 237, 245, .45) 3px, transparent 3.5px),
		radial-gradient(circle at 24px 11px, rgba(233, 237, 245, .3) 3px, transparent 3.5px),
		radial-gradient(circle at 36px 11px, rgba(233, 237, 245, .18) 3px, transparent 3.5px),
		linear-gradient(90deg, rgba(233, 237, 245, .18), rgba(233, 237, 245, .32), rgba(233, 237, 245, .18)) 7% 32% / 40% 8% no-repeat,
		linear-gradient(rgba(233, 237, 245, .1) 0 0) 7% 48% / 70% 4% no-repeat,
		linear-gradient(rgba(233, 237, 245, .1) 0 0) 7% 58% / 55% 4% no-repeat,
		linear-gradient(rgba(var(--c1), .85) 0 0) 7% 76% / 18% 9% no-repeat,
		linear-gradient(rgba(233, 237, 245, .08) 0 0) 60% 76% / 30% 30% no-repeat,
		rgba(6, 7, 10, .62);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	transform: translateY(10%);
	transition: transform .9s var(--kf-ease);
}
.kf-work:hover .kf-work__media::after { transform: translateY(2%); }
.kf-work__media > * { margin: 0 !important; position: relative; z-index: 1; }
.kf-work__media p {
	align-self: start;
	justify-self: start;
	margin: .8rem !important;
	padding: .3em .8em;
	font-family: var(--kf-mono);
	font-size: .7rem;
	color: var(--kf-text);
	border-radius: 999px;
	background: rgba(6, 7, 10, .7);
	border: 1px solid rgba(233, 237, 245, .14);
}
.kf-work__media img,
.kf-work__media figure { position: absolute !important; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0 !important; z-index: 2; }
.kf-work__media figure img { position: static !important; }
.kf-work__meta {
	margin-top: 1.25rem !important;
	font-family: var(--kf-mono);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--kf-muted);
}
.kf-work h3 {
	margin-top: .6rem !important;
	font-size: clamp(1.6rem, 2.6vw, 2.4rem);
	letter-spacing: -.035em;
}
.kf-work__desc { margin-top: .5rem !important; color: var(--kf-muted); }
.kf-work .is-style-kf-tags { margin-top: 1rem !important; }

/* karty demo (portfolio) */
.kf-works__intro { max-width: 62ch; margin: -1rem 0 clamp(1.5rem, 3vw, 2.5rem) !important; color: var(--kf-muted); }
.kf-works--demos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kf-work h3 a { color: inherit; background: none; text-decoration: none; transition: color .3s; }
.kf-work h3 a:hover { color: var(--wp--preset--color--accent); }
.kf-work__cta { margin-top: auto !important; padding-top: 1.5rem; }
.kf-work__cta .wp-block-button__link { padding: .75em 1.3em; }
.kf-works--demos > .kf-work--motora .kf-work__media { --c1: 255, 59, 47; --c2: 255, 140, 60; --mk-bg: 14, 15, 18; --mk-a: 255, 59, 47; }
.kf-works--demos > .kf-work--ziarno-i-para .kf-work__media { --c1: 197, 138, 85; --c2: 231, 201, 163; --mk-bg: 246, 239, 230; --mk-a: 59, 36, 24; }
.kf-works--demos > .kf-work--atelier-lumi .kf-work__media { --c1: 215, 154, 138; --c2: 243, 217, 207; --mk-bg: 251, 246, 243; --mk-a: 185, 119, 106; }
.kf-works--demos > .kf-work--linea .kf-work__media { --c1: 181, 100, 60; --c2: 159, 179, 168; --mk-bg: 247, 245, 241; --mk-a: 31, 29, 26; }
.kf-works--demos > .kf-work--lex-nova .kf-work__media { --c1: 201, 164, 90; --c2: 27, 43, 69; --mk-bg: 15, 27, 45; --mk-a: 201, 164, 90; }
.kf-works--demos > .kf-work--yours .kf-work__media { --c1: 198, 255, 61; --c2: 139, 92, 255; }
.kf-works--demos .kf-work[class*="kf-work--"]:not(.kf-work--yours) .kf-work__media::after {
	border-color: rgba(255, 255, 255, .22);
	background:
		radial-gradient(circle at 12px 11px, rgba(var(--mk-a), .55) 3px, transparent 3.5px),
		radial-gradient(circle at 24px 11px, rgba(var(--mk-a), .35) 3px, transparent 3.5px),
		radial-gradient(circle at 36px 11px, rgba(var(--mk-a), .2) 3px, transparent 3.5px),
		linear-gradient(rgba(var(--mk-a), .9) 0 0) 7% 30% / 44% 9% no-repeat,
		linear-gradient(rgba(var(--mk-a), .3) 0 0) 7% 46% / 64% 4% no-repeat,
		linear-gradient(rgba(var(--mk-a), .3) 0 0) 7% 55% / 50% 4% no-repeat,
		linear-gradient(rgba(var(--mk-a), .95) 0 0) 7% 72% / 20% 9% no-repeat,
		linear-gradient(135deg, rgba(var(--c1), .9), rgba(var(--c2), .9)) 92% 62% / 36% 52% no-repeat,
		rgba(var(--mk-bg), .94);
}
/* prawdziwy zrzut strony demo — po najechaniu „przewija się” w dół */
.kf-work__media .kf-work__shot { position: absolute !important; inset: 0; z-index: 2; margin: 0 !important; overflow: hidden; border-radius: inherit; }
.kf-work__media .kf-work__shot a { display: block; width: 100%; height: 100%; }
.kf-work__media .kf-work__shot img { display: block; position: static !important; width: 100%; height: 100% !important; object-fit: cover; object-position: 50% 0; transition: object-position 5s cubic-bezier(.45, 0, .2, 1), transform .9s var(--kf-ease); }
.kf-work:hover .kf-work__shot img { object-position: 50% 100%; transform: scale(1.02); }
.kf-work__media:has(.kf-work__shot) > p { position: absolute; left: 0; bottom: 0; top: auto; align-self: auto; z-index: 3; pointer-events: none; }
.kf-work__media:has(.kf-work__shot)::after { display: none; }
@media (prefers-reduced-motion: reduce) { .kf-work:hover .kf-work__shot img { object-position: 50% 0; } }
@media (max-width: 1100px) { .kf-works--demos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.kf-build {
	--p: 0%;
	position: relative;
	margin-top: auto !important;
	padding-top: 1.75rem;
	font-family: var(--kf-mono);
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--kf-muted);
}
.kf-build::before,
.kf-build::after {
	content: "";
	position: absolute;
	top: 1rem;
	left: 0;
	height: 4px;
	border-radius: 4px;
}
.kf-build::before { right: 0; background: var(--kf-hair); }
.kf-build::after {
	width: var(--p);
	background: var(--kf-signal);
	box-shadow: 0 0 16px rgba(198, 255, 61, .45);
	transition: width 1.8s var(--kf-ease) .2s;
}
.kf-build.is-done { color: var(--kf-lime); }

/* USŁUGI */
.kf-services {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.75rem);
}
.kf-service > * { margin: 0 !important; }
.kf-service__top > * { margin: 0 !important; }
.kf-service__icon {
	font-family: var(--kf-mono);
	font-size: clamp(2.25rem, 3.5vw, 3rem);
	font-weight: 600;
	line-height: 1;
	background: var(--kf-signal);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.kf-service__no { font-family: var(--kf-mono); font-size: var(--wp--preset--font-size--small); color: var(--kf-muted); }
.kf-service h3 { margin-top: 1.25rem !important; font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.kf-service p:not(.kf-service__icon):not(.kf-service__no) { margin-top: .75rem !important; color: var(--kf-muted); }
.kf-service .is-style-kf-tags { margin-top: 1.25rem !important; }

/* PROCES — git log */
.kf-gitlog {
	--draw: 0;
	position: relative;
	padding-left: 0;
}
.kf-gitlog::before,
.kf-gitlog::after {
	content: "";
	position: absolute;
	top: .6rem;
	bottom: .6rem;
	left: calc(7.5rem + 9px);
	width: 2px;
	border-radius: 2px;
}
.kf-gitlog::before { background: var(--kf-hair); }
.kf-gitlog::after {
	background: linear-gradient(var(--kf-lime), var(--kf-cyan), var(--kf-violet));
	transform: scaleY(var(--draw));
	transform-origin: top;
	box-shadow: 0 0 14px rgba(198, 255, 61, .4);
}
.kf-commit {
	position: relative;
	display: grid;
	grid-template-columns: 7.5rem 20px minmax(0, 1fr);
	gap: 0 1.5rem;
	padding-block: 1.5rem;
}
.kf-commit > * { margin: 0 !important; }
.kf-commit__hash {
	grid-column: 1;
	padding-top: .35rem;
	font-family: var(--kf-mono);
	font-size: var(--wp--preset--font-size--small);
	color: var(--kf-lime);
	text-align: right;
}
.kf-commit::before {
	content: "";
	grid-column: 2;
	grid-row: 1;
	justify-self: center;
	width: 14px;
	height: 14px;
	margin-top: .55rem;
	border-radius: 50%;
	background: var(--kf-base);
	border: 2px solid var(--kf-muted);
	z-index: 1;
	transition: border-color .4s, box-shadow .4s, background .4s;
}
.kf-commit.is-in::before {
	border-color: var(--kf-lime);
	background: var(--kf-lime);
	box-shadow: 0 0 0 5px rgba(198, 255, 61, .15), 0 0 18px rgba(198, 255, 61, .6);
}
.kf-commit__body { grid-column: 3; grid-row: 1; }
.kf-commit__body > * { margin: 0 !important; }
.kf-commit__body h3 { font-size: clamp(1.4rem, 2.6vw, 2.25rem); }
.kf-commit__body p { margin-top: .5rem !important; color: var(--kf-muted); max-width: 56ch; }
.kf-commit__body .kf-commit__meta {
	margin-top: .75rem !important;
	font-family: var(--kf-mono);
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--kf-violet);
}

/* LICZBY */
.kf-stats {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border: 1px solid var(--kf-hair);
	border-radius: var(--kf-r);
	background: rgba(13, 16, 22, .7);
	overflow: hidden;
}
.kf-stats::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 30%;
	left: -30%;
	background: linear-gradient(90deg, transparent, rgba(198, 255, 61, .08), transparent);
	animation: kf-scan 5s linear infinite;
	pointer-events: none;
}
.kf-stat { padding: clamp(1.5rem, 3vw, 2.5rem); border-left: 1px solid var(--kf-hair); }
.kf-stat:first-child { border-left: 0; }
.kf-stat > * { margin: 0 !important; }
.kf-stat .kf-count {
	font-family: var(--kf-display);
	font-size: clamp(2.75rem, 5.5vw, 5rem);
	font-weight: 600;
	letter-spacing: -.05em;
	line-height: 1;
	background: var(--kf-signal);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-variant-numeric: tabular-nums;
}
.kf-stat .kf-stat__label { margin-top: .8rem !important; font-family: var(--kf-mono); font-size: var(--wp--preset--font-size--x-small); color: var(--kf-muted); }

/* O MNIE */
.kf-about {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(2rem, 6vw, 6rem);
	align-items: center;
}
.kf-about > * { margin: 0 !important; }
.kf-about__text > * { margin: 0 !important; }
.kf-about__text .is-style-kf-eyebrow { margin-top: .4rem !important; }
.kf-about__text h2 { margin-top: 1.25rem !important; }
.kf-about__text .is-style-kf-lead { margin-top: 1.5rem !important; }
.kf-about__text p:last-child:not(.is-style-kf-lead) { margin-top: 1rem !important; color: var(--kf-muted); }

/* TERMINAL */
.wp-block-code.is-style-kf-terminal {
	position: relative;
	padding: 3.4rem 1.5rem 1.5rem;
	line-height: 1.75;
	white-space: pre-wrap;
	overflow: hidden;
	background: rgba(13, 16, 22, .94);
	box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 90px -40px rgba(45, 226, 255, .45);
}
.wp-block-code.is-style-kf-terminal::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 2.4rem;
	border-bottom: 1px solid var(--kf-hair);
	background:
		radial-gradient(circle at 20px 50%, #ff5f57 5px, transparent 5.5px),
		radial-gradient(circle at 40px 50%, #febc2e 5px, transparent 5.5px),
		radial-gradient(circle at 60px 50%, #28c840 5px, transparent 5.5px),
		rgba(20, 25, 35, .9);
}
.wp-block-code.is-style-kf-terminal::after {
	content: "~/pankiewicz — zsh";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2.4rem;
	line-height: 2.4rem;
	text-align: center;
	font-size: .72rem;
	color: var(--kf-muted);
	pointer-events: none;
}
.wp-block-code.is-style-kf-terminal code { display: block; white-space: pre-wrap; }

.kf-tok-k { color: var(--kf-violet); }
.kf-tok-s { color: var(--kf-lime); }
.kf-tok-n { color: var(--kf-cyan); }
.kf-tok-c { color: var(--kf-muted); font-style: italic; }
.kf-tok-p { color: var(--kf-lime); font-weight: 600; }
.kf-tok-f { color: var(--kf-cyan); }
.kf-tok-o { color: var(--kf-pink); }
.kf-tok-a { color: var(--kf-cyan); }
.kf-caret {
	display: inline-block;
	width: .55em;
	height: 1.15em;
	margin-left: 1px;
	vertical-align: -.2em;
	background: var(--kf-lime);
	animation: kf-blink 1s steps(1) infinite;
}

/* CYTAT */
.kf-quote {
	position: relative;
	margin: 0 auto !important;
	padding: 0 !important;
	border: 0 !important;
	text-align: center;
}
.kf-quote::before {
	content: "“";
	display: block;
	height: .5em;
	font-family: var(--kf-serif);
	font-size: clamp(7rem, 14vw, 11rem);
	line-height: .8;
	background: var(--kf-signal);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.kf-quote p {
	font-family: var(--kf-display);
	font-size: clamp(1.6rem, 3.4vw, 3rem);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -.03em;
}
.kf-quote cite {
	display: block;
	margin-top: 2rem;
	font-family: var(--kf-mono);
	font-style: normal;
	font-size: var(--wp--preset--font-size--small);
	color: var(--kf-muted);
}

/* KONTAKT */
.kf-contact { text-align: center; overflow: clip; isolation: isolate; }
.kf-contact > * { margin-inline: auto !important; }
.kf-contact::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 50%;
	top: 55%;
	width: min(1000px, 120vw);
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
	background: conic-gradient(from 0deg, rgba(198, 255, 61, .16), rgba(45, 226, 255, .14), rgba(139, 92, 255, .2), rgba(198, 255, 61, .16));
	border-radius: 50%;
	filter: blur(90px);
	animation: kf-spin 22s linear infinite;
	pointer-events: none;
}
.kf-contact .is-style-kf-eyebrow { margin-top: .4rem !important; }
.kf-contact .kf-contact__title {
	margin-block: 1.5rem 2rem !important;
	font-size: clamp(3.25rem, 10vw, 9rem);
	line-height: .92;
	letter-spacing: -.055em;
}
.kf-contact__title::after {
	content: "_";
	color: var(--kf-lime);
	-webkit-text-fill-color: var(--kf-lime);
	animation: kf-blink 1s steps(1) infinite;
}
.kf-prompt {
	font-family: var(--kf-mono);
	font-size: clamp(1rem, 2.4vw, 1.75rem);
}
.kf-prompt a {
	display: inline-block;
	padding: .7em 1.2em;
	color: var(--kf-text);
	border: 1px solid var(--kf-hair);
	border-radius: 12px;
	background: rgba(13, 16, 22, .75);
	transition: border-color .3s, color .3s, box-shadow .3s;
}
.kf-prompt a:hover { color: var(--kf-lime); border-color: var(--kf-lime); box-shadow: 0 0 40px -10px rgba(198, 255, 61, .5); }
.kf-contact .is-style-kf-lead { margin-top: 1.5rem !important; }
.kf-socials { margin-top: 2rem !important; }

/* STOPKA */
.kf-footer {
	position: relative;
	padding-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40);
	border-top: 1px solid var(--kf-hair);
	overflow: clip;
	background: rgba(6, 7, 10, .7);
}
.kf-footer > * { margin-block: 0 !important; }
.kf-footer__row { gap: 1rem; }
.kf-footer__row > * { margin: 0 !important; }
.kf-footer__top,
.kf-footer__small {
	font-family: var(--kf-mono);
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--kf-muted);
}
.kf-footer__top a { color: var(--kf-lime); }
.kf-footer .kf-footer__giant {
	margin-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40) !important;
	font-family: var(--kf-display);
	font-size: clamp(2.5rem, 11vw, 11rem);
	font-weight: 700;
	line-height: .85;
	letter-spacing: -.06em;
	overflow-wrap: anywhere;
}
.kf-footer__giant a {
	color: transparent;
	-webkit-text-stroke: 1px rgba(233, 237, 245, .3);
	background: var(--kf-signal) 0 0 / 0% 100% no-repeat;
	-webkit-background-clip: text;
	background-clip: text;
	transition: background-size 1s var(--kf-ease), -webkit-text-stroke-color .6s;
}
.kf-footer__giant a:hover { background-size: 100% 100%; -webkit-text-stroke-color: transparent; }

/* ---------- Wpisy / strony ---------- */

.kf-entry-head { padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40); }
.wp-block-post-content a:not(.wp-element-button) {
	color: var(--kf-text);
	text-decoration: underline;
	text-decoration-color: var(--kf-lime);
	text-underline-offset: .2em;
}
.kf-postlist .wp-block-post { padding-block: 1.75rem; border-top: 1px solid var(--kf-hair); }
.kf-postlist .wp-block-post-title a { color: var(--kf-text); }
.kf-postlist .wp-block-post-title a:hover { color: var(--kf-lime); }
.kf-postlist .wp-block-post-excerpt { color: var(--kf-muted); }
.kf-cta { text-align: center; }

/* ---------- Efekty JS ---------- */

/* preloader-terminal */
.kf-boot {
	position: fixed;
	inset: 0;
	z-index: 500;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: clamp(1.5rem, 5vw, 4rem);
	background: var(--kf-base);
	font-family: var(--kf-mono);
	font-size: clamp(.8rem, 1.4vw, 1rem);
	line-height: 1.9;
	color: var(--kf-muted);
	clip-path: inset(0 0 0 0);
	transition: clip-path 1s cubic-bezier(.7, 0, .2, 1);
}
.kf-boot__line { opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
.kf-boot__line.is-on { opacity: 1; transform: none; }
.kf-boot__line b { color: var(--kf-lime); font-weight: 600; }
.kf-boot__big {
	margin-top: 1rem;
	font-family: var(--kf-display);
	font-size: clamp(3rem, 10vw, 8rem);
	font-weight: 700;
	letter-spacing: -.05em;
	line-height: .9;
	color: var(--kf-text);
}
.kf-boot.is-done { clip-path: inset(0 0 100% 0); }

/* poświata kursora */
.kf-glow {
	position: fixed;
	z-index: 0;
	left: 0;
	top: 0;
	width: 600px;
	height: 600px;
	margin: -300px 0 0 -300px;
	border-radius: 50%;
	pointer-events: none;
	background: radial-gradient(circle, rgba(198, 255, 61, .07), rgba(139, 92, 255, .04) 35%, transparent 62%);
	will-change: transform;
}

.kf-progress {
	position: fixed;
	z-index: 100;
	top: var(--wp-admin--admin-bar--height, 0px);
	left: 0;
	right: 0;
	height: 2px;
	background: var(--kf-signal);
	transform: scaleX(0);
	transform-origin: left;
	pointer-events: none;
}

.kf-reveal {
	opacity: 0;
	transform: translateY(36px);
	transition: opacity 1s var(--kf-ease), transform 1s var(--kf-ease);
	transition-delay: var(--kf-delay, 0s);
}
.kf-reveal.is-in { opacity: 1; transform: none; }
.kf-reveal.is-style-kf-card.is-in { transform: perspective(1100px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); }

/* ---------- Klatki ---------- */

@keyframes kf-shift { to { background-position: 100% 50%; } }
@keyframes kf-blink { 50% { opacity: 0; } }
@keyframes kf-pulse {
	0% { box-shadow: 0 0 0 0 rgba(198, 255, 61, .55); }
	70% { box-shadow: 0 0 0 10px rgba(198, 255, 61, 0); }
	100% { box-shadow: 0 0 0 0 rgba(198, 255, 61, 0); }
}
@keyframes kf-bob { 50% { transform: translateY(4px); } }
@keyframes kf-marquee { to { transform: translateX(-100%); } }
@keyframes kf-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes kf-scan { to { left: 100%; } }
@keyframes kf-blob {
	0% { transform: translate(0, 0) rotate(0deg) scale(1); }
	100% { transform: translate(6%, -4%) rotate(25deg) scale(1.1); }
}
@keyframes kf-grain {
	0% { transform: translate(0, 0); }
	20% { transform: translate(-5%, 3%); }
	40% { transform: translate(4%, -6%); }
	60% { transform: translate(-3%, 6%); }
	80% { transform: translate(6%, 2%); }
	100% { transform: translate(-2%, -4%); }
}

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

@media (max-width: 1100px) {
	.kf-hero__grid { grid-template-columns: minmax(0, 1fr); }
	.kf-ide { max-width: 720px; --view-h: 20rem; }
}
@media (max-width: 781px) {
	.kf-ide { transform: none !important; --overlap: 0rem; }
	.kf-ide__tabs,
	.kf-ide__status,
	.wp-block-code.is-style-kf-ide { width: 100%; }
	.wp-block-code.is-style-kf-ide { height: 14rem; }
	.kf-ide__preview { width: 100%; margin: 1rem 0 0 !important; }
	.kf-badge--3 { right: .5rem; }
}
@media (max-width: 900px) {
	.kf-works,
	.kf-services { grid-template-columns: minmax(0, 1fr); }
	.kf-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kf-stat:nth-child(3) { border-left: 0; }
	.kf-stat:nth-child(n+3) { border-top: 1px solid var(--kf-hair); }
	.kf-about { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 781px) {
	.kf-header .wp-block-buttons.kf-header__cta { display: none; }
	.kf-brand { font-size: .95rem !important; white-space: nowrap; }
	.kf-ide { --view-h: 20rem; }
	.kf-badge--1 { right: .5rem; }
	.kf-badge--2 { left: 1rem; }
	.kf-gitlog::before,
	.kf-gitlog::after { left: 9px; }
	.kf-commit { grid-template-columns: 20px minmax(0, 1fr); gap: .4rem 1rem; }
	.kf-commit::before { grid-column: 1; grid-row: 1 / span 2; }
	.kf-commit__hash { grid-column: 2; grid-row: 1; text-align: left; padding-top: .3rem; }
	.kf-commit__body { grid-column: 2; grid-row: 2; }
	.kf-glow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
	}
	.kf-reveal { opacity: 1; transform: none; }
}

/* ---------- Edytor ---------- */

.editor-styles-wrapper .kf-reveal { opacity: 1; transform: none; }
.editor-styles-wrapper .kf-hero { min-height: 0; }
.editor-styles-wrapper .kf-ide { transform: none; }

/* ---------- Formularz kontaktowy ---------- */

.kf-form {
	position: relative;
	max-width: 780px;
	margin: 2.5rem auto 0 !important;
	text-align: left;
	border: 1px solid rgba(198, 255, 61, .45);
	border-radius: 18px;
	background:
		radial-gradient(120% 80% at 0% 0%, rgba(139, 92, 255, .18), transparent 60%),
		radial-gradient(100% 70% at 100% 100%, rgba(45, 226, 255, .14), transparent 60%),
		linear-gradient(170deg, #1a2130, #121722);
	box-shadow:
		0 0 0 1px rgba(198, 255, 61, .08),
		0 0 70px -10px rgba(198, 255, 61, .35),
		0 50px 100px -40px rgba(0, 0, 0, .9);
	overflow: hidden;
}
.kf-form::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 2px;
	z-index: 2;
	background: linear-gradient(90deg, #c6ff3d, #2de2ff, #8b5cff, #c6ff3d);
	background-size: 300% 100%;
	animation: kf-shift 4s linear infinite;
}
.kf-form__bar {
	position: relative;
	height: 2.5rem;
	line-height: 2.5rem;
	text-align: center;
	font-family: var(--kf-mono);
	font-size: .72rem;
	color: #c3cad8;
	border-bottom: 1px solid rgba(233, 237, 245, .12);
	background:
		radial-gradient(circle at 20px 50%, #ff5f57 5px, transparent 5.5px),
		radial-gradient(circle at 40px 50%, #febc2e 5px, transparent 5.5px),
		radial-gradient(circle at 60px 50%, #28c840 5px, transparent 5.5px),
		rgba(31, 38, 51, .95);
}
.kf-form__body { padding: clamp(1.25rem, 3vw, 2rem); }
.kf-form__body p { margin: 0; }
.kf-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.1rem 1.25rem;
}
.kf-form__field--full { grid-column: 1 / -1; }
.kf-form__field label {
	display: block;
	margin-bottom: .45rem;
	font-family: var(--kf-mono);
	font-size: var(--wp--preset--font-size--x-small);
	color: #c3cad8;
}
.kf-form__field label span { color: var(--kf-lime); margin-right: .3em; }
.kf-form input[type="text"],
.kf-form input[type="email"],
.kf-form select,
.kf-form textarea {
	width: 100%;
	padding: .85rem 1rem;
	font: inherit;
	font-family: var(--kf-mono);
	font-size: .9rem;
	color: var(--kf-text);
	background: rgba(233, 237, 245, .06);
	border: 1px solid rgba(233, 237, 245, .18);
	border-radius: 10px;
	outline: none;
	transition: border-color .25s, box-shadow .25s, background .25s;
	box-sizing: border-box;
}
.kf-form textarea { resize: vertical; min-height: 8rem; line-height: 1.6; }
.kf-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--kf-lime) 50%), linear-gradient(135deg, var(--kf-lime) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.kf-form select option { background: var(--kf-surface); color: var(--kf-text); }
.kf-form input::placeholder,
.kf-form textarea::placeholder { color: rgba(195, 202, 216, .5); }
.kf-form input:focus,
.kf-form select:focus,
.kf-form textarea:focus {
	border-color: var(--kf-lime);
	box-shadow: 0 0 0 3px rgba(198, 255, 61, .18);
	background: rgba(233, 237, 245, .09);
}
.kf-form__consent {
	display: flex;
	align-items: flex-start;
	gap: .7rem;
	margin-top: 1.25rem !important;
	font-size: var(--wp--preset--font-size--small);
	color: #c3cad8;
}
.kf-form__consent input { margin-top: .25rem; accent-color: var(--kf-lime); width: 1rem; height: 1rem; flex: none; }
.kf-form__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1.5rem !important;
}
.kf-form__submit {
	cursor: pointer;
	border: 0;
	border-radius: 999px;
	padding: 1em 1.8em;
	font-family: var(--kf-mono);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	color: var(--kf-base);
	background: var(--kf-lime);
	transition: transform .3s var(--kf-ease), box-shadow .3s, background .25s;
}
.kf-form__submit:hover { background: var(--kf-text); box-shadow: 0 14px 44px -12px rgba(198, 255, 61, .55); transform: translateY(-2px); }
.kf-form__hint { font-family: var(--kf-mono); font-size: var(--wp--preset--font-size--x-small); color: var(--kf-muted); }
.kf-form__notice {
	margin: 0 !important;
	padding: .9rem clamp(1.25rem, 3vw, 2rem);
	font-family: var(--kf-mono);
	font-size: var(--wp--preset--font-size--small);
	border-bottom: 1px solid var(--kf-hair);
}
.kf-form__notice.is-ok { color: var(--kf-lime); background: rgba(198, 255, 61, .07); }
.kf-form__notice.is-err { color: #ff8a8a; background: rgba(255, 95, 87, .08); }
.kf-form__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) {
	.kf-form__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Ilustracje w kartach usług ---------- */

.kf-art {
	position: relative;
	height: 170px;
	margin: 0 0 1.5rem !important;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--kf-hair);
	background:
		radial-gradient(70% 90% at 80% 0%, rgba(var(--c), .14), transparent 70%),
		radial-gradient(rgba(233, 237, 245, .09) 1px, transparent 1.2px) 0 0 / 14px 14px,
		#0a0d13;
}
.kf-art * { box-sizing: border-box; }
.kf-service:hover .kf-art * { animation-duration: var(--fast, inherit); }

/* web: przeglądarka + kursor */
.kf-art__browser {
	position: absolute;
	left: 14%;
	right: 14%;
	top: 18px;
	bottom: -10px;
	border-radius: 10px 10px 0 0;
	border: 1px solid rgba(233, 237, 245, .14);
	background: rgba(20, 25, 35, .95);
	box-shadow: 0 20px 40px -15px rgba(0, 0, 0, .8);
	transition: transform .7s var(--kf-ease);
}
.kf-service:hover .kf-art__browser { transform: translateY(-6px); }
.kf-art__bar { display: flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; border-bottom: 1px solid rgba(233, 237, 245, .08); }
.kf-art__bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(233, 237, 245, .25); }
.kf-art__bar em { margin-left: 8px; padding: 1px 8px; border-radius: 999px; font-style: normal; font-family: var(--kf-mono); font-size: 8px; color: var(--kf-muted); background: rgba(233, 237, 245, .06); }
.kf-art__hero { display: block; margin: 12px 12px 0; }
.kf-art__hero u { display: block; height: 9px; width: 62%; border-radius: 3px; background: linear-gradient(90deg, rgba(var(--c), .9), #2de2ff); }
.kf-art__hero u + u { margin-top: 6px; height: 5px; width: 80%; background: rgba(233, 237, 245, .16); }
.kf-art__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 12px; }
.kf-art__row u {
	height: 30px;
	border-radius: 6px;
	background: linear-gradient(100deg, rgba(233, 237, 245, .06) 30%, rgba(233, 237, 245, .16) 50%, rgba(233, 237, 245, .06) 70%) 0 0 / 300% 100%;
	animation: kf-art-shimmer 2.4s linear infinite;
}
.kf-art__cta {
	position: absolute;
	left: 12px;
	bottom: 20px;
	padding: 4px 10px;
	border-radius: 999px;
	font-family: var(--kf-mono);
	font-size: 8px;
	font-weight: 700;
	color: #06070a;
	background: rgb(var(--c));
	animation: kf-art-press 3.2s ease-in-out infinite;
}
.kf-art__cursor {
	position: absolute;
	width: 16px;
	height: 16px;
	left: 0;
	top: 0;
	background: #fff;
	clip-path: polygon(0 0, 0 100%, 30% 72%, 52% 100%, 66% 92%, 45% 66%, 85% 66%);
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6));
	animation: kf-art-cursor-web 3.2s ease-in-out infinite;
}

/* app: graf węzłów */
.kf-art--app svg { position: absolute; inset: 8px 8px 26px; width: calc(100% - 16px); height: calc(100% - 34px); }
.kf-art__links path { fill: none; stroke: rgba(233, 237, 245, .18); stroke-width: 1.5; stroke-dasharray: 4 5; animation: kf-art-dash 1.2s linear infinite; }
.kf-art__pkts circle { fill: rgb(var(--c)); filter: drop-shadow(0 0 6px rgb(var(--c))); }
.kf-art__nodes circle { fill: #141923; stroke: rgba(var(--c), .7); stroke-width: 1.5; }
.kf-art__nodes circle:nth-child(4) { fill: rgba(var(--c), .2); }
.kf-art__labels text { font-family: var(--kf-mono); font-size: 9px; fill: #e9edf5; text-anchor: middle; }
.kf-art__chip {
	position: absolute;
	right: 10px;
	bottom: 8px;
	padding: 2px 8px;
	border-radius: 999px;
	font-family: var(--kf-mono);
	font-size: 9px;
	color: rgb(var(--c));
	background: rgba(var(--c), .1);
	border: 1px solid rgba(var(--c), .3);
}

/* ux: zaznaczenie jak w Figmie */
.kf-art__frame {
	position: absolute;
	left: 18%;
	top: 26px;
	height: 92px;
	width: 50%;
	border: 1.5px solid rgb(var(--c));
	animation: kf-art-resize 4s ease-in-out infinite;
}
.kf-art__card { position: absolute; inset: 6px; border-radius: 6px; padding: 8px; background: rgba(233, 237, 245, .06); }
.kf-art__card u { display: block; height: 6px; width: 70%; margin-bottom: 5px; border-radius: 3px; background: rgba(233, 237, 245, .22); }
.kf-art__card u + u { width: 45%; }
.kf-art__card b { position: absolute; left: 8px; bottom: 8px; width: 34px; height: 12px; border-radius: 999px; background: rgb(var(--c)); }
.kf-art__frame i { position: absolute; width: 7px; height: 7px; background: #fff; border: 1.5px solid rgb(var(--c)); }
.kf-art__frame i:nth-of-type(1) { left: -4px; top: -4px; }
.kf-art__frame i:nth-of-type(2) { right: -4px; top: -4px; }
.kf-art__frame i:nth-of-type(3) { left: -4px; bottom: -4px; }
.kf-art__frame i:nth-of-type(4) { right: -4px; bottom: -4px; }
.kf-art__dim {
	position: absolute;
	left: 50%;
	bottom: -22px;
	transform: translateX(-50%);
	padding: 1px 6px;
	border-radius: 4px;
	font-family: var(--kf-mono);
	font-size: 8px;
	color: #fff;
	background: rgb(var(--c));
	white-space: nowrap;
}
.kf-art--ux .kf-art__cursor { animation: kf-art-cursor-ux 4s ease-in-out infinite; }
.kf-art__swatches { position: absolute; right: 12px; top: 26px; display: grid; gap: 6px; }
.kf-art__swatches u { width: 16px; height: 16px; border-radius: 5px; border: 1px solid rgba(233, 237, 245, .15); }
.kf-art__swatches u:nth-child(1) { background: #c6ff3d; }
.kf-art__swatches u:nth-child(2) { background: #2de2ff; }
.kf-art__swatches u:nth-child(3) { background: #8b5cff; }
.kf-art__swatches u:nth-child(4) { background: #ff4fa3; }

/* motion: blob + orbita + oś czasu */
.kf-art__blob {
	position: absolute;
	left: 50%;
	top: 44%;
	width: 84px;
	height: 84px;
	margin: -42px 0 0 -42px;
	background: linear-gradient(135deg, rgb(var(--c)), #8b5cff 60%, #2de2ff);
	box-shadow: 0 0 50px -6px rgba(var(--c), .7);
	animation: kf-art-morph 6s ease-in-out infinite, kf-ms-hue 10s linear infinite;
}
.kf-art__orbit { position: absolute; left: 50%; top: 44%; width: 136px; height: 136px; margin: -68px 0 0 -68px; border: 1px dashed rgba(233, 237, 245, .18); border-radius: 50%; animation: kf-art-spin 7s linear infinite; }
.kf-art__orbit i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #fff; top: -5px; left: 50%; margin-left: -5px; box-shadow: 0 0 12px #fff; }
.kf-art__orbit i + i { top: auto; bottom: -4px; width: 7px; height: 7px; background: #c6ff3d; box-shadow: 0 0 10px #c6ff3d; }
.kf-art__timeline {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 10px;
	height: 16px;
	border-radius: 4px;
	background:
		linear-gradient(90deg, rgba(233, 237, 245, .1) 1px, transparent 1px) 0 0 / 10% 100%,
		rgba(233, 237, 245, .05);
}
.kf-art__timeline u { position: absolute; top: 4px; width: 8px; height: 8px; background: rgb(var(--c)); transform: rotate(45deg); }
.kf-art__timeline u:nth-child(1) { left: 8%; }
.kf-art__timeline u:nth-child(2) { left: 34%; }
.kf-art__timeline u:nth-child(3) { left: 61%; }
.kf-art__timeline u:nth-child(4) { left: 88%; }
.kf-art__timeline b { position: absolute; top: -4px; bottom: -4px; width: 2px; background: #fff; box-shadow: 0 0 8px #fff; animation: kf-art-play 6s linear infinite; }

@keyframes kf-art-shimmer { to { background-position: -300% 0; } }
@keyframes kf-art-dash { to { stroke-dashoffset: -18; } }
@keyframes kf-art-spin { to { transform: rotate(360deg); } }
@keyframes kf-art-play { from { left: 0; } to { left: 100%; } }
@keyframes kf-art-morph {
	0%, 100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; transform: rotate(0deg) scale(1); }
	33% { border-radius: 64% 36% 41% 59% / 55% 62% 38% 45%; transform: rotate(60deg) scale(1.08); }
	66% { border-radius: 36% 64% 52% 48% / 62% 38% 62% 38%; transform: rotate(-40deg) scale(.95); }
}
@keyframes kf-art-press {
	0%, 52%, 70%, 100% { transform: scale(1); box-shadow: none; }
	58% { transform: scale(.9); box-shadow: 0 0 0 6px rgba(var(--c), .25); }
}
@keyframes kf-art-cursor-web {
	0% { transform: translate(230px, 140px); }
	45% { transform: translate(70px, 128px); }
	58% { transform: translate(68px, 126px) scale(.85); }
	70% { transform: translate(70px, 128px); }
	100% { transform: translate(230px, 140px); }
}
@keyframes kf-art-resize { 0%, 100% { width: 46%; height: 84px; } 50% { width: 62%; height: 104px; } }
@keyframes kf-art-cursor-ux {
	0%, 100% { left: calc(18% + 46% - 2px); top: calc(26px + 84px - 2px); }
	50% { left: calc(18% + 62% - 2px); top: calc(26px + 104px - 2px); }
}

/* ---------- Rytm: O mnie → cytat → kontakt ---------- */

#o-mnie.kf-section { padding-bottom: var(--wp--preset--spacing--50); }
#kontakt.kf-section { padding-top: var(--wp--preset--spacing--50); }
#cytat.kf-section {
	padding-block: clamp(3rem, 7vw, 5.5rem);
	overflow: clip;
	isolation: isolate;
}
#cytat.kf-section::before {
	content: "/* zasada nr 1 — commit a3f9c21 */";
	display: block;
	margin-bottom: 1.25rem;
	text-align: center;
	font-family: var(--kf-mono);
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--kf-muted);
}
#cytat .kf-quote {
	padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 4vw, 3.5rem) !important;
	border: 1px solid var(--kf-hair) !important;
	border-radius: 24px;
	background:
		radial-gradient(70% 120% at 50% 0%, rgba(139, 92, 255, .14), transparent 70%),
		linear-gradient(170deg, rgba(20, 25, 35, .85), rgba(13, 16, 22, .85));
	box-shadow: 0 40px 90px -50px rgba(139, 92, 255, .55);
	overflow: hidden;
}
#cytat .kf-quote::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, #c6ff3d, #2de2ff, #8b5cff, transparent);
	background-size: 200% 100%;
	animation: kf-shift 5s ease-in-out infinite alternate;
}
#cytat .kf-quote::before { height: .45em; margin-top: -.1em; }
#cytat .kf-quote p { font-size: clamp(1.5rem, 3vw, 2.6rem); }
/* pływające fragmenty kodu po bokach cytatu */
#cytat.kf-section::after {
	content: "const detal = true;   ·   git commit -m \"polish\"   ·   :hover { transform: translateY(-6px) }   ·   ✓ 100/100";
	position: absolute;
	z-index: -1;
	left: 0;
	right: 0;
	bottom: 1.25rem;
	white-space: nowrap;
	text-align: center;
	font-family: var(--kf-mono);
	font-size: var(--wp--preset--font-size--x-small);
	color: rgba(125, 135, 153, .45);
	animation: kf-bob 4s ease-in-out infinite;
}

/* ==========================================================================
   Nagłówki sekcji „studyjne światło” — wytłoczone litery 3D (kf-extrude)
   Głębię i kierunek cienia liczy animations.js (rośnie przy wejściu,
   podąża za kursorem). Bez JS zostaje statyczne wytłoczenie poniżej.
   ========================================================================== */
.kf-extrude {
	--kf-ex-face: #eef1f6;
	font-family: "Archivo", var(--wp--preset--font-family--display);
	font-weight: 800;
	font-stretch: 118%;
	font-variation-settings: "wdth" 118;
	text-transform: uppercase;
	letter-spacing: -.035em;
	line-height: .9;
	color: var(--kf-ex-face);
	text-wrap: balance;
	text-shadow:
		0 -1px 0 #fff,
		0 1px 0 #b8bfcc, 0 2px 0 #a0a8b6, 0 3px 0 #89919f, 0 4px 0 #737b89, 0 5px 0 #5e6674,
		0 6px 0 #4b525f, 0 7px 0 #3a404b, 0 8px 0 #2b3038, 0 9px 0 #1e2228, 0 10px 0 #141820,
		0 34px 50px rgba(0, 0, 0, .9);
}
.kf-extrude mark,
.kf-extrude .is-style-kf-gradient {
	background: none !important;
	color: var(--kf-lime) !important;
	-webkit-text-fill-color: var(--kf-lime);
	animation: none;
	text-shadow:
		0 -1px 0 #efffc2,
		0 1px 0 #9fd12a, 0 2px 0 #8bb922, 0 3px 0 #77a01b, 0 4px 0 #638614, 0 5px 0 #506d0f,
		0 6px 0 #3e550b, 0 7px 0 #2e3f07, 0 8px 0 #212d05, 0 9px 0 #162003, 0 10px 0 #0f1702,
		0 30px 60px rgba(198, 255, 61, .16);
}
.kf-extrude em { font-family: inherit; font-style: normal; font-weight: inherit; letter-spacing: inherit; }

.kf-xhead {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding-top: clamp(1rem, 3vw, 2.5rem);
}
/* punktowe światło z góry */
.kf-xhead::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 50%;
	top: -55%;
	width: min(1100px, 120vw);
	aspect-ratio: 1.3;
	transform: translateX(-50%);
	background:
		radial-gradient(closest-side, rgba(233, 237, 245, .085), transparent),
		conic-gradient(from 180deg at 50% 0, transparent 160deg, rgba(233, 237, 245, .045) 180deg, transparent 200deg);
	pointer-events: none;
}
/* siatka podłogi w głębi */
.kf-xhead::after {
	content: "";
	position: absolute;
	z-index: -1;
	left: -20%;
	right: -20%;
	bottom: -3rem;
	height: 70%;
	background:
		linear-gradient(transparent, rgba(198, 255, 61, .025)),
		repeating-linear-gradient(90deg, rgba(233, 237, 245, .06) 0 1px, transparent 1px 90px),
		repeating-linear-gradient(0deg, rgba(233, 237, 245, .045) 0 1px, transparent 1px 60px);
	-webkit-mask-image: linear-gradient(transparent, #000 70%, transparent);
	mask-image: linear-gradient(transparent, #000 70%, transparent);
	transform: perspective(480px) rotateX(58deg);
	transform-origin: 50% 100%;
	pointer-events: none;
}
.kf-xhead > * { margin: 0 !important; }
.kf-xhead__idx {
	font-family: var(--kf-mono);
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--kf-muted);
}
.kf-xhead__idx strong { color: var(--kf-lime); font-weight: 500; }
.kf-xhead .kf-extrude {
	margin-top: 1.6rem !important;
	max-width: 15ch;
	font-size: clamp(2.4rem, 7vw, 7.25rem);
	transform: perspective(900px) rotateX(12deg);
	transform-origin: 50% 100%;
}
.kf-xhead__lead {
	margin-top: 2.6rem !important;
	max-width: 54ch;
	color: var(--kf-muted);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.6;
}
.kf-about__text .kf-extrude { font-size: clamp(2.2rem, 5vw, 4.6rem); max-width: 14ch; }
.kf-contact .kf-contact__title.kf-extrude { font-size: clamp(2.8rem, 9vw, 8rem); letter-spacing: -.04em; line-height: .9; }
.kf-contact__title.kf-extrude::after { text-shadow: none; }
@media (max-width: 700px) {
	.kf-xhead .kf-extrude { transform: none; }
	.kf-xhead::after { display: none; }
}
