/*
Theme Name: Holon Puzzle (w budowie)
Description: Fundacja strony Holon Puzzle.
Author: Holon Puzzle
Version: 1.2.6
Text Domain: holon-puzzle
*/

@import url("legal.css");

:root {
	--hp-bg: #000000;
	--hp-bg-soft: #010100;
	--hp-bg2: #0e0d0b;
	--hp-bg3: #16140f;
	--hp-bg4: #1c1a14;

	/* Paleta marek ekosystemu Holon Puzzle. */
	--hp-brand-holon: #85bfef;
	--hp-brand-element-guru: #4ecdb4;
	/* F.L.O.W.: ĹĽĂłĹ‚ty = light (Blackboard), fiolet = dark (Whiteboard) â€” peĹ‚na paleta: flow-web/css/flow-tokens.css */
	--hp-brand-flow-light: #f2ea1d;
	--hp-brand-flow-dark: #7b2fd8;
	--hp-brand-flow: var(--hp-brand-flow-light);
	--hp-brand-kot: #ff3300;
	/* Feat.Guru â€” mint z packages/tokens/colors.css (--fg-color-brand). */
	--hp-brand-feat-guru: #22d3b6;

	/* GĹ‚Ăłwny akcent przewodni (odpowiednik â€žmintâ€ť z Element Guru). */
	--hp-brand: var(--hp-brand-holon);
	--hp-brand-2: color-mix(in srgb, var(--hp-brand) 72%, white 28%);
	--hp-brand-soft: rgba(133, 191, 239, 0.2);

	/* DrugorzÄ™dny, chĹ‚odny akcent. */
	--hp-blue: #7fb3ba;
	--hp-blue-2: color-mix(in srgb, var(--hp-blue) 70%, white 30%);

	/* CiepĹ‚e akcenty z palety bazowej. */
	--hp-accent: #d07336;
	--hp-accent-2: #c99a47;
	--hp-accent-soft: rgba(208, 115, 54, 0.2);

	--hp-text: #f2ede3;
	--hp-text-soft: rgba(242, 237, 227, 0.72);
	--hp-text-2: #8d8678;
	--hp-text-3: #5b5446;

	/* Subtelne obrysy â€” jak w Element Guru (niska, neutralna alfa). */
	--hp-border: rgba(255, 255, 255, 0.07);
	--hp-border-2: rgba(255, 255, 255, 0.13);
	--hp-logo-text: #ffffff;
	--hp-puzzle-grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cpath d='M 70 0 L 98 0 C 98 14, 112 14, 112 0 L 140 0' fill='none' stroke='rgba(255, 255, 255, 0.022)' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M 0 70 L 28 70 C 28 84, 42 84, 42 70 L 70 70 L 98 70 C 98 56, 112 56, 112 70 L 140 70' fill='none' stroke='rgba(255, 255, 255, 0.022)' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M 0 140 L 28 140 C 28 126, 42 126, 42 140 L 70 140' fill='none' stroke='rgba(255, 255, 255, 0.022)' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M 0 0 L 0 28 C 14 28, 14 42, 0 42 L 0 70' fill='none' stroke='rgba(255, 255, 255, 0.022)' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M 70 0 L 70 28 C 56 28, 56 42, 70 42 L 70 70 L 70 98 C 84 98, 84 112, 70 112 L 70 140' fill='none' stroke='rgba(255, 255, 255, 0.022)' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M 140 70 L 140 98 C 126 98, 126 112, 140 112 L 140 140' fill='none' stroke='rgba(255, 255, 255, 0.022)' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

	--hp-z-background: 0;
	--hp-z-decorative: 10;
	--hp-z-content: 20;
	--hp-z-cursor: 30;
	--hp-z-header: 100;
	--hp-z-dropdown: 200;
	--hp-z-nav-backdrop: 90;
	--hp-z-modal-backdrop: 900;
	--hp-z-modal-panel: 910;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
}

body {
	background-color: var(--hp-bg);
	color: var(--hp-text);
	font-family: Georgia, "Times New Roman", serif;
}

body::before {
	content: '';
	position: fixed;
	inset: 0;
	z-index: -3;
	pointer-events: none;
	background-color: var(--hp-bg);
	background-image: var(--hp-puzzle-grid);
	background-size: 140px 140px;
	background-repeat: repeat;
}

#hp-tubes-canvas,
#hp-bg-orbs,
#hp-cursor-canvas {
	pointer-events: none;
	position: fixed;
	inset: 0;
}

