/* lysyweb.pl - design system "Zlota Rysa" (v2), warstwa komponentow.
   Tokeny kolorow siedza w lysyweb.css (--lw-*), ruch i atmosfera w motion.css; ten plik laduje sie ostatni
   i przestawia wyglad komponentow: typografie (Instrument Serif + Geist + Geist Mono), przyciski-pigulki ze
   zlotym polyskiem, karty z refleksem, hero "Spoina", raport "Jak sprawdzam", ziarno papieru w jasnym motywie
   i ryse, ktora na papierze wyglada tak samo szlachetnie jak na granacie.
   Zasady ruchu: tylko transform, opacity i clip-path; przy ograniczonym ruchu wszystko stoi w stanie koncowym.
   Wzorzec: makiety na kanwie "Zlota Rysa - design system lysyweb.pl". */

/* ── Tokeny pomocnicze zalezne od motywu ───────────────────────────────────── */
:root {
	--lw-e1: inset 0 1px 0 var(--lw-hl), 0 1px 2px rgba(0, 0, 0, .35);
	--lw-e2: inset 0 1px 0 var(--lw-hl), 0 2px 4px rgba(0, 0, 0, .25), 0 16px 40px -16px rgba(0, 0, 0, .65);
	--lw-e3: inset 0 1px 0 var(--lw-hl), 0 32px 80px -24px rgba(0, 0, 0, .8), 0 0 0 1px var(--lw-line);
	--lw-e-gold: 0 0 0 1px color-mix(in srgb, var(--lw-beam) 45%, transparent), 0 12px 48px -12px color-mix(in srgb, var(--lw-beam) 28%, transparent);
	--lw-gold-tint: color-mix(in srgb, var(--lw-beam) 10%, transparent);
	--lw-gold-tint-2: color-mix(in srgb, var(--lw-beam) 18%, transparent);
}
:root[data-theme='light'] {
	--lw-e1: 0 1px 2px rgba(48, 36, 12, .06), 0 0 0 1px rgba(48, 36, 12, .02);
	--lw-e2: 0 1px 2px rgba(48, 36, 12, .05), 0 18px 40px -18px rgba(48, 36, 12, .22);
	--lw-e3: 0 30px 80px -24px rgba(48, 36, 12, .32), 0 0 0 1px var(--lw-line);
	--lw-gold-tint: color-mix(in srgb, var(--lw-beam) 12%, transparent);
	--lw-gold-tint-2: color-mix(in srgb, var(--lw-beam) 22%, transparent);
}
@media (prefers-color-scheme: light) {
	:root:not([data-theme='dark']) {
		--lw-e1: 0 1px 2px rgba(48, 36, 12, .06), 0 0 0 1px rgba(48, 36, 12, .02);
		--lw-e2: 0 1px 2px rgba(48, 36, 12, .05), 0 18px 40px -18px rgba(48, 36, 12, .22);
		--lw-e3: 0 30px 80px -24px rgba(48, 36, 12, .32), 0 0 0 1px var(--lw-line);
		--lw-gold-tint: color-mix(in srgb, var(--lw-beam) 12%, transparent);
		--lw-gold-tint-2: color-mix(in srgb, var(--lw-beam) 22%, transparent);
	}
}
/* Sekcja "papierowa" (motion.css) odwraca tokeny bazowe; tu nowe tokeny tej samej sekcji. */
:root[data-theme='dark'] .lw-paper, :root:not([data-theme]) .lw-paper {
	--lw-elevated-2: #ECE6D8; --lw-line-strong: #C3B9A3; --lw-ok: #1E6B50; --lw-sev-high: #A84B0A; --lw-sev-med: #7A5600; --lw-sev-low: #1B57AB;
	--lw-on-accent: #0C1220; --lw-btn-top: #E3B25A; --lw-btn-bot: #D29B3F; --lw-hl: rgba(255, 255, 255, .7);
}
:root[data-theme='light'] .lw-paper {
	--lw-elevated-2: #1C2740; --lw-line-strong: #34415E; --lw-ok: #74C4A4; --lw-sev-high: #FF8A4C; --lw-sev-med: #F2C14E; --lw-sev-low: #7CB8FF;
	--lw-on-accent: #0B0F18; --lw-btn-top: #EDC173; --lw-btn-bot: #DCA34B; --lw-hl: rgba(255, 255, 255, .045);
}

/* ── Papier: lekkie ziarno w jasnym motywie (kafel 128 px, 12 KB) ──────────── */
:root[data-theme='light'] body { background-image: url('../img/paper-grain.png'); background-size: 128px 128px; }
@media (prefers-color-scheme: light) {
	:root:not([data-theme='dark']) body { background-image: url('../img/paper-grain.png'); background-size: 128px 128px; }
}

/* ── Typografia ─────────────────────────────────────────────────────────────── */
body { font-feature-settings: 'ss01', 'cv11'; }
.lw-display { font-size: clamp(2.75rem, 7vw, 6.5rem); line-height: .98; letter-spacing: -.025em; }
.lw-display-sm { font-size: clamp(2.5rem, 5.6vw, 5rem); line-height: 1; }
.lw-h2 { font-size: clamp(2.125rem, 4.2vw, 3.75rem); line-height: 1.04; letter-spacing: -.018em; }
.lw-h2-sm { font-size: clamp(1.875rem, 3vw, 2.5rem); }
.lw-h3 { font-family: var(--lw-serif); font-weight: 400; font-size: clamp(1.625rem, 2.2vw, 2rem); line-height: 1.15; letter-spacing: -.01em; }
.lw-lead { font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); line-height: 1.55; letter-spacing: -.005em; text-wrap: pretty; }
.lw-eyebrow { font-size: .75rem; letter-spacing: .16em; font-weight: 500; color: var(--lw-faint); }
h1 em, h2 em, h3 em, .lw-accent-text { font-weight: 400; color: var(--lw-accent-2); }
:root[data-theme='light'] :is(h1, h2, h3) em { color: var(--lw-accent); }
@media (prefers-color-scheme: light) { :root:not([data-theme='dark']) :is(h1, h2, h3) em { color: var(--lw-accent); } }
.lw-wordmark-text { font-size: 1.65rem; }
.lw-price-num { font-size: clamp(3rem, 4.4vw, 4rem); letter-spacing: -.03em; }
.lw-manifest-text { font-family: var(--lw-serif); font-weight: 400; letter-spacing: -.02em; }

/* Eyebrow sekcji z kreska: „01 —— Usługi”. Numer dopisuje licznik w motion.css; tu tylko kreska. */
.lw-section-head > .lw-eyebrow { display: inline-flex; align-items: center; gap: .75rem; }
.lw-section-head > .lw-eyebrow::after { content: ''; order: -1; width: 1.75rem; height: 1px; background: var(--lw-line-strong); }

