/* Pédalage – coming soon. Czerń, grafit, biel; ciernie z dołu, raster i ziarno. */

@font-face {
	font-family: Archivo;
	src: url("../fonts/archivo-var.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
}

:root {
	--black: #000;
	--ink: #111;
	--graphite: #2a2a2a;
	--ash: #8a8a8a;
	--bone: #f2f2f2;
	--gutter: 16px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { background: var(--black); }

body {
	margin: 0;
	background: var(--black);
	color: var(--bone);
	font-family: Archivo, system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible {
	outline: 2px solid var(--bone);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

/* ---------- Scena ---------- */

.pdl {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 100vh;
	min-height: 100svh;
	padding: 48px var(--gutter) 96px;
	overflow: hidden;
	isolation: isolate;
}

.pdl-bg {
	position: fixed;
	inset: 0;
	z-index: -3;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1) contrast(1.1);
	opacity: 0.6;
}

/* Winieta + raster + ziarno – kontrast dla tekstu na dowolnej klatce wideo. */
.pdl-grain {
	position: fixed;
	inset: 0;
	z-index: -2;
	pointer-events: none;
	background:
		radial-gradient(ellipse at 50% 45%, rgb(0 0 0 / 0.35) 0%, rgb(0 0 0 / 0.85) 75%),
		radial-gradient(rgb(0 0 0 / 0.55) 1px, transparent 1.6px) 0 0 / 4px 4px,
		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='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.pdl-thorns {
	position: fixed;
	bottom: 0;
	z-index: -1;
	width: min(48vw, 560px);
	color: var(--bone);
	opacity: 0.6;
	pointer-events: none;
	line-height: 0;
}

.pdl-thorns svg { width: 100%; height: auto; }
.pdl-thorns--left { left: 0; }
.pdl-thorns--right { right: 0; width: min(44vw, 480px); }

/* ---------- Treść ---------- */

.pdl-inner {
	width: 100%;
	max-width: 600px;
	text-align: center;
}

.pdl-logo {
	width: clamp(240px, 82vw, 560px);
	margin: 0 auto 8px;
	color: var(--bone);
	line-height: 0;
	filter: drop-shadow(0 0 24px rgb(0 0 0 / 0.9));
}

.pdl-logo svg { width: 100%; height: auto; }

.pdl-headline {
	margin: 0;
	font-size: clamp(1.75rem, 7vw, 3.25rem);
	font-weight: 800;
	font-stretch: 125%;
	line-height: 1.05;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-shadow: 0 2px 16px rgb(0 0 0 / 0.8);
}

.pdl-lead {
	margin: 12px 0 28px;
	color: var(--bone);
	font-size: 0.8125rem;
	font-stretch: 110%;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	opacity: 0.8;
}

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

.pdl-form { text-align: left; }

.pdl-row {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pdl-row input,
.pdl-row button {
	height: 54px;
	border: 1px solid var(--bone);
	border-radius: 0;
	font: inherit;
	font-size: 1rem;
}

.pdl-row input {
	min-width: 0;
	padding: 0 16px;
	background: rgb(0 0 0 / 0.65);
	color: var(--bone);
}

.pdl-row input::placeholder { color: var(--ash); opacity: 1; }

.pdl-row button {
	padding: 0 28px;
	background: var(--bone);
	color: var(--black);
	font-weight: 800;
	font-stretch: 125%;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}

.pdl-row button:hover { background: var(--black); color: var(--bone); }
.pdl-row button:disabled { opacity: 0.6; cursor: wait; }

.pdl-consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-top: 14px;
	color: var(--bone);
	font-size: 0.75rem;
	line-height: 1.45;
	opacity: 0.85;
	cursor: pointer;
}

.pdl-consent input {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: var(--bone);
}

.pdl-msg {
	min-height: 1.5em;
	margin: 14px 0 0;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-align: center;
	text-transform: uppercase;
}

.pdl-form.is-done .pdl-row,
.pdl-form.is-done .pdl-consent { display: none; }

.pdl-form.is-done .pdl-msg {
	padding: 18px;
	border: 1px solid var(--bone);
	background: rgb(0 0 0 / 0.6);
	font-size: 1rem;
}

.pdl-about {
	max-width: 440px;
	margin: 28px auto 0;
	color: var(--ash);
	font-size: 0.75rem;
	line-height: 1.5;
	text-align: center;
}

.pdl-trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

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

.pdl-footer {
	position: absolute;
	right: var(--gutter);
	bottom: 16px;
	left: var(--gutter);
	display: flex;
	justify-content: space-between;
	gap: 16px;
	color: var(--bone);
	font-size: 0.6875rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	text-shadow: 0 0 4px var(--black), 0 0 10px var(--black), 0 0 18px var(--black);
}

.pdl-footer a { text-decoration: none; opacity: 0.75; }
.pdl-footer a:hover,
.pdl-footer a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.pdl-lang { display: flex; gap: 8px; }

/* ---------- Szersze ekrany ---------- */

@media (min-width: 640px) {
	.pdl-row { flex-direction: row; gap: 0; }
	.pdl-row input { flex: 1; border-right: 0; }
	.pdl-footer { bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
	.pdl-row button { transition: none; }
}

/* ---------- Polityka prywatności ---------- */

.pdl-doc {
	max-width: 720px;
	margin: 0 auto;
	padding: 32px var(--gutter) 24px;
}

.pdl-doc-logo {
	display: block;
	width: 180px;
	margin: 0 auto 40px;
	color: var(--bone);
	line-height: 0;
}

.pdl-doc-logo svg { width: 100%; height: auto; }

.pdl-doc-body h1 {
	margin: 0 0 8px;
	font-size: clamp(1.75rem, 6vw, 2.5rem);
	font-weight: 800;
	font-stretch: 125%;
	line-height: 1.1;
	text-transform: uppercase;
}

.pdl-doc-body h2 {
	margin: 32px 0 8px;
	font-size: 0.875rem;
	font-weight: 700;
	font-stretch: 125%;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.pdl-doc-body p { margin: 0 0 12px; color: #d6d6d6; }

.pdl-doc .pdl-footer {
	position: static;
	margin-top: 56px;
	padding-top: 16px;
	border-top: 1px solid var(--graphite);
}