#hp-tubes-canvas {
	z-index: -2;
}

#hp-bg-orbs {
	z-index: -1;
	overflow: hidden;
}

#hp-cursor-canvas {
	z-index: var(--hp-z-cursor);
	pointer-events: none;
}

.hp-page-stack {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.hp-wrap {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 32px;
}

.hp-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: var(--hp-z-header);
	overflow: visible;
	background: rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--hp-border);
	box-shadow: 0 1px 0 rgba(133, 191, 239, 0.1);
}

body.admin-bar .hp-nav {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .hp-nav {
		top: 46px;
	}
}

.hp-nav-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 32px;
	min-height: 68px;
	height: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	overflow: visible;
}

.hp-nav-brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 7px;
	min-width: fit-content;
	position: relative;
}

.hp-logo,
.hp-logo:hover,
.hp-logo:focus-visible {
	color: var(--hp-logo-text);
	text-decoration: none;
}

.hp-nav-links {
	display: flex;
	align-items: center;
	gap: 2px;
	flex: 1;
	justify-content: center;
}

.hp-nav-item {
	position: relative;
	display: flex;
	align-items: center;
}

.hp-nav-item--projekty {
	padding-bottom: 0;
}

.hp-nav-item--projekty::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 18px;
}

.hp-nav-link {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 13px;
	font-weight: 500;
	color: #ffffff;
	text-decoration: none;
	padding: 6px 13px;
	border-radius: 12px;
	letter-spacing: 0.04em;
	transition: color 0.18s ease, text-shadow 0.18s ease, transform 0.18s ease, font-size 0.18s ease;
	border: none;
	background: transparent;
	text-shadow: none;
	position: relative;
	z-index: 0;
	transform: translateY(0);
	display: inline-block;
	white-space: nowrap;
}

.hp-nav-link:hover,
.hp-nav-link:focus-visible,
.hp-nav-link.active:hover,
.hp-nav-link[aria-current="page"]:hover,
.hp-nav-link.active:focus-visible,
.hp-nav-link[aria-current="page"]:focus-visible {
	color: #000000;
	background: transparent;
	z-index: 2;
	font-size: 14px;
	transform: translateY(-1px);
	text-shadow:
		0 0 8px #ffffff,
		0 0 18px rgba(255, 255, 255, 1),
		0 0 36px rgba(255, 255, 255, 0.82),
		0 0 56px rgba(255, 255, 255, 0.48);
}

.hp-nav-link.active,
.hp-nav-link[aria-current="page"] {
	color: #ffffff;
	background: transparent;
	border: none;
}

.hp-nav-right {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 8px;
}

.hp-nav-login-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border-radius: 10px;
	text-decoration: none;
	border: 1px solid var(--hp-brand-holon);
	color: var(--hp-brand-holon);
	background: #000000;
	font-size: 14px;
	flex-shrink: 0;
	transition:
		border-color 0.18s ease,
		color 0.18s ease,
		background 0.18s ease;
}

.hp-nav-login-btn span {
	display: none;
}

.hp-nav-login-btn svg {
	width: 16px;
	height: 16px;
	display: block;
}

.hp-nav-login-btn:hover,
.hp-nav-login-btn:focus-visible {
	color: #ffffff;
	border-color: #ffffff;
	background: #000000;
}

.hp-nav-project-orbs {
	display: flex;
	align-items: center;
	gap: 8px;
}

.hp-nav-project-orb {
	--hp-mini-orb-size: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	font: inherit;
	text-decoration: none;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
}

.hp-nav-project-orb__orb {
	position: relative;
	width: var(--hp-mini-orb-size);
	height: var(--hp-mini-orb-size);
	padding: 2px;
	border-radius: 50%;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.9);
	opacity: 0.9;
	transition: transform 0.22s ease;
}

.hp-nav-project-orb__orb::before {
	content: "";
	position: absolute;
	inset: -32%;
	border-radius: 50%;
	background:
		linear-gradient(
			90deg,
			transparent 0%,
			color-mix(in srgb, var(--project-color) 48%, transparent) 20%,
			color-mix(in srgb, var(--project-color) 94%, white 6%) 50%,
			color-mix(in srgb, var(--project-color) 48%, transparent) 80%,
			transparent 100%
		);
	animation: hpNavMiniBorderSpin 5.8s linear infinite;
}