/* ── Fokus ──────────────────────────────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--lw-accent-2); outline-offset: 3px; border-radius: 4px; }

/* ── Przyciski: pigulki, glowny ze zlotym polyskiem ─────────────────────────── */
.wp-block-button__link, .lw-button {
	border-radius: 999px;
	padding: .9375rem 1.625rem;
	font-size: .9375rem; font-weight: 600; letter-spacing: -.005em;
	background: linear-gradient(180deg, var(--lw-btn-top), var(--lw-btn-bot));
	border: 1px solid rgba(0, 0, 0, .08);
	color: var(--lw-on-accent);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 1px 2px rgba(0, 0, 0, .25), 0 8px 24px -10px color-mix(in srgb, var(--lw-beam) 55%, transparent);
	transition: box-shadow .22s var(--lw-ease), transform .14s var(--lw-ease), filter .22s var(--lw-ease);
}
.wp-block-button__link:hover, .lw-button:hover {
	background: linear-gradient(180deg, var(--lw-btn-top), var(--lw-btn-bot));
	color: var(--lw-on-accent); border-color: rgba(0, 0, 0, .08); filter: brightness(1.06);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 1px 2px rgba(0, 0, 0, .25), 0 12px 32px -10px color-mix(in srgb, var(--lw-beam) 70%, transparent);
}
.wp-block-button__link:active, .lw-button:active { transform: translateY(1px); filter: brightness(.96); }
.is-style-outline > .wp-block-button__link {
	background: var(--lw-elevated); color: var(--lw-text); border-color: var(--lw-line-strong);
	box-shadow: var(--lw-e1); filter: none;
}
.is-style-outline > .wp-block-button__link:hover { background: var(--lw-elevated-2); color: var(--lw-text); border-color: var(--lw-faint); filter: none; box-shadow: var(--lw-e1); }
.wp-block-buttons { gap: .75rem; }
.lw-arrow-link { font-weight: 600; color: var(--lw-accent); }
.lw-theme-toggle, .lw-lang { height: 2.75rem; min-width: 2.75rem; background: var(--lw-surface); }
.lw-lang { padding-inline: .875rem; }

/* ── Karty i powierzchnie: promien 14, refleks u gory, uniesienie na hover ─── */
.is-style-hairline, .lw-card {
	border-radius: var(--lw-radius-md);
	box-shadow: var(--lw-e1);
	transition: border-color .22s var(--lw-ease), box-shadow .42s var(--lw-ease), transform .42s var(--lw-ease);
}
@media (hover: hover) and (pointer: fine) {
	.lw-cards > .lw-card:hover, .lw-showcase .lw-project:hover { transform: translateY(-2px); box-shadow: var(--lw-e2); border-color: var(--lw-line-strong); }
}
.lw-card.lw-card-lead, .lw-plan.is-featured, .lw-option.is-featured {
	background: linear-gradient(180deg, color-mix(in srgb, var(--lw-beam) 8%, var(--lw-elevated)), var(--lw-surface) 60%);
	border-color: color-mix(in srgb, var(--lw-beam) 45%, var(--lw-line));
	box-shadow: var(--lw-e-gold);
}
/* Spoina na krawedzi wyroznienia: zlota linia 1 px, gasnie ku rogom. */
.lw-card.lw-card-lead::before, .lw-plan.is-featured::before {
	content: ''; position: absolute; left: 1.5rem; right: 1.5rem; top: -1px; height: 1px; pointer-events: none;
	background: linear-gradient(90deg, transparent, var(--lw-beam) 18%, var(--lw-accent-2) 50%, var(--lw-beam) 82%, transparent);
}
.lw-card.lw-card-lead { position: relative; }
.lw-pill { border-radius: 999px; font-size: .75rem; padding: .3125rem .75rem; color: var(--lw-muted); }
.lw-badge { background: linear-gradient(180deg, var(--lw-btn-top), var(--lw-btn-bot)); color: var(--lw-on-accent); font-weight: 500; letter-spacing: .12em; padding: .25rem .75rem; }
.lw-project { border-radius: var(--lw-radius-lg); overflow: hidden; padding: 0; }
.lw-project .wp-block-post-featured-image img { border-radius: 0; transition: transform .9s var(--lw-ease); }
.lw-project:hover .wp-block-post-featured-image img { transform: scale(1.035); }
.lw-project .wp-block-post-title, .lw-project .lw-small { padding-inline: 1.25rem; }
.lw-project > :last-child { padding-bottom: 1.25rem; }
.lw-plan { border-radius: var(--lw-radius-lg); padding: 2rem 1.75rem 1.75rem; }

/* ── Naglowek ───────────────────────────────────────────────────────────────── */
.lw-header-bar { padding-block: .875rem; }
.lw-nav .wp-block-navigation-item__content { position: relative; color: var(--lw-muted); font-weight: 500; }
.lw-nav .wp-block-navigation-item__content::after {
	content: ''; position: absolute; left: .75rem; right: .75rem; bottom: .25rem; height: 1px;
	background: linear-gradient(90deg, transparent, var(--lw-beam), transparent);
	transform: scaleX(0); transition: transform .42s var(--lw-ease);
}
.lw-nav .wp-block-navigation-item__content:hover::after, .lw-nav .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }
.lw-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--lw-text); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-family: var(--lw-serif); font-size: 2.25rem; line-height: 1.1; letter-spacing: -.02em; padding: .875rem 0; }

/* ── Formularze ─────────────────────────────────────────────────────────────── */
.lw-form { border-radius: var(--lw-radius-lg); box-shadow: var(--lw-e2); }
.lw-field label { font-size: .875rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--lw-text); }
.lw-field input[type='text'], .lw-field input[type='email'], .lw-field select, .lw-field textarea {
	min-height: 3.25rem; padding: .875rem 1rem; border-radius: var(--lw-radius); border-color: var(--lw-line-strong);
	background: var(--lw-surface); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .18);
}
:root[data-theme='light'] .lw-field :is(input[type='text'], input[type='email'], select, textarea) { background: var(--lw-elevated); box-shadow: inset 0 1px 2px rgba(48, 36, 12, .06); }
.lw-field input:focus, .lw-field select:focus, .lw-field textarea:focus { border-color: var(--lw-accent); box-shadow: 0 0 0 4px var(--lw-gold-tint-2); }
.lw-field-check input { width: 1.375rem; height: 1.375rem; }
.lw-form .lw-button { width: auto; min-width: 14rem; }

/* ── FAQ: pytania serifem, plus obraca sie w krzyzyk ───────────────────────── */
.lw-faq .wp-block-details summary { font-family: var(--lw-serif); font-weight: 400; font-size: clamp(1.25rem, 2vw, 1.6875rem); line-height: 1.3; letter-spacing: -.01em; padding: 1.5rem 3.5rem 1.5rem 0; }
.lw-faq .wp-block-details summary:hover { color: var(--lw-accent-2); }
.lw-faq .wp-block-details summary::after {
	content: '+'; width: 2.25rem; height: 2.25rem; border-radius: 999px; border: 1px solid var(--lw-line-strong);
	display: grid; place-content: center; font-size: 1.125rem; color: var(--lw-muted);
	transition: transform .42s var(--lw-ease), border-color .22s ease, color .22s ease;
}
.lw-faq .wp-block-details[open] summary::after { border-color: var(--lw-accent); color: var(--lw-accent); }
.lw-faq .wp-block-details > p { font-size: 1.0625rem; line-height: 1.7; padding-right: 3.5rem; }

/* ── CTA i stopka ───────────────────────────────────────────────────────────── */
.lw-cta {
	border-radius: var(--lw-radius-lg);
	border-color: color-mix(in srgb, var(--lw-beam) 30%, var(--lw-line));
	background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--lw-beam) 12%, var(--lw-elevated)), var(--lw-surface) 55%);
	box-shadow: var(--lw-e2);
}
.lw-footer-links a { font-size: .9375rem; padding-block: .4375rem; }
.lw-footer-bottom { font-family: var(--lw-mono); letter-spacing: .03em; }

