        :root {
            --bg: #0a0b0d;
            --bg-2: #0e1013;
            --surface: #121519;
            --line: rgba(255,255,255,0.08);
            --line-2: rgba(255,255,255,0.14);
            --fg: #e9ecef;
            --fg-dim: #9aa1a9;
            --fg-faint: #5f666e;
            --accent: #39ff7a;
            --accent-dim: rgba(57,255,122,0.14);
            --accent-glow: rgba(57,255,122,0.30);
            --sans: 'Space Grotesk', system-ui, sans-serif;
            --mono: 'JetBrains Mono', ui-monospace, monospace;
            --maxw: 1180px;
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }

        html { scroll-behavior: smooth; }
        @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

        body {
            background: var(--bg);
            color: var(--fg);
            font-family: var(--sans);
            line-height: 1.5;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
            position: relative;
        }

        /* language switching */
        html.lang-pl [data-lang="en"] { display: none !important; }
        html.lang-en [data-lang="pl"] { display: none !important; }

        /* ---------- ambient background ---------- */
        .bg-grid {
            --grid-x: 50vw;
            --grid-y: 50vh;
            --grid-light: 0;
            position: fixed;
            inset: 0;
            z-index: 0;
            background-image:
                    linear-gradient(var(--line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--line) 1px, transparent 1px);
            background-size: 64px 64px;
            -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 0%, transparent 75%);
            mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 0%, transparent 75%);
            opacity: 0.5;
            pointer-events: none;
        }
        .bg-grid::after {
            content: "";
            position: absolute;
            inset: 0;
            background-image:
                    linear-gradient(rgba(255,255,255,0.32) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.32) 1px, transparent 1px);
            background-size: 64px 64px;
            opacity: var(--grid-light);
            -webkit-mask-image: radial-gradient(circle 210px at var(--grid-x) var(--grid-y), #000 0%, transparent 72%);
            mask-image: radial-gradient(circle 210px at var(--grid-x) var(--grid-y), #000 0%, transparent 72%);
            transition: opacity .28s ease;
            will-change: opacity, mask-image;
        }
        .bg-noise {
            position: fixed;
            inset: 0;
            z-index: 0;
            pointer-events: none;
            opacity: 0.025;
            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='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
        }
        /* ---------- custom cursor — minimal, neutral ---------- */
        .cursor-dot, .cursor-ring {
            position: fixed;
            top: 0; left: 0;
            border-radius: 50%;
            pointer-events: none;
            z-index: 9999;
            transform: translate(-50%, -50%);
        }
        .cursor-dot {
            width: 5px; height: 5px;
            background: var(--fg);
            opacity: 0.85;
        }
        .cursor-ring {
            width: 30px; height: 30px;
            border: 1px solid rgba(255,255,255,0.22);
            transition: width .25s cubic-bezier(.2,.7,.2,1), height .25s cubic-bezier(.2,.7,.2,1), border-color .25s ease;
        }
        .cursor-ring.hot {
            width: 46px; height: 46px;
            border-color: rgba(255,255,255,0.45);
        }
        body.cursor-on { cursor: none; }
        body.cursor-on a, body.cursor-on button { cursor: none; }
        @media (hover: none), (pointer: coarse) {
            .cursor-dot, .cursor-ring { display: none; }
            body.cursor-on { cursor: auto; }
        }

        .wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
        @media (max-width: 600px) { .wrap { padding: 0 22px; } }

        main, header, footer { position: relative; z-index: 1; }

        /* ---------- top bar ---------- */
        header {
            position: fixed;
            top: 0; left: 0; right: 0;
            z-index: 50;
            transition: background-color .4s ease, border-color .4s ease, backdrop-filter .4s ease;
            border-bottom: 1px solid transparent;
        }
        header.scrolled {
            background: rgba(10,11,13,0.72);
            -webkit-backdrop-filter: blur(14px);
            backdrop-filter: blur(14px);
            border-bottom-color: var(--line);
        }
        .bar {
            height: 72px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .brand {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            color: var(--fg);
        }
        .brand-term {
            font-family: var(--mono);
            font-weight: 500;
            font-size: 17px;
            letter-spacing: -0.01em;
            color: var(--fg);
            display: inline-flex;
            align-items: center;
            gap: 9px;
            white-space: nowrap;
        }
        .brand-term .pr { color: var(--accent); }
        .brand-term .cur {
            display: inline-block;
            width: 8px; height: 17px;
            background: var(--accent);
            margin-left: -3px;
            transform: translateY(1px);
            animation: blink 1.15s steps(1) infinite;
        }
        @keyframes blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
        @media (prefers-reduced-motion: reduce) { .brand-term .cur { animation: none; } }
        @media (max-width: 440px) { .brand-term { font-size: 15px; } }

        .bar-right { display: flex; align-items: center; gap: 18px; }

        .lang-toggle {
            display: flex;
            align-items: center;
            border: 1px solid var(--line);
            border-radius: 999px;
            padding: 3px;
            font-family: var(--mono);
            font-size: 12px;
        }
        .lang-toggle button {
            background: none;
            border: none;
            color: var(--fg-faint);
            font-family: inherit;
            font-size: inherit;
            padding: 4px 11px;
            border-radius: 999px;
            cursor: pointer;
            transition: color .2s ease, background-color .2s ease;
            letter-spacing: 0.06em;
        }
        .lang-toggle button.active { color: var(--bg); background: var(--accent); font-weight: 600; }

        .status {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-family: var(--mono);
            font-size: 12px;
            color: var(--fg-dim);
            letter-spacing: 0.02em;
        }
        @media (max-width: 760px) { .status { display: none; } }
        .dot {
            width: 7px; height: 7px;
            border-radius: 50%;
            background: var(--accent);
            box-shadow: 0 0 0 0 var(--accent-glow);
            animation: pulse 2.6s infinite;
        }
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 var(--accent-glow); }
            70% { box-shadow: 0 0 0 8px rgba(57,255,122,0); }
            100% { box-shadow: 0 0 0 0 rgba(57,255,122,0); }
        }

        /* ---------- reveal ---------- */
        .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
        .reveal.in { opacity: 1; transform: none; }
        .delay-06 { transition-delay: .06s; }
        .delay-12 { transition-delay: .12s; }
        .delay-18 { transition-delay: .18s; }
        .delay-24 { transition-delay: .24s; }
        @media (prefers-reduced-motion: reduce) {
            .reveal { opacity: 1 !important; transform: none !important; transition: none; }
            .delay-06, .delay-12, .delay-18, .delay-24 { transition-delay: 0s; }
        }

        /* ---------- hero ---------- */
        .hero {
            min-height: 100svh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding-top: 100px;
            padding-bottom: 64px;
        }
        .kicker {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-family: var(--mono);
            font-size: 13px;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: var(--fg-dim);
            margin-bottom: 30px;
        }
        .kicker::before {
            content: "";
            width: 30px; height: 1px;
            background: var(--accent);
        }
        .hero h1 {
            font-size: clamp(2.6rem, 6.4vw, 5.6rem);
            font-weight: 600;
            line-height: 1.02;
            letter-spacing: -0.03em;
            max-width: 16ch;
            text-wrap: balance;
        }
        .hero h1 em { font-style: normal; color: var(--accent); }
        .hero .lead {
            margin-top: 30px;
            font-size: clamp(1.05rem, 1.8vw, 1.35rem);
            color: var(--fg-dim);
            max-width: 52ch;
            line-height: 1.55;
            text-wrap: pretty;
        }
        .hero-meta {
            margin-top: 46px;
            display: flex;
            flex-wrap: wrap;
            gap: 12px 14px;
            font-family: var(--mono);
            font-size: 13px;
        }
        .chip {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 14px;
            border: 1px solid var(--line);
            border-radius: 999px;
            color: var(--fg-dim);
            background: rgba(255,255,255,0.015);
            transition: border-color .25s ease, color .25s ease;
        }
        .chip:hover { border-color: var(--line-2); color: var(--fg); }
        .chip span.tick { color: var(--accent); }

        .scroll-hint {
            margin-top: 64px;
            display: inline-flex;
            align-items: center;
            gap: 12px;
            font-family: var(--mono);
            font-size: 12px;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--fg-faint);
        }
        .no-underline { text-decoration: none; }
        .scroll-hint .line {
            width: 46px; height: 1px;
            background: var(--line-2);
            position: relative;
            overflow: hidden;
        }
        .scroll-hint .line::after {
            content: "";
            position: absolute; inset: 0;
            width: 40%;
            background: var(--accent);
            animation: slide 2.4s ease-in-out infinite;
        }
        @keyframes slide { 0% { transform: translateX(-110%); } 100% { transform: translateX(280%); } }

        /* ---------- section frame ---------- */
        section.block { padding: 110px 0; }
        .sec-head {
            display: flex;
            align-items: baseline;
            gap: 16px;
            margin-bottom: 56px;
        }
        .sec-num {
            font-family: var(--mono);
            font-size: 13px;
            color: var(--accent);
            letter-spacing: 0.1em;
        }
        .sec-title {
            font-size: clamp(1.5rem, 3vw, 2.1rem);
            font-weight: 600;
            letter-spacing: -0.02em;
        }
        .sec-rule { flex: 1; height: 1px; background: var(--line); align-self: center; }

        /* ---------- services ---------- */
        .services { display: grid; gap: 0; border-top: 1px solid var(--line); }
        .svc {
            display: grid;
            grid-template-columns: 88px 1fr minmax(0, 0.9fr);
            gap: 32px;
            align-items: start;
            padding: 40px 8px;
            border-bottom: 1px solid var(--line);
            position: relative;
            transition: background-color .35s ease;
        }
        .svc::before {
            content: "";
            position: absolute;
            left: 0; top: 0; bottom: 0;
            width: 2px;
            background: var(--accent);
            transform: scaleY(0);
            transform-origin: top;
            transition: transform .4s cubic-bezier(.2,.7,.2,1);
        }
        .svc:hover { background: linear-gradient(90deg, rgba(57,255,122,0.04), transparent 60%); }
        .svc:hover::before { transform: scaleY(1); }
        .svc-num {
            font-family: var(--mono);
            font-size: 14px;
            color: var(--fg-faint);
            padding-top: 6px;
            transition: color .35s ease;
        }
        .svc:hover .svc-num { color: var(--accent); }
        .svc-name {
            font-size: clamp(1.4rem, 2.6vw, 2rem);
            font-weight: 600;
            letter-spacing: -0.02em;
            line-height: 1.1;
        }
        .svc-name small {
            display: block;
            font-family: var(--mono);
            font-size: 12px;
            font-weight: 500;
            letter-spacing: 0.06em;
            color: var(--fg-faint);
            margin-top: 12px;
            text-transform: uppercase;
        }
        .svc-desc { color: var(--fg-dim); font-size: 1.02rem; line-height: 1.6; text-wrap: pretty; padding-top: 6px; }
        .svc-tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
        .tag {
            font-family: var(--mono);
            font-size: 11px;
            letter-spacing: 0.04em;
            color: var(--fg-faint);
            border: 1px solid var(--line);
            border-radius: 6px;
            padding: 4px 9px;
        }
        @media (max-width: 860px) {
            .svc { grid-template-columns: 48px 1fr; gap: 18px 18px; padding: 34px 6px; }
            .svc-desc { grid-column: 1 / -1; padding-left: 66px; padding-top: 4px; }
        }
        @media (max-width: 560px) {
            .svc-desc { padding-left: 0; }
        }

        /* ---------- contact ---------- */
        .contact { text-align: center; padding: 130px 0 120px; }
        .contact .sec-num { display: block; margin-bottom: 22px; }
        .contact h2 {
            font-size: clamp(1.7rem, 4vw, 3rem);
            font-weight: 600;
            letter-spacing: -0.03em;
            line-height: 1.1;
            max-width: 20ch;
            margin: 0 auto 44px;
            text-wrap: balance;
        }
        .mail-wrap { display: inline-flex; flex-direction: column; align-items: center; gap: 18px; }
        .mail {
            display: inline-flex;
            align-items: center;
            gap: 18px;
            font-family: var(--mono);
            font-weight: 500;
            font-size: clamp(1.3rem, 4.4vw, 2.6rem);
            color: var(--fg);
            text-decoration: none;
            letter-spacing: -0.01em;
            padding: 14px 4px;
            position: relative;
        }
        .mail .at-line {
            background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
            padding-bottom: 6px;
            transition: color .3s ease;
        }
        .mail:hover .at-line { color: var(--accent); }
        .copy-btn {
            display: inline-flex;
            align-items: center;
            gap: 9px;
            font-family: var(--mono);
            font-size: 13px;
            letter-spacing: 0.04em;
            color: var(--fg-dim);
            background: var(--surface);
            border: 1px solid var(--line);
            border-radius: 999px;
            padding: 10px 18px;
            cursor: pointer;
            transition: border-color .25s ease, color .25s ease, background-color .25s ease;
        }
        .copy-btn:hover { border-color: var(--accent); color: var(--fg); }
        .copy-btn.copied { color: var(--accent); border-color: var(--accent); }
        .copy-btn svg { width: 15px; height: 15px; }

        /* ---------- footer ---------- */
        footer { border-top: 1px solid var(--line); padding: 36px 0; }
        .foot {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 14px;
            font-family: var(--mono);
            font-size: 12px;
            color: var(--fg-faint);
            letter-spacing: 0.02em;
        }
        .foot a { color: var(--fg-dim); text-decoration: none; transition: color .2s ease; }
        .foot a:hover { color: var(--accent); }

        /* ---------- error page ---------- */
        .error-page {
            min-height: 100svh;
            display: flex;
            align-items: center;
            padding-top: 100px;
            padding-bottom: 64px;
        }
        .error-code {
            display: block;
            font-family: var(--mono);
            font-size: clamp(4.8rem, 18vw, 12rem);
            font-weight: 600;
            line-height: 0.85;
            color: var(--accent);
            letter-spacing: 0;
            margin-bottom: 28px;
        }
        .error-page h1 {
            font-size: clamp(2.2rem, 5.5vw, 4.8rem);
            font-weight: 600;
            line-height: 1.04;
            letter-spacing: -0.03em;
            max-width: 14ch;
            text-wrap: balance;
        }
        .error-page .lead {
            margin-top: 28px;
            font-size: clamp(1.05rem, 1.8vw, 1.3rem);
            color: var(--fg-dim);
            max-width: 48ch;
            line-height: 1.55;
            text-wrap: pretty;
        }
        .error-actions {
            margin-top: 42px;
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }
        .error-action {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 44px;
            padding: 10px 18px;
            border: 1px solid var(--line);
            border-radius: 999px;
            color: var(--fg);
            text-decoration: none;
            font-family: var(--mono);
            font-size: 13px;
            letter-spacing: 0.02em;
            transition: border-color .25s ease, color .25s ease, background-color .25s ease;
        }
        .error-action.primary {
            background: var(--accent);
            border-color: var(--accent);
            color: var(--bg);
            font-weight: 600;
        }
        .error-action:hover {
            border-color: var(--accent);
            color: var(--accent);
        }
        .error-action.primary:hover {
            color: var(--bg);
            background: #6bff9c;
        }