.hp-nav-project-orb__inner {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.9);
	overflow: hidden;
}

.hp-nav-project-orb__logo {
	max-width: 84%;
	max-height: 84%;
	object-fit: contain;
	opacity: 1;
	transition: transform 0.22s ease;
}

.hp-nav-project-orb:hover .hp-nav-project-orb__orb,
.hp-nav-project-orb:focus-visible .hp-nav-project-orb__orb {
	transform: scale(1.06);
}

.hp-nav-project-orb:hover .hp-nav-project-orb__logo,
.hp-nav-project-orb:focus-visible .hp-nav-project-orb__logo {
	transform: scale(1.22);
}

.hp-nav-project-orb.is-active .hp-nav-project-orb__orb {
	transform: scale(1.12);
}

.hp-nav-project-orb.is-active .hp-nav-project-orb__logo {
	transform: scale(1.06);
}

.hp-nav-item--projekty .hp-nav-project-orbs--menu {
	position: absolute;
	left: 50%;
	top: calc(100% + 8px);
	transform: translate(-50%, -4px);
	padding: 8px 10px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.72);
	border: 1px solid var(--hp-border);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.hp-nav-item--projekty:hover .hp-nav-project-orbs--menu,
.hp-nav-item--projekty:focus-within .hp-nav-project-orbs--menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

.hp-nav-project-orbs--logo {
	position: absolute;
	left: 50%;
	top: calc(100% + 10px);
	transform: translateX(-50%);
	padding: 8px 10px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.72);
	border: 1px solid var(--hp-border);
	white-space: nowrap;
}

.hp-mobile-nav-item--projekty .hp-nav-project-orbs--mobile-menu {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 6px 0 10px;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.72);
	border: 1px solid var(--hp-border);
}

.hp-main {
	flex: 1;
	padding-top: 70px;
}

.hp-section {
	padding: 72px 0;
}

.hp-page-hero {
	padding: 64px 0 48px;
}

.hp-page-hero .hp-wrap {
	text-align: center;
}

.hp-page-hero h1 {
	margin: 0 0 14px;
	font-size: clamp(2rem, 5vw, 3.4rem);
	font-weight: 400;
	color: var(--hp-brand);
	letter-spacing: 0.06em;
	text-align: center;
}

.hp-page-hero p {
	margin: 0 auto;
	max-width: 760px;
	color: var(--hp-text-soft);
	font-size: clamp(1rem, 2.1vw, 1.25rem);
	line-height: 1.5;
	text-align: center;
}

.hp-error404 .hp-wrap {
	display: grid;
	justify-items: center;
	gap: 24px;
	text-align: center;
	padding-top: clamp(28px, 5vw, 56px);
	padding-bottom: clamp(28px, 5vw, 56px);
}

.hp-error404__message {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	color: color-mix(in srgb, var(--hp-brand-element-guru) 86%, white 14%);
	text-transform: uppercase;
	text-shadow: 0 0 8px color-mix(in srgb, var(--hp-brand-element-guru) 45%, transparent);
	letter-spacing: 1px;
}