/* ── Hero "Spoina": rysa rozcina naglowek na dwie strony pracy ─────────────── */
.lw-hero--seam { text-align: center; }
.lw-hero--seam > .lw-hero-grid { justify-content: center !important; }
.lw-hero--seam .lw-hero-copy { max-width: none; width: 100%; display: flex; flex-direction: column; align-items: center; }
.lw-hero--seam .lw-hero-copy > * { margin-inline: auto; }
.lw-hero--seam .lw-display { font-size: clamp(2.875rem, 7.4vw, 6.75rem); max-width: none; }
.lw-seam-title { display: flex; flex-direction: column; align-items: center; width: 100%; }
.lw-seam-line { display: block; max-width: 18ch; padding-inline: 1rem; }
.lw-seam-title em.lw-seam-line { max-width: 20ch; }
.lw-hero-seam { display: block; position: relative; width: 100vw; margin-inline: calc(50% - 50vw); height: clamp(3.5rem, 7vw, 6.5rem); margin-block: clamp(.25rem, 1vw, .75rem); }
.lw-hero-seam .lw-crack { position: absolute; inset: 0; max-width: none; width: 100%; height: 100%; aspect-ratio: auto; }
.lw-hero-seam .lw-crack svg { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.lw-hero--seam .lw-lead { max-width: 40rem; margin-top: 2.5rem; }
.lw-hero--seam .wp-block-buttons { justify-content: center; }
.lw-hero--seam::before { -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000 0%, transparent 78%); mask-image: radial-gradient(ellipse 60% 70% at 50% 40%, #000 0%, transparent 78%); }

/* Wejscie: linia 1 wysuwa sie spod rysy, rysa rysuje sie od lewej, linia 2 opada z gory. Tylko z JS (klasa .lw-js
   powstaje dopiero bez ograniczenia ruchu), wiec bez skryptu i przy "ogranicz ruch" naglowek i rysa stoja gotowe. */
@property --c { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --g { syntax: '<number>'; inherits: true; initial-value: 0; }
@media (prefers-reduced-motion: no-preference) {
	.lw-js .lw-hero--seam .lw-hero-copy > * { animation-name: none; }
	.lw-js .lw-hero--seam .lw-seam-title { overflow: visible; }
	.lw-js .lw-hero--seam .lw-seam-line { animation: lw-seam-up 1s var(--lw-ease) .25s both; }
	.lw-js .lw-hero--seam em.lw-seam-line { animation-name: lw-seam-down; animation-delay: 1s; }
	.lw-js .lw-hero .lw-crack.is-hero, .lw-js:not(.lw-ready) .lw-hero .lw-crack.is-hero { animation: lw-seam-draw 1.6s var(--lw-ease) .7s both; }
	.lw-js .lw-hero--seam .lw-eyebrow { animation: lw-seam-fade .9s var(--lw-ease) both; }
	.lw-js .lw-hero--seam .lw-lead { animation: lw-seam-fade .8s var(--lw-ease) 1.3s both; }
	.lw-js .lw-hero--seam .wp-block-buttons { animation: lw-seam-fade .8s var(--lw-ease) 1.45s both; }
	.lw-js .lw-hero--seam .lw-hero-copy > p:last-child { animation: lw-seam-fade .8s var(--lw-ease) 1.6s both; }
	/* Polysk przejezdza raz po glownym przycisku. */
	.lw-js .lw-hero--seam .wp-block-button:not(.is-style-outline) .wp-block-button__link { position: relative; overflow: hidden; }
	.lw-js .lw-hero--seam .wp-block-button:not(.is-style-outline) .wp-block-button__link::after {
		content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; pointer-events: none;
		background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent);
		transform: translateX(-120%) skewX(-18deg); animation: lw-sheen 1.1s cubic-bezier(.65, 0, .35, 1) 2.4s both;
	}
}
@keyframes lw-seam-up { from { opacity: .01; transform: translateY(.45em); } }
@keyframes lw-seam-down { from { opacity: .01; transform: translateY(-.45em); } }
@keyframes lw-seam-fade { from { opacity: .01; transform: translateY(12px); } }
@keyframes lw-seam-draw { from { --c: 1; --g: 1; } 45% { --c: 0; } to { --c: 0; --g: 0; } }
@keyframes lw-sheen { to { transform: translateX(320%) skewX(-18deg); } }

/* ── Raport "Jak sprawdzam" ─────────────────────────────────────────────────── */
.lw-proof-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 4.5rem); align-items: center; max-width: 75rem; margin-inline: auto; }
.lw-proof .lw-section-head { margin: 0 !important; }
@media (max-width: 56rem) { .lw-proof-grid { grid-template-columns: minmax(0, 1fr); } }
.lw-report { margin: 0; display: flex; flex-direction: column; gap: .75rem; }
.lw-report > figcaption { font-size: .8125rem; color: var(--lw-faint); }
.lw-report-head, .lw-report-body { background: var(--lw-surface); border: 1px solid var(--lw-line); }
.lw-report-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .875rem 1.125rem; border-radius: var(--lw-radius-lg) var(--lw-radius-lg) 0 0; border-bottom: 0; font-family: var(--lw-mono); font-size: .75rem; color: var(--lw-faint); letter-spacing: .04em; box-shadow: var(--lw-e3); }
.lw-report-body { position: relative; border-radius: 0 0 var(--lw-radius-lg) var(--lw-radius-lg); overflow: hidden; box-shadow: var(--lw-e3); }
.lw-report-dots { display: flex; gap: .375rem; }
.lw-report-dots i { width: .5625rem; height: .5625rem; border-radius: 50%; background: var(--lw-line-strong); }
.lw-report-state { color: var(--lw-accent); }
.lw-report-list { list-style: none; margin: 0; padding: 0; }
.lw-report-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .875rem; align-items: center; padding: .875rem 1.125rem .875rem 2rem; border-top: 1px solid var(--lw-line); font-size: .9375rem; color: var(--lw-text); }
.lw-report-row.is-total { background: var(--lw-gold-tint); }
.lw-report-code { font-family: var(--lw-mono); font-size: .75rem; color: var(--lw-faint); }
.lw-report-row.is-total .lw-report-code { color: var(--lw-accent); }
.lw-swap { display: inline-grid; justify-items: start; }
.lw-swap > * { grid-area: 1 / 1; }
.lw-swap-a { visibility: hidden; } /* stan koncowy (bez animacji): naprawione */
.lw-badge-sev {
	display: inline-flex; align-items: center; gap: .4375rem; height: 1.5rem; padding: 0 .625rem 0 .5625rem; border-radius: 999px; white-space: nowrap;
	font-family: var(--lw-mono); font-size: .6875rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
	color: var(--sev); border: 1px solid color-mix(in srgb, var(--sev) 40%, transparent); background: color-mix(in srgb, var(--sev) 10%, var(--lw-surface));
}
.lw-badge-sev::before { content: ''; width: .375rem; height: .375rem; border-radius: 50%; background: currentColor; }
.lw-badge-sev.is-crit { --sev: var(--lw-danger); }
.lw-badge-sev.is-high { --sev: var(--lw-sev-high); }
.lw-badge-sev.is-med { --sev: var(--lw-sev-med); }
.lw-badge-sev.is-low { --sev: var(--lw-sev-low); }
.lw-badge-sev.is-ok { --sev: var(--lw-ok); }
.lw-badge-sev.is-gold { --sev: var(--lw-accent); }
.lw-report-seam { position: absolute; left: .75rem; top: .875rem; bottom: 4rem; width: 2px; border-radius: 2px; background: linear-gradient(var(--lw-accent-2), var(--lw-beam), color-mix(in srgb, var(--lw-beam) 60%, #000)); box-shadow: 0 0 10px color-mix(in srgb, var(--lw-beam) 60%, transparent); transform-origin: top; }
.lw-report-scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; opacity: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, transparent, var(--lw-sev-low), transparent); box-shadow: 0 0 18px 2px color-mix(in srgb, var(--lw-sev-low) 55%, transparent); }

/* Odegranie przy wejsciu w widok (CSS scroll-driven): skan, spoina, plakietki zmieniaja sie na „Naprawione”. */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.lw-report { view-timeline-name: --lw-report; }
		.lw-report-scan { animation: lw-scan linear both; animation-timeline: --lw-report; animation-range: entry 60% cover 45%; }
		.lw-report-seam { animation: lw-grow linear both; animation-timeline: --lw-report; animation-range: cover 35% cover 50%; }
		.lw-swap-a { visibility: visible; animation: lw-swap-out linear both; animation-timeline: --lw-report; animation-range: cover 42% cover 52%; }
		.lw-swap-b { animation: lw-swap-in linear both; animation-timeline: --lw-report; animation-range: cover calc(42% + var(--i, 0) * 3%) cover calc(50% + var(--i, 0) * 3%); }
		.lw-report-row.is-total { animation: lw-swap-in linear both; animation-timeline: --lw-report; animation-range: cover 50% cover 58%; }
	}
}
@keyframes lw-scan { 0% { top: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes lw-grow { from { transform: scaleY(0); } }
@keyframes lw-swap-out { to { opacity: 0; transform: scale(.85); } }
@keyframes lw-swap-in { from { opacity: 0; transform: scale(.85); } }

/* ── Rysa na papierze: ten sam ksztalt i blask, glebsze zloto i cieply cien zamiast smolistego lakieru ───────── */
:root[data-theme='light'] .kg .kg-lac path { fill: color-mix(in srgb, var(--lw-beam) 45%, #4a2e06); opacity: .5; }
:root[data-theme='light'] .kg .kg-dark use { stroke: color-mix(in srgb, #4a2e06 30%, transparent); }
:root[data-theme='light'] .kg .kg-glow use { opacity: calc(.32 + var(--near) * .4); }
:root[data-theme='light'] .kg .kg-mid path { fill: color-mix(in srgb, var(--lw-beam) 70%, #fff4d2); }
:root[data-theme='light'] .kg .kg-core path { fill: #FFF4D2; opacity: .85; }
:root[data-theme='light'] .lw-crack svg { filter: drop-shadow(0 1px .6px rgba(74, 46, 6, .22)); }
@media (prefers-color-scheme: light) {
	:root:not([data-theme='dark']) .kg .kg-lac path { fill: color-mix(in srgb, var(--lw-beam) 45%, #4a2e06); opacity: .5; }
	:root:not([data-theme='dark']) .kg .kg-dark use { stroke: color-mix(in srgb, #4a2e06 30%, transparent); }
	:root:not([data-theme='dark']) .kg .kg-glow use { opacity: calc(.32 + var(--near) * .4); }
	:root:not([data-theme='dark']) .kg .kg-mid path { fill: color-mix(in srgb, var(--lw-beam) 70%, #fff4d2); }
	:root:not([data-theme='dark']) .kg .kg-core path { fill: #FFF4D2; opacity: .85; }
	:root:not([data-theme='dark']) .lw-crack svg { filter: drop-shadow(0 1px .6px rgba(74, 46, 6, .22)); }
}

/* ── Telefon: mniej naraz ───────────────────────────────────────────────────── */
@media (max-width: 47.99rem) {
	.lw-section { padding-block: 4rem; }
	.lw-section.lw-section-tight { padding-top: 0; }
	.lw-hero--seam .lw-eyebrow { max-width: 22rem; }
	.lw-hero-seam { height: 3.25rem; }
	.lw-hero--seam .wp-block-buttons { flex-direction: column; align-items: stretch; width: 100%; }
	.lw-hero--seam .wp-block-button, .lw-hero--seam .wp-block-button__link { width: 100%; text-align: center; }
	/* Cennik: przesuwany palcem rzad zamiast stosu czterech kart; wyrozniony pakiet pierwszy. */
	.lw-plans:not(.lw-plans-care) { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: .75rem; margin-inline: -1.25rem; padding: 1rem 1.25rem .5rem; scrollbar-width: none; }
	.lw-plans:not(.lw-plans-care)::-webkit-scrollbar { display: none; }
	.lw-plans:not(.lw-plans-care) > .lw-plan { flex: 0 0 84%; scroll-snap-align: center; }
	.lw-plans:not(.lw-plans-care) > .lw-plan.is-featured { order: -1; }
	.lw-faq .wp-block-details > p { padding-right: 0; }
	.lw-report-row { grid-template-columns: auto minmax(0, 1fr); font-size: .875rem; }
	.lw-report-code { display: none; }
	.lw-report-row.is-total .lw-report-code { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.lw-card, .lw-project img, .wp-block-button__link { transition: none !important; }
}

/* ══ Podstrony ═══════════════════════════════════════════════════════════════════════════════════════════
   Naglowek konczy sie rysa (functions.php dodaje .has-crack i .lw-crack.is-head tylko tam, gdzie naglowek jest sam). */
.lw-page-head { position: relative; isolation: isolate; padding-top: clamp(3.5rem, 8vw, 6.5rem); }
.lw-page-head.has-crack::after {
	content: ''; position: absolute; inset: 0 0 auto; height: min(100%, 34rem); z-index: -1; pointer-events: none;
	background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--lw-text) 9%, transparent) 1px, transparent 0);
	background-size: 28px 28px;
	-webkit-mask-image: radial-gradient(ellipse 55% 85% at 85% 15%, #000 10%, transparent 70%);
	mask-image: radial-gradient(ellipse 55% 85% at 85% 15%, #000 10%, transparent 70%);
}
.lw-page-head.has-crack { padding-bottom: clamp(1.25rem, 3vw, 2.25rem); }
.lw-page-head.has-crack .lw-section-head { max-width: 54rem; margin-bottom: 0; }
.lw-page-head.has-crack .lw-display { font-size: clamp(2.625rem, 6.2vw, 4.75rem); line-height: 1.02; letter-spacing: -.02em; }
.lw-page-head.has-crack .lw-lead { max-width: 40rem; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); }
.lw-crack.is-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.lw-js .lw-crack.is-head, .lw-js:not(.lw-ready) .lw-crack.is-head { animation: lw-seam-draw 1.6s var(--lw-ease) .45s both; }

/* Uslugi: numer konturem, cena jako plakietka, lista jako wiersze z linia */
.lw-services { counter-reset: lw-svc; }
.lw-service-split { counter-increment: lw-svc; }
.lw-service-split::before {
	content: counter(lw-svc, decimal-leading-zero); content: counter(lw-svc, decimal-leading-zero) / '';
	display: block; margin-bottom: .75rem; font-family: var(--lw-serif); font-size: clamp(3.25rem, 6vw, 5.5rem); line-height: .8; letter-spacing: -.03em;
	color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--lw-accent) 45%, var(--lw-line-strong));
}
.lw-service-split > .lw-eyebrow {
	align-self: start; display: flex; width: fit-content; padding: .375rem .8125rem; border-radius: 999px; text-transform: none;
	font-family: var(--lw-mono); font-size: .8125rem; letter-spacing: .04em; color: var(--lw-accent-2);
	border: 1px solid color-mix(in srgb, var(--lw-accent) 40%, transparent); background: var(--lw-gold-tint);
}
.lw-service .lw-h2-sm { font-size: clamp(2rem, 3.6vw, 2.875rem); line-height: 1.05; }
.lw-service-split > .lw-checks { columns: 1; }
/* Lista obok spina wszystkie wiersze; nadmiar wysokosci trafia do ostatniego, pustego wiersza, a nie miedzy naglowek i opis. */
@media (min-width: 56rem) {
	.lw-service-split { grid-template-rows: repeat(6, auto) 1fr; }
	.lw-service-split > .lw-checks { grid-row: 1 / -1; }
}
.lw-service-split > .lw-checks li { margin: 0; padding: .9375rem 0 .9375rem 2rem; border-bottom: 1px solid var(--lw-line); font-size: .9375rem; }
.lw-service-split > .lw-checks li:first-child { border-top: 1px solid var(--lw-line); }
.lw-service-split > .lw-checks li::before { top: 1.25rem; left: .25rem; }

/* Jak pracuje: duzy zloty numer, czas jako plakietka, dwie kolumny jako wklesle karty (druga zlota) */
.lw-step-head { align-items: flex-end; }
.lw-step-head > .lw-eyebrow:first-child {
	min-width: 1.1em; font-family: var(--lw-serif); font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 400; line-height: .8;
	letter-spacing: -.02em; text-transform: none; color: var(--lw-accent);
}
.lw-step-head > .lw-mono { margin-left: auto; padding: .25rem .75rem; border: 1px solid var(--lw-line-strong); border-radius: 999px; font-size: .75rem; letter-spacing: .04em; }
.lw-step > .lw-step-cols { grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); }
.lw-step-cols > div { padding: 1.25rem 1.5rem; border: 1px solid var(--lw-line); border-radius: var(--lw-radius-md); background: color-mix(in srgb, var(--lw-bg) 55%, transparent); }
.lw-step-cols > div:last-child:not(:first-child) {
	border-color: color-mix(in srgb, var(--lw-accent) 38%, var(--lw-line));
	background: linear-gradient(180deg, color-mix(in srgb, var(--lw-accent) 9%, var(--lw-elevated)), var(--lw-elevated) 75%);
}

/* Poradnik: tytuly kart szeryfowe */
.lw-post-card .wp-block-post-title { font-family: var(--lw-serif); font-weight: 400; font-size: clamp(1.375rem, 2vw, 1.625rem); line-height: 1.18; letter-spacing: -.01em; }
.lw-post-card .wp-block-post-title a { transition: color .2s ease; }
.lw-post-card .wp-block-post-title a:hover { color: var(--lw-accent-2); }

/* Tresc artykulow, realizacji i stron prawnych */
.lw-prose { font-size: 1.0625rem; line-height: 1.75; }
.lw-prose h2 { font-weight: 400; font-size: clamp(1.75rem, 3vw, 2.375rem); line-height: 1.12; letter-spacing: -.015em; margin-top: 3rem; }
.lw-prose :is(ul:not([class]), ul.wp-block-list:not([class*="lw-"])) { list-style: none; padding-left: 1.5rem; }
.lw-prose :is(ul:not([class]), ul.wp-block-list:not([class*="lw-"])) > li { position: relative; }
.lw-prose :is(ul:not([class]), ul.wp-block-list:not([class*="lw-"])) > li::before {
	content: ''; position: absolute; left: -1.25rem; top: .72em; width: .375rem; height: .375rem; background: var(--lw-accent); transform: rotate(45deg);
}
.lw-prose ol > li::marker { color: var(--lw-accent); font-family: var(--lw-mono); font-size: .875em; }
.lw-prose a:not(.wp-block-button__link):not(.lw-gloss) { text-decoration-color: color-mix(in srgb, var(--lw-accent) 60%, transparent); text-decoration-thickness: 1px; }
.lw-prose a:not(.wp-block-button__link):not(.lw-gloss):hover { color: var(--lw-accent-2); text-decoration-color: currentColor; }
.lw-prose :not(pre) > code {
	font-family: var(--lw-mono); font-size: .875em; padding: .125em .375em; border-radius: var(--lw-radius-sm);
	background: var(--lw-elevated); border: 1px solid var(--lw-line); color: var(--lw-text); overflow-wrap: anywhere;
}
.lw-prose :is(blockquote, .wp-block-quote) {
	margin-inline: 0; padding: .25rem 0 .25rem 1.5rem; border-left: 2px solid var(--lw-accent);
	font-family: var(--lw-serif); font-size: 1.375rem; line-height: 1.45; color: var(--lw-text);
}
.lw-prose :is(blockquote, .wp-block-quote) cite { display: block; margin-top: .75rem; font-family: var(--lw-mono); font-size: .75rem; font-style: normal; letter-spacing: .06em; color: var(--lw-faint); }
:is(.single-post, .single-guide) .lw-prose > p:first-child::first-letter {
	float: left; padding: .06em .1em 0 0; font-family: var(--lw-serif); font-size: 3.4em; line-height: .8; color: var(--lw-accent);
}

/* Kontakt: kanaly jako wiersze */
.lw-contact-links { margin-top: 1.75rem !important; border-top: 1px solid var(--lw-line); }
.lw-contact-links li { margin: 0; padding-block: 1rem; border-bottom: 1px solid var(--lw-line); }
.lw-contact-links a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-family: var(--lw-serif); font-size: 1.375rem; color: var(--lw-text); text-decoration: none; overflow-wrap: anywhere; }
.lw-contact-links a::after { content: '\2197'; content: '\2197' / ''; font-family: var(--lw-mono); font-size: 1rem; color: var(--lw-accent); transition: transform .3s var(--lw-ease); }
.lw-contact-links a:hover { color: var(--lw-accent-2); }
.lw-contact-links a:hover::after { transform: translate(2px, -2px); }

@media (max-width: 47.99rem) {
	.lw-page-head { padding-top: 3rem; }
	.lw-page-head.has-crack { padding-bottom: 1rem; }
	.lw-page-head.has-crack::after { display: none; }
	.lw-crack.is-head { margin-bottom: 2rem; }
	.lw-step-head > .lw-mono { margin-left: 0; }
	.lw-step-cols > div { padding: 1rem 1.125rem; }
	.lw-prose { font-size: 1rem; }
	.lw-prose :is(blockquote, .wp-block-quote) { font-size: 1.1875rem; }
}

/* ══ CV na "O mnie" (wzorce cv-hero i cv-body z tools/build-cv.js): akta z rysa ══════════════════════════════════
   Naglowek: imie jako h1 i karta z portretem; pod nim rysa naglowka (functions.php). Tresc: pasek faktow, spis
   przyklejony po lewej (na telefonie pasek przyciskow), miedzy spisem a trescia pionowa rysa (lysyweb-cv.js). */
.lw-cv-head-grid { display: grid; gap: clamp(1.75rem, 5vw, 4.5rem); align-items: end; }
@media (min-width: 56rem) { .lw-cv-head-grid { grid-template-columns: minmax(0, 1fr) minmax(18rem, 22rem); } }
.lw-cv-intro > * { margin: 0; }
.lw-cv-intro > * + * { margin-top: 1.25rem; }
.lw-page-head .lw-display.lw-cv-name { font-size: clamp(3.25rem, 8.4vw, 6.5rem); line-height: .95; letter-spacing: -.025em; margin-top: .75rem; }
.lw-cv-name em { display: block; }
.lw-cv-role { font-family: var(--lw-mono); font-size: .875rem; letter-spacing: .02em; color: var(--lw-muted); }
.lw-cv-role b { font-weight: 400; color: var(--lw-accent); }
.lw-cv-profile { max-width: 40rem; }
.lw-cv-avail {
	display: inline-flex; align-items: center; gap: .625rem; width: fit-content; padding: .5rem .875rem .5rem .75rem; border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--lw-ok) 35%, var(--lw-line)); border-left-width: 1px;
	background: color-mix(in srgb, var(--lw-ok) 8%, transparent); color: var(--lw-text); font-size: .875rem; font-weight: 500;
}
.lw-cv-dot { flex: 0 0 .5rem; width: .5rem; height: .5rem; border-radius: 50%; background: var(--lw-ok); box-shadow: 0 0 0 .25rem color-mix(in srgb, var(--lw-ok) 22%, transparent); }
.lw-cv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.lw-button.is-ghost { background: var(--lw-elevated); color: var(--lw-text); border-color: var(--lw-line-strong); box-shadow: var(--lw-e1); filter: none; }
.lw-button.is-ghost:hover { background: var(--lw-elevated-2); color: var(--lw-text); border-color: var(--lw-faint); filter: none; box-shadow: var(--lw-e1); }
.lw-cv-pdfs { font-family: var(--lw-mono); font-size: .75rem; color: var(--lw-faint); }
.lw-cv-pdfs a { color: var(--lw-accent-2); }
.lw-cv-id {
	position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; padding: 1.75rem;
	border-radius: var(--lw-radius-lg); box-shadow: var(--lw-e2);
}
.lw-cv-id::before {
	content: ''; position: absolute; left: 1.75rem; right: 1.75rem; top: -1px; height: 1px; pointer-events: none;
	background: linear-gradient(90deg, transparent, var(--lw-beam) 18%, var(--lw-accent-2) 50%, var(--lw-beam) 82%, transparent);
}
.lw-cv-photo {
	width: 12.5rem; height: 12.5rem; border-radius: 50%; object-fit: cover; filter: grayscale(1) contrast(1.05);
	box-shadow: 0 0 0 6px var(--lw-elevated), 0 0 0 7px color-mix(in srgb, var(--lw-accent) 60%, transparent), var(--lw-e2);
}
.lw-cv-id-rows { list-style: none; margin: 0; padding: 0; width: 100%; border-top: 1px solid var(--lw-line); }
.lw-cv-id-rows li {
	position: relative; margin: 0; padding: .75rem 0 .75rem 1.75rem; border-bottom: 1px solid var(--lw-line);
	font-family: var(--lw-mono); font-size: .8125rem; color: var(--lw-muted); overflow-wrap: anywhere;
}
.lw-cv-id-rows a { color: var(--lw-muted); text-decoration: none; }
.lw-cv-id-rows a:hover { color: var(--lw-accent-2); }
.lw-cv-id-rows li::before {
	content: ''; position: absolute; left: 0; top: 50%; width: 1rem; height: 1rem; margin-top: -.5rem; background: var(--lw-accent);
	-webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat;
}
.lw-cv-id-rows .is-mail { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.lw-cv-id-rows .is-in { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Cpath d='M8 10v7M8 7v.01M12 17v-4a2 2 0 0 1 4 0v4M12 10v7'/%3E%3C/svg%3E"); }
.lw-cv-id-rows .is-pin { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21Z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }

/* Pasek faktow */
.lw-cv-factbar {
	list-style: none; margin-top: 0; margin-bottom: clamp(3rem, 7vw, 5.5rem); padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(10.5rem, 100%), 1fr));
	border: 1px solid var(--lw-line); border-radius: var(--lw-radius-md); background: var(--lw-surface); overflow: hidden;
}
.lw-cv-factbar li { margin: 0; padding: 1.25rem 1.375rem; box-shadow: -1px 0 0 var(--lw-line), 0 -1px 0 var(--lw-line); }
.lw-cv-factbar strong { display: block; font-family: var(--lw-serif); font-weight: 400; font-size: clamp(1.375rem, 2.2vw, 1.875rem); line-height: 1.05; color: var(--lw-text); }
.lw-cv-factbar span { display: block; margin-top: .5rem; font-family: var(--lw-mono); font-size: .75rem; line-height: 1.4; color: var(--lw-faint); }

/* Uklad: spis + tresc, rysa miedzy nimi */
.lw-cv-wrap { position: relative; }
.lw-cv-layout { display: block; }
.lw-cv-main { padding-left: 0; min-width: 0; }
.lw-cv-index, .lw-cv-spines { display: none; }
@media (min-width: 64rem) {
	.lw-cv-layout { display: grid; grid-template-columns: 13rem minmax(0, 1fr); column-gap: clamp(3rem, 6vw, 5rem); align-items: start; }
	.lw-cv-index { display: flex; flex-direction: column; gap: 1.5rem; position: sticky; top: calc(var(--lw-header-h, 66px) + 2rem); transition: top .35s cubic-bezier(.2, .7, .2, 1); }
	:root.lw-head-hidden .lw-cv-index { top: 2rem; }
	.lw-cv-spines { display: block; }
}
.lw-cv-toc { display: flex; flex-direction: column; border-left: 1px solid var(--lw-line); }
.lw-cv-toclink { position: relative; display: flex; gap: .75rem; padding: .5625rem 0 .5625rem 1.125rem; font-size: .875rem; line-height: 1.45; color: var(--lw-faint); text-decoration: none; transition: color .2s ease; }
.lw-cv-toclink b { font-family: var(--lw-mono); font-weight: 400; font-size: .75rem; padding-top: .125rem; }
.lw-cv-toclink:hover, .lw-cv-toclink.is-active { color: var(--lw-text); }
.lw-cv-toclink.is-active b { color: var(--lw-accent); }
.lw-cv-toclink.is-active::before { content: ''; position: absolute; left: -1px; top: .5rem; bottom: .5rem; width: 1px; background: var(--lw-accent); box-shadow: 0 0 8px var(--lw-beam); }
.lw-cv-index p { margin: 0; padding-left: 1.125rem; }
.lw-cv-chips {
	position: sticky; top: var(--lw-header-h, 66px); z-index: 20; display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none;
	margin-top: -1.5rem; margin-bottom: 2rem; padding: .75rem 0;
	background: color-mix(in srgb, var(--lw-bg) 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--lw-line); transition: top .35s cubic-bezier(.2, .7, .2, 1);
}
.lw-cv-chips::-webkit-scrollbar { display: none; }
:root.lw-head-hidden .lw-cv-chips { top: 0; }
.admin-bar .lw-cv-chips { top: calc(var(--lw-header-h, 66px) + var(--wp-admin--admin-bar--height, 32px)); }
.lw-cv-chip {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: .375rem; min-height: 2.5rem; padding: 0 .9375rem; border-radius: 999px;
	border: 1px solid var(--lw-line); color: var(--lw-muted); font-size: .875rem; text-decoration: none; white-space: nowrap;
}
.lw-cv-chip b { display: none; }
.lw-cv-chip.is-active { background: var(--lw-text); border-color: var(--lw-text); color: var(--lw-bg); }
@media (min-width: 64rem) { .lw-cv-chips { display: none; } }

/* Bloki */
.lw-cv-block { scroll-margin-top: calc(var(--lw-header-h, 66px) + 4.5rem); }
.lw-cv-block + .lw-cv-block { margin-top: clamp(3.5rem, 8vw, 5.5rem); padding-top: clamp(3.5rem, 8vw, 5.5rem); border-top: 1px solid var(--lw-line); }
.lw-cv-block-head { max-width: 46rem; margin-bottom: clamp(1.5rem, 3vw, 2rem); }
.lw-cv-block-head > * { margin: 0; }
.lw-cv-block-head .lw-eyebrow { display: flex; align-items: center; gap: .75rem; }
.lw-cv-block-head .lw-eyebrow b { font-weight: 500; color: var(--lw-accent); }
.lw-cv-block-head .lw-eyebrow b::after { content: ''; display: inline-block; vertical-align: middle; width: 1.75rem; height: 1px; margin-left: .75rem; background: var(--lw-line-strong); }
.lw-cv-block-head .lw-h2 { margin-top: .75rem; font-size: clamp(2.25rem, 4.4vw, 3.25rem); line-height: 1.04; }
.lw-cv-sub { margin: 2rem 0 .875rem; }
.lw-cv-block-head + .lw-cv-sub { margin-top: 0; }

/* 01 Doswiadczenie */
.lw-cv-jobs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--lw-line); }
.lw-cv-jobs li { display: grid; gap: .5rem 2rem; margin: 0; padding: 1.75rem 0; border-bottom: 1px solid var(--lw-line); }
@media (min-width: 40rem) { .lw-cv-jobs li { grid-template-columns: 10rem minmax(0, 1fr); } }
.lw-cv-jobs li > * { margin: 0; }
.lw-cv-when { font-family: var(--lw-mono); font-size: .8125rem; color: var(--lw-accent); padding-top: .375rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.lw-cv-when em {
	font-style: normal; display: inline-flex; align-items: center; gap: .375rem; height: 1.375rem; padding: 0 .5rem; border-radius: 999px;
	font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--lw-accent-2); background: var(--lw-gold-tint);
	border: 1px solid color-mix(in srgb, var(--lw-accent) 40%, transparent);
}
.lw-cv-jobs h3 { margin: 0; font-family: var(--lw-serif); font-weight: 400; font-size: clamp(1.625rem, 2.6vw, 2rem); line-height: 1.12; }
.lw-cv-org { margin: .375rem 0 0 !important; font-family: var(--lw-mono); font-size: .8125rem; color: var(--lw-faint); }
.lw-cv-text { margin: .625rem 0 0 !important; color: var(--lw-muted); max-width: 40rem; }
.lw-cv-earlier { display: grid; gap: .375rem 2rem; margin: 1.5rem 0 0; font-size: .9375rem; line-height: 1.6; color: var(--lw-faint); }
@media (min-width: 40rem) { .lw-cv-earlier { grid-template-columns: 10rem minmax(0, 1fr); } }
.lw-cv-earlier strong { font-family: var(--lw-mono); font-weight: 400; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; padding-top: .125rem; }

/* 02 Rysa: akta sprawy (limonka tylko tutaj: to swiat Rysy) */
.lw-case {
	position: relative; overflow: hidden; border-radius: var(--lw-radius-lg); box-shadow: var(--lw-e2);
	border: 1px solid color-mix(in srgb, var(--lw-rysa) 28%, var(--lw-line));
	background: radial-gradient(80% 120% at 100% 0%, color-mix(in srgb, var(--lw-rysa) 9%, var(--lw-surface)), var(--lw-surface) 60%);
}
.lw-case p { margin: 0; }
.lw-case-top { display: grid; gap: 2rem 3rem; padding: clamp(1.5rem, 3.5vw, 2.5rem); }
@media (min-width: 56rem) { .lw-case-top { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.lw-case-copy > * + * { margin-top: 1rem !important; }
.lw-case-copy p:not(.lw-case-mark) { color: var(--lw-muted); }
.lw-case-mark { display: inline-flex; align-items: center; gap: .625rem; font-family: var(--lw-serif); font-size: 1.5rem; line-height: 1; color: var(--lw-text); }
.lw-case-mark span {
	width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--lw-rysa);
	-webkit-mask: radial-gradient(circle, #000 98%, transparent 100%); mask: radial-gradient(circle, #000 98%, transparent 100%);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0F18' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 4 10 10l4 3-3 7'/%3E%3C/svg%3E");
	background-size: 62%; background-position: center; background-repeat: no-repeat;
}
.lw-button.is-rysa, .lw-button.is-rysa:hover {
	background: linear-gradient(180deg, #D8FB72, #C3F03E); color: #0B0F18; border-color: rgba(0, 0, 0, .08);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 8px 24px -10px color-mix(in srgb, var(--lw-rysa) 60%, transparent);
}
.lw-case-report .lw-eyebrow { line-height: 1.6; }
.lw-case-finds { list-style: none; margin: .875rem 0 0; padding: 0; border-top: 1px solid var(--lw-line); }
.lw-case-finds li { display: grid; gap: .5rem .875rem; margin: 0; padding: .875rem 0; border-bottom: 1px solid var(--lw-line); font-size: .9375rem; line-height: 1.55; color: var(--lw-muted); }
@media (min-width: 30rem) { .lw-case-finds li { grid-template-columns: 6.25rem minmax(0, 1fr); } }
.lw-case-finds .lw-badge-sev { width: fit-content; height: fit-content; }
.lw-case-stats {
	list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(7.5rem, 100%), 1fr));
	border-block: 1px solid var(--lw-line); background: color-mix(in srgb, var(--lw-bg) 35%, transparent);
}
.lw-case-stats li { margin: 0; padding: 1.25rem 1.5rem; box-shadow: -1px 0 0 var(--lw-line), 0 -1px 0 var(--lw-line); }
.lw-case-stats strong { display: block; font-family: var(--lw-serif); font-weight: 400; font-size: clamp(2.5rem, 4vw, 3.25rem); line-height: .9; letter-spacing: -.02em; color: var(--sc, var(--lw-text)); }
.lw-case-stats span { display: block; margin-top: .5rem; font-family: var(--lw-mono); font-size: .75rem; line-height: 1.4; color: var(--lw-faint); }
.lw-case-stats .is-crit { --sc: var(--lw-danger); }
.lw-case-stats .is-high { --sc: var(--lw-sev-high); }
.lw-case-stats .is-med { --sc: var(--lw-sev-med); }
.lw-case-stats .is-gold { --sc: var(--lw-accent-2); }
.lw-case-pipe { list-style: none; margin: 0; padding: clamp(1.5rem, 3.5vw, 2rem) clamp(1.5rem, 3.5vw, 2.5rem); display: grid; gap: 1rem; counter-reset: lw-pipe; }
@media (min-width: 56rem) { .lw-case-pipe { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; } }
.lw-case-pipe li { counter-increment: lw-pipe; position: relative; display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .125rem .5rem; margin: 0; }
.lw-case-pipe li::before { content: counter(lw-pipe, decimal-leading-zero); grid-row: span 2; font-family: var(--lw-mono); font-size: .75rem; color: var(--lw-rysa-text); padding-top: .1875rem; }
.lw-case-pipe strong { font-size: .9375rem; font-weight: 600; color: var(--lw-text); }
.lw-case-pipe span { font-size: .8125rem; line-height: 1.5; color: var(--lw-muted); }
@media (min-width: 56rem) {
	.lw-case-pipe li { display: flex; flex-direction: column; gap: .5rem; padding-right: 1.125rem; }
	.lw-case-pipe li::after { content: ''; position: absolute; left: 1.875rem; right: .875rem; top: .5rem; height: 1px; background: linear-gradient(90deg, color-mix(in srgb, var(--lw-rysa) 55%, transparent), var(--lw-line)); }
	.lw-case-pipe li:last-child::after { display: none; }
}
.lw-case-foot { display: grid; gap: 2rem 2.5rem; align-items: start; padding: clamp(1.5rem, 3.5vw, 2rem) clamp(1.5rem, 3.5vw, 2.5rem) clamp(1.5rem, 3.5vw, 2.5rem); border-top: 1px solid var(--lw-line); }
@media (min-width: 56rem) { .lw-case-foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.lw-case-shots { position: relative; margin: 0; height: clamp(15rem, 30vw, 19rem); }
.lw-case-shots img { position: absolute; width: 62%; height: auto; border-radius: .625rem; border: 1px solid var(--lw-line); background: #fff; box-shadow: var(--lw-e3); }
.lw-case-shots img:first-child { left: 0; top: 0; transform: rotate(-2deg); }
.lw-case-shots img:nth-child(2) { right: 0; top: 4.5rem; transform: rotate(2.5deg); }
.lw-case-shots figcaption { position: absolute; left: 0; bottom: -1.25rem; font-family: var(--lw-mono); font-size: .75rem; color: var(--lw-faint); }
.lw-case-note p { font-size: .9375rem; color: var(--lw-muted); }
.lw-case-note p + p { margin-top: .875rem; }
.lw-case-stack { font-family: var(--lw-mono); font-size: .8125rem !important; line-height: 1.6; color: var(--lw-faint) !important; }
.lw-case-more { border-top: 1px solid var(--lw-line); }
.lw-case-more summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
	padding: 1.125rem clamp(1.5rem, 3.5vw, 2.5rem); font-family: var(--lw-mono); font-size: .8125rem; letter-spacing: .04em; color: var(--lw-muted);
}
.lw-case-more summary::-webkit-details-marker { display: none; }
.lw-case-more summary::after { content: '+'; font-size: 1.125rem; line-height: 1; color: var(--lw-rysa-text); transition: transform .3s var(--lw-ease); }
.lw-case-more[open] summary::after { transform: rotate(45deg); }
.lw-case-more summary:hover { color: var(--lw-text); }
.lw-case-more > :not(summary) { margin-inline: clamp(1.5rem, 3.5vw, 2.5rem); }
.lw-case-more .lw-rysa-how { margin-top: 0; max-width: 52rem; }
.lw-case-flow { margin: 1.25rem clamp(1.5rem, 3.5vw, 2.5rem) 1.75rem !important; font-family: var(--lw-mono); font-size: .8125rem; line-height: 1.6; color: var(--lw-faint); }

/* 03 Umiejetnosci */
.lw-cv-skills { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .lw-cv-skills { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lw-cv-skill { padding: 1.5rem 1.625rem; border: 1px solid var(--lw-line); border-radius: var(--lw-radius-md); background: var(--lw-surface); }
.lw-cv-skill h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0; font-family: inherit; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.005em; }
.lw-cv-skill h3 span { font-family: var(--lw-mono); font-size: .75rem; font-weight: 400; color: var(--lw-faint); }
.lw-cv-skill .lw-tags { margin: .875rem 0 0; gap: .375rem; }
.lw-cv-skill .lw-pill { font-family: var(--lw-mono); font-size: .75rem; }
.lw-cv-note { margin: .875rem 0 0; padding-top: .75rem; border-top: 1px dashed var(--lw-line); font-size: .8125rem; line-height: 1.5; color: var(--lw-faint); }

/* 04 Certyfikaty */
.lw-cv-certs-grid { display: grid; gap: 1rem 1.5rem; align-items: start; }
@media (min-width: 56rem) { .lw-cv-certs-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.lw-cv-certlead {
	position: relative; padding: clamp(1.5rem, 3vw, 2rem); border-radius: var(--lw-radius-lg); box-shadow: var(--lw-e-gold);
	border-color: color-mix(in srgb, var(--lw-accent) 40%, var(--lw-line));
	background: linear-gradient(180deg, color-mix(in srgb, var(--lw-beam) 8%, var(--lw-elevated)), var(--lw-surface) 60%);
}
.lw-cv-certlead > * { margin: 0; }
.lw-cv-seal {
	display: block; width: 3.5rem; height: 3.5rem; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--lw-accent) 50%, transparent);
	background: var(--lw-gold-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9973E' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 5 6v6c0 4.2 3 7.4 7 9 4-1.6 7-4.8 7-9V6l-7-3Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / 1.5rem no-repeat;
}
.lw-cv-issuer { margin-top: 1.125rem !important; font-family: var(--lw-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--lw-accent); }
.lw-cv-certlead h3 { margin-top: .5rem !important; font-family: var(--lw-serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.5rem); line-height: 1.05; }
.lw-cv-certlist { list-style: none; margin: 0; padding: 0; display: grid; column-gap: 1.75rem; border-top: 1px solid var(--lw-line); }
@media (min-width: 40rem) { .lw-cv-certlist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lw-cv-certlist li { margin: 0; padding: .875rem 0; border-bottom: 1px solid var(--lw-line); }
.lw-cv-certlist strong { display: block; font-family: var(--lw-mono); font-weight: 400; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--lw-accent); }
.lw-cv-certlist span { display: block; margin-top: .25rem; font-size: .9375rem; line-height: 1.45; color: var(--lw-text); }

/* 05 Projekty i laboratorium */
.lw-cv-minis { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 40rem) { .lw-cv-minis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lw-cv-minis li { margin: 0; }
.lw-cv-mini { box-sizing: border-box; display: flex; flex-direction: column; gap: .375rem; height: 100%; padding: 1.25rem 1.375rem; color: var(--lw-text); text-decoration: none; }
.lw-cv-mini:hover { color: var(--lw-text); text-decoration: none; }
.lw-cv-mini strong { font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }
.lw-cv-mini > span:not(.lw-cv-go) { font-size: .9375rem; color: var(--lw-muted); }
.lw-cv-go { margin-top: auto; padding-top: .5rem; font-size: .875rem; font-weight: 600; color: var(--lw-accent-2); }
.lw-cv-go span { display: inline-block; transition: transform .25s var(--lw-ease); }
.lw-cv-mini:hover .lw-cv-go span { transform: translateX(3px); }
.lw-cv-lab { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--lw-line); }
.lw-cv-lab li { display: grid; gap: .25rem 1.5rem; margin: 0; padding: 1rem 0; border: 0; border-bottom: 1px solid var(--lw-line); border-radius: 0; }
@media (min-width: 48rem) { .lw-cv-lab li { grid-template-columns: 16rem minmax(0, 1fr); align-items: baseline; } }
.lw-cv-lab strong { display: inline; font-weight: 600; }
.lw-cv-lab span { display: inline; margin: 0; font-size: .9375rem; color: var(--lw-muted); }

/* 06 Wyksztalcenie i jezyki */
.lw-cv-two { display: grid; gap: 1rem 3rem; }
@media (min-width: 48rem) { .lw-cv-two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lw-cv-two .lw-cv-sub { margin-top: 0; }
.lw-cv-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--lw-line); }
.lw-cv-rows li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1.25rem; margin: 0; padding: 1rem 0; border-bottom: 1px solid var(--lw-line); }
.lw-cv-rows.is-plain li { grid-template-columns: minmax(0, 1fr); }
.lw-cv-rows li > span { font-family: var(--lw-mono); font-size: .75rem; color: var(--lw-accent); padding-top: .1875rem; }
.lw-cv-rows strong { display: block; font-weight: 600; }
.lw-cv-rows div > span { display: block; margin-top: .125rem; font-size: .9375rem; color: var(--lw-muted); }

@media (max-width: 47.99rem) {
	.lw-cv-id { flex-direction: row; align-items: center; gap: 1rem; padding: 1rem 1.125rem; }
	.lw-cv-photo { width: 5.5rem; height: 5.5rem; flex: none; }
	.lw-cv-id-rows { border-top: 0; }
	.lw-cv-id-rows li { padding-block: .3125rem; border-bottom: 0; font-size: .75rem; }
	.lw-cv-actions .lw-button { flex: 1 1 100%; text-align: center; }
	.lw-cv-factbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lw-cv-factbar li:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.lw-case-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.lw-case-stats li { padding: 1rem; }
	.lw-case-shots { height: 15rem; margin-bottom: 1.25rem; }
	.lw-cv-rows li { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
}
@media (prefers-reduced-motion: reduce) { .lw-cv-index, .lw-cv-chips { transition: none; } }