.hp-error404__title {
	margin: 0;
	font-size: clamp(2rem, 5vw, 3.4rem);
	font-weight: 400;
	letter-spacing: 0.05em;
	line-height: 1.12;
	text-transform: uppercase;
	color: #fff;
	text-shadow:
		2px 2px 0 color-mix(in srgb, var(--hp-brand-flow) 94%, #000000),
		-2px -2px 0 color-mix(in srgb, var(--hp-brand-element-guru) 90%, #000000);
}

.hp-error404__lead {
	margin: 0;
	max-width: 56ch;
	color: var(--hp-text-soft);
	font-size: clamp(1rem, 2.1vw, 1.18rem);
	line-height: 1.56;
}

.hp-error404__lead-line {
	display: block;
}

.hp-error404__cta {
	margin-top: 4px;
}

/* SkaczÄ…ce kulki (ta sama animacja co w overlay) â€” m.in. w hero strony gĹ‚Ăłwnej. */
.hp-loader {
	width: 200px;
	height: 60px;
	position: relative;
	z-index: 1;
	margin: 22px auto 26px;
}

.hp-loader-circle {
	width: 20px;
	height: 20px;
	position: absolute;
	border-radius: 50%;
	left: 15%;
	transform-origin: 50%;
	animation: hpLoaderCircle 0.5s alternate infinite ease;
}

.hp-loader-circle:nth-child(1) {
	background-color: var(--hp-brand-element-guru);
}

.hp-loader-circle:nth-child(2) {
	background-color: var(--hp-brand-flow);
	left: 45%;
	animation-delay: 0.2s;
}

.hp-loader-circle:nth-child(3) {
	background-color: var(--hp-brand-kot);
	left: auto;
	right: 15%;
	animation-delay: 0.3s;
}

.hp-loader-shadow {
	width: 20px;
	height: 4px;
	border-radius: 50%;
	background-color: rgba(85, 85, 85, 0.9);
	position: absolute;
	top: 62px;
	transform-origin: 50%;
	z-index: -1;
	filter: blur(1px);
	left: 15%;
	animation: hpLoaderShadow 0.5s alternate infinite ease;
}

.hp-loader-shadow:nth-child(5) {
	left: 45%;
	animation-delay: 0.2s;
}

.hp-loader-shadow:nth-child(6) {
	left: auto;
	right: 15%;
	animation-delay: 0.3s;
}

@keyframes hpLoaderCircle {
	0% {
		top: 60px;
		height: 5px;
		border-radius: 50px 50px 25px 25px;
		transform: scaleX(1.7);
	}
	40% {
		height: 20px;
		border-radius: 50%;
		transform: scaleX(1);
	}
	100% {
		top: 0;
	}
}

@keyframes hpLoaderShadow {
	0% {
		transform: scaleX(1.5);
	}
	40% {
		transform: scaleX(1);
		opacity: 0.7;
	}
	100% {
		transform: scaleX(0.2);
		opacity: 0.4;
	}
}

.hp-footer {
	padding: 48px 0 32px;
	margin-top: 80px;
	font-family: Georgia, "Times New Roman", serif;
}

.hp-divider {
	width: 100%;
	height: 1px;
	position: relative;
}

.hp-divider--footer-top {
	background: color-mix(in srgb, var(--hp-brand-holon) 52%, transparent);
	box-shadow:
		0 0 6px color-mix(in srgb, var(--hp-brand-holon) 46%, transparent),
		0 0 16px color-mix(in srgb, var(--hp-brand-holon) 30%, transparent);
}

.hp-divider--footer-social {
	margin: 28px 0 34px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		color-mix(in srgb, var(--hp-brand-holon) 44%, transparent) 18%,
		color-mix(in srgb, var(--hp-brand-holon) 62%, transparent) 50%,
		color-mix(in srgb, var(--hp-brand-holon) 44%, transparent) 82%,
		transparent 100%
	);
	box-shadow:
		0 0 6px color-mix(in srgb, var(--hp-brand-holon) 34%, transparent),
		0 0 14px color-mix(in srgb, var(--hp-brand-holon) 24%, transparent);
}

.hp-footer-grid {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: clamp(2.5rem, 7vw, 5.5rem);
	width: 100%;
	margin-bottom: 40px;
}

.hp-footer-links {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	flex: 0 1 auto;
	width: min(52rem, 100%);
	min-width: 0;
}

.hp-footer-col h5 {
	margin-bottom: 14px;
	color: color-mix(in srgb, var(--hp-brand-holon) 50%, transparent);
	font-size: 1rem;
	font-weight: 500;
}

.hp-footer-col a:not(.hp-logo),
.hp-footer-project-link {
	display: block;
	width: 100%;
	font-size: 14px;
	color: var(--hp-text-3);
	padding: 3px 0;
	transition: color 0.18s;
	text-decoration: none;
	text-align: left;
	border: 0;
	background: transparent;
	cursor: pointer;
	font-family: inherit;
}

.hp-footer-col a:not(.hp-logo):hover,
.hp-footer-project-link:hover {
	color: var(--hp-text-2);
}

.hp-footer-tagline {
	font-size: 14px;
	line-height: 1.6;
	max-width: 22em;
	margin: 0;
	color: color-mix(in srgb, var(--hp-brand-holon) 50%, transparent);
	font-family: Georgia, "Times New Roman", serif;
}

.hp-footer-col-logo {
	display: flex;
	flex-direction: column;
	flex: 0 1 auto;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.hp-footer-col-logo .hp-logo {
	display: block;
	margin-bottom: 12px;
}

.hp-footer-bottom {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	padding-top: 24px;
	border-top: 1px solid var(--hp-border);
}

.hp-footer-bottom p {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 12px;
	color: color-mix(in srgb, var(--hp-brand-holon) 50%, transparent);
}

.hp-footer-bottom span {
	color: color-mix(in srgb, var(--hp-brand-holon) 50%, transparent);
}

.hp-footer-social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 8px 0 4px;
	row-gap: 12px;
}

html.hp-entry-pending .hp-footer-social .hp-social-link {
	opacity: 0;
	transform: translate3d(-28px, 0, 0) scale(0.9);
}

.hp-footer-social.hp-social-intro-pending .hp-social-link {
	opacity: 0;
	transform: translate3d(-42px, 0, 0) scale(0.84);
}

.hp-footer-social.hp-social-intro-pending.hp-social-intro-ready .hp-social-link {
	animation: hpSocialFlyIn 980ms cubic-bezier(0.16, 0.88, 0.2, 1) both;
}

.hp-footer-social.hp-social-intro-pending.hp-social-intro-ready .hp-social-link:nth-child(2) {
	animation-delay: 110ms;
}

.hp-footer-social.hp-social-intro-pending.hp-social-intro-ready .hp-social-link:nth-child(3) {
	animation-delay: 220ms;
}

.hp-footer-social.hp-social-intro-pending.hp-social-intro-ready .hp-social-link:nth-child(4) {
	animation-delay: 330ms;
}

.hp-footer-social.hp-social-intro-pending.hp-social-intro-ready .hp-social-link:nth-child(5) {
	animation-delay: 440ms;
}

.hp-footer-social.hp-social-intro-pending.hp-social-intro-ready .hp-social-link:nth-child(6) {
	animation-delay: 550ms;
}

.hp-footer-social.hp-social-intro-pending.hp-social-intro-ready .hp-social-link:nth-child(7) {
	animation-delay: 660ms;
}

.hp-footer-social.hp-social-intro-pending.hp-social-intro-ready .hp-social-link:nth-child(8) {
	animation-delay: 770ms;
}

.hp-footer-social.hp-social-intro-pending.hp-social-intro-ready .hp-social-link:nth-child(9) {
	animation-delay: 880ms;
}

.hp-social-link {
	position: relative;
	margin: 0 10px;
	box-sizing: border-box;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: color 0.2s ease;
	background: transparent;
	color: var(--icon, var(--color));
	font-size: 1.8em;
	line-height: 1;
	isolation: isolate;
}

.hp-social-link::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
	opacity: 0;
	background: var(--color-hover, var(--color));
	mix-blend-mode: screen;
	box-shadow:
		0 0 6px color-mix(in srgb, var(--color-hover, var(--color)) 85%, transparent),
		0 0 18px color-mix(in srgb, var(--color-hover, var(--color)) 55%, transparent),
		0 0 36px color-mix(in srgb, var(--color-hover, var(--color)) 35%, transparent);
	transition: opacity 0.2s ease;
}

.hp-social-link:hover::before {
	opacity: 1;
}

.hp-social-link::after {
	content: "";
	position: absolute;
	top: calc(100% + 2px);
	left: 50%;
	width: 42px;
	height: 18px;
	transform: translateX(-50%) scaleY(-1);
	border-radius: 50%;
	background: radial-gradient(
		ellipse 80% 100% at 50% 100%,
		color-mix(in srgb, var(--icon, var(--color)) 28%, transparent),
		transparent 72%
	);
	opacity: 0.45;
	pointer-events: none;
	z-index: -1;
	filter: blur(0.5px);
	transition: opacity 0.2s ease, background 0.2s ease;
}

.hp-social-link:hover::after {
	opacity: 0.65;
	background: radial-gradient(
		ellipse 85% 100% at 50% 100%,
		color-mix(in srgb, var(--color-hover, var(--icon, var(--color))) 45%, transparent),
		transparent 70%
	);
}

.hp-social-link i,
.hp-social-link svg {
	line-height: 1;
	position: relative;
	z-index: 1;
	width: 16px;
	height: 16px;
	display: block;
}

.hp-social-link:hover {
	color: var(--icon-hover, #050801);
}

.hp-lang-dd {
	position: relative;
	z-index: var(--hp-z-dropdown);
}

.hp-lang-dd__btn {
	list-style: none;
	cursor: pointer;
	touch-action: manipulation;
	-webkit-user-select: none;
	user-select: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	border: 1px solid var(--hp-border);
	background: var(--hp-bg2);
	color: var(--hp-text-2);
	transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.hp-lang-dd__btn::-webkit-details-marker {
	display: none;
}

.hp-lang-dd__btn:hover,
.hp-lang-dd[open] .hp-lang-dd__btn {
	color: var(--hp-brand);
	border-color: rgba(133, 191, 239, 0.35);
	background: var(--hp-bg3);
}

.hp-lang-dd__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.hp-lang-dd__panel {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	z-index: var(--hp-z-dropdown);
	min-width: 220px;
	max-height: min(70vh, 420px);
	overflow-y: auto;
	padding: 10px;
	border-radius: 12px;
	border: 1px solid var(--hp-border);
	background: var(--hp-bg2);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
	display: flex;
	flex-direction: column;
	gap: 6px;
	pointer-events: auto;
}

.hp-lang-dd__opt {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: 8px;
	text-decoration: none;
	color: var(--hp-text-2);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
	border: 1px solid transparent;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.hp-lang-dd__opt:hover {
	background: var(--hp-bg3);
	border-color: var(--hp-border);
	color: var(--hp-brand);
}

.hp-lang-dd__opt.is-current {
	color: var(--hp-blue);
	background: rgba(127, 179, 186, 0.12);
	border-color: rgba(127, 179, 186, 0.28);
}

.hp-lang-dd__flag {
	display: block;
	width: 20px;
	height: 14px;
	flex: 0 0 20px;
	object-fit: cover;
	border-radius: 2px;
}

.hp-lang-dd__name {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.2;
}

@media (max-width: 900px) {
	.hp-lang-dd__panel {
		right: auto;
		left: 0;
	}
}

/* Przyciski â€” parytet z Element Guru (outline / app / primary). */
.hp-btn-primary,
.hp-btn-outline,
.hp-btn-app {
	font-size: 13px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	line-height: 1.25;
	box-sizing: border-box;
	font-family: Georgia, "Times New Roman", serif;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}

.hp-btn-outline {
	font-weight: 500;
	padding: 7px 16px;
	border-radius: 8px;
	border: 1px solid var(--hp-border-2);
	color: var(--hp-text);
	background: none;
	transition: all 0.18s;
}

.hp-btn-outline:hover {
	color: var(--hp-text);
	border-color: rgba(133, 191, 239, 0.45);
	background: rgba(133, 191, 239, 0.06);
}

.hp-btn-app {
	font-weight: 600;
	padding: 8px 18px;
	border-radius: 8px;
	color: #05121d;
	border: none;
	transition: all 0.18s;
	position: relative;
	overflow: hidden;
	background-color: var(--hp-brand);
	background-image: radial-gradient(
		circle at 2px 2px,
		color-mix(in srgb, var(--hp-brand) 90%, black 10%) calc(2px / 4),
		transparent 0
	);
	background-size: 4px 4px;
	background-repeat: repeat;
	box-shadow:
		0 0 12px color-mix(in srgb, var(--hp-brand) 45%, transparent),
		0 0 28px color-mix(in srgb, var(--hp-brand) 22%, transparent);
}

.hp-btn-app:hover {
	color: #030a12;
	background-color: var(--hp-brand-2);
	background-image: radial-gradient(
		circle at 2px 2px,
		color-mix(in srgb, var(--hp-brand-2) 90%, black 10%) calc(2px / 4),
		transparent 0
	);
	box-shadow:
		0 0 16px color-mix(in srgb, var(--hp-brand) 55%, transparent),
		0 0 36px color-mix(in srgb, var(--hp-brand) 28%, transparent);
}

.hp-btn-primary {
	font-weight: 700;
	padding: 0.625rem 2.5rem;
	border-radius: 15px;
	border: 1px solid transparent;
	color: #000000;
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background-color: var(--hp-brand);
	background-image: radial-gradient(
		circle at 2px 2px,
		color-mix(in srgb, var(--hp-brand) 90%, black 10%) calc(2px / 4),
		transparent 0
	);
	background-size: 4px 4px;
	background-repeat: repeat;
	box-shadow:
		0 0 12px color-mix(in srgb, var(--hp-brand) 45%, transparent),
		0 0 28px color-mix(in srgb, var(--hp-brand) 22%, transparent);
	transition: color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.hp-btn-primary:hover,
.hp-btn-primary:focus-visible {
	color: var(--hp-brand);
	background-color: #000000;
	background-image: radial-gradient(
		circle at 2px 2px,
		color-mix(in srgb, #000000 90%, white 10%) calc(2px / 4),
		transparent 0
	);
}

[hidden] {
	display: none !important;
}

.hp-hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	background: none;
	border: none;
	padding: 8px;
	cursor: pointer;
	flex-shrink: 0;
}

.hp-hamburger span {
	display: block;
	width: 22px;
	height: 2px;
	background: rgba(242, 237, 227, 0.72);
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.25s ease;
	transform-origin: center;
}

.hp-hamburger[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.hp-hamburger[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.hp-hamburger[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.hp-mobile-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	width: 100%;
	z-index: var(--hp-z-dropdown);
	background: rgba(0, 0, 0, 0.98);
	border-top: 1px solid var(--hp-border);
	padding: 16px 24px 20px;
	flex-direction: column;
	gap: 4px;
	max-height: calc(100dvh - 68px);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

body.hp-mobile-nav-open {
	overflow: hidden;
}

body.hp-mobile-nav-open .hp-nav {
	z-index: var(--hp-z-header);
}

.hp-mobile-nav-backdrop {
	position: fixed;
	inset: 0;
	z-index: var(--hp-z-nav-backdrop);
	background: rgba(0, 0, 0, 0.28);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	cursor: pointer;
}

.hp-logo-brand {
	position: relative;
	display: inline-flex;
	line-height: 1;
	font-size: clamp(1rem, 2.2vw, 1.3rem);
	letter-spacing: 0.08em;
	color: var(--hp-logo-text);
}

.hp-logo-brand__stage {
	position: relative;
	display: inline-block;
}

.hp-logo-brand__rows-wrap {
	position: relative;
	display: inline-block;
}

.hp-logo-brand__row {
	display: inline-flex;
	align-items: center;
}

.hp-logo-brand__row--front {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.hp-logo-brand__word {
	position: relative;
	z-index: 4;
	color: var(--hp-logo-text);
}

.hp-logo-brand__dot-slot {
	width: 0.95em;
	text-align: center;
	opacity: 0;
}

.hp-logo-brand__particle {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 0.56em;
	height: 0.56em;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 0 20px rgba(255, 255, 255, 0.55);
	z-index: 5;
	transform: translate(-50%, -50%);
}

.hp-logo-brand__trail {
	position: absolute;
	left: 0;
	top: 0;
	right: auto;
	bottom: auto;
	pointer-events: none;
	z-index: 3;
}

.hp-bg-orb {
	position: absolute;
	top: 0;
	left: 0;
	width: clamp(300px, 32vw, 560px);
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	opacity: 0.42;
	filter: blur(58px) saturate(1.25);
	will-change: transform, background;
}

.hp-bg-orb--a {
	width: clamp(340px, 35vw, 620px);
}

.hp-bg-orb--b {
	width: clamp(300px, 31vw, 540px);
}

.hp-bg-orb--c {
	width: clamp(360px, 37vw, 660px);
}

.hp-main {
	opacity: 1;
	transition: opacity 680ms cubic-bezier(0.22, 0.78, 0.2, 1);
}

#hp-tubes-canvas,
#hp-cursor-canvas {
	opacity: 1;
	transition: opacity 680ms cubic-bezier(0.22, 0.78, 0.2, 1);
}

body.hp-is-transitioning .hp-main {
	opacity: 0;
}

body.hp-is-transitioning #hp-tubes-canvas,
body.hp-is-transitioning #hp-cursor-canvas {
	opacity: 0;
}

html.hp-entry-pending #hp-tubes-canvas,
html.hp-entry-pending #hp-cursor-canvas,
html.hp-entry-pending .hp-main {
	opacity: 0;
}

html.hp-entry-pending.hp-entry-bg-ready #hp-tubes-canvas,
html.hp-entry-pending.hp-entry-bg-ready #hp-cursor-canvas {
	opacity: 1;
}

html.hp-entry-pending.hp-entry-content-ready .hp-main {
	opacity: 1;
}

@keyframes hpNavMiniBorderSpin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

@keyframes hpSocialFlyIn {
	0% {
		opacity: 0;
		transform: translate3d(-42px, 0, 0) scale(0.84);
	}
	58% {
		opacity: 1;
		transform: translate3d(8px, 0, 0) scale(1.06);
	}
	80% {
		opacity: 1;
		transform: translate3d(-2px, 0, 0) scale(0.995);
	}
	100% {
		opacity: 1;
		transform: translate3d(0, 0, 0) scale(1);
	}
}
