        /* ========================================
           BLOG POST — System 10h+
           Re-skin do żywego motywu strony głównej:
           ciepły near-black, Fraunces serif × Inter sans × Geist Mono,
           akcent „złoto" #D4A574. Tokeny :root z index.html (homepage).
           Wzorzec architektury artykułu: case-study/stalton.html.
        ======================================== */
        :root {
            --bg:        #0A0908;
            --bg-raised: #131110;
            --bg-card:   #18140F;
            --text:   #F7F3EC;
            --text-2: #A8A29E;
            --text-3: #57534E;
            --border:   #1C1917;
            --border-2: #292524;
            --accent:        #D4A574;
            --accent-dim:    #A67F53;
            --accent-faint:  rgba(212, 165, 116, 0.08);
            --signal:  #E85D4F;
            --success: #7FA074;
            --radius-card: 8px;
            --radius-btn:  6px;
            --radius-pill: 9999px;
            --elev: 0 24px 60px -24px rgba(0,0,0,.6);
        }

        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
            font-weight: 400; background-color: var(--bg); color: var(--text-2);
            line-height: 1.62; overflow-x: hidden; position: relative;
        }

        /* Ziarno (grain overlay) — sygnatura motywu */
        .grain {
            position: fixed; inset: 0; z-index: 2; pointer-events: none;
            opacity: .025; mix-blend-mode: overlay;
            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.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
        }

        img, svg { display: block; max-width: 100%; }
        a { text-decoration: none; color: inherit; }

        .container-narrow { max-width: 820px; margin: 0 auto; padding: 0 1.25rem; position: relative; z-index: 3; }

        /* Typografia */
        h1, h2, h3, h4 {
            font-family: 'Fraunces', 'Times New Roman', serif;
            color: var(--text); line-height: 1.1; font-weight: 600;
            font-optical-sizing: auto; letter-spacing: -0.015em;
        }
        h1 {
            font-size: clamp(2.2rem, 5.6vw, 3.6rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em;
        }
        h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); font-weight: 600; letter-spacing: -0.018em; }
        h3 { font-family: 'Inter', sans-serif; font-size: clamp(1.08rem, 2.2vw, 1.24rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.22; }
        p { margin: 0 0 1rem; }
        .mono { font-family: 'Geist Mono', ui-monospace, Consolas, monospace; }

        /* Przyciski */
        .btn {
            display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
            font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1rem; letter-spacing: .005em;
            min-height: 52px; border-radius: var(--radius-btn); padding: 0.85rem 1.75rem;
            transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s ease;
            cursor: pointer; border: 1px solid transparent; text-align: center;
        }
        .btn-primary { background-color: var(--accent); color: #0A0908; box-shadow: 0 8px 24px -12px rgba(212,165,116,.45); }
        .btn-primary:hover { background-color: #E0B88C; transform: translateY(-2px); box-shadow: 0 14px 32px -12px rgba(212,165,116,.55); }
        .btn-ghost { background-color: var(--bg-raised); color: var(--text); border: 1px solid var(--border-2); }
        .btn-ghost:hover { border-color: var(--accent-dim); transform: translateY(-2px); }

        /* Navbar */
        .navbar { position: sticky; top: 0; left: 0; right: 0; z-index: 50; background: rgba(10,9,8,.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
        .navbar-inner { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; display: flex; justify-content: space-between; align-items: center; height: 66px; }
        .nav-logo { display: inline-flex; align-items: center; gap: .55rem; }
        .nav-logo-badge { background-color: var(--accent); color: #0A0908; font-family: 'Fraunces', serif; font-weight: 700; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: .95rem; }
        .nav-logo-text { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.28rem; letter-spacing: -.01em; color: var(--text); }
        .nav-cta { background-color: var(--accent); color: #0A0908; font-family: 'Inter', sans-serif; padding: .55rem 1.2rem; border-radius: var(--radius-btn); font-weight: 600; font-size: .9rem; min-height: 44px; display: inline-flex; align-items: center; transition: background-color .18s ease; }
        .nav-cta:hover { background-color: #E0B88C; }

        /* Article */
        .article { padding: 3.5rem 0 2rem; }
        @media (min-width: 768px) { .article { padding: 5rem 0 3rem; } }
        .article-eyebrow { display: inline-block; font-family: 'Geist Mono', monospace; font-size: .74rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
        .article h1 { margin-bottom: 1.1rem; max-width: 22ch; }

        /* Belka autora (byline) */
        .article-byline { font-family: 'Geist Mono', monospace; font-size: .8rem; color: var(--text-2); letter-spacing: .01em; margin-bottom: 2.4rem; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .65rem; }
        .article-byline .byline-sep { color: var(--accent); }

        /* Nota końcowa (endnote) */
        .endnote { background: var(--bg-raised); border: 1px solid var(--border-2); border-left: 3px solid var(--accent); border-radius: var(--radius-card); padding: 1.4rem 1.6rem; margin: 2.5rem 0 1rem; max-width: 68ch; }
        .endnote .endnote-label { font-family: 'Geist Mono', monospace; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: .7rem; }
        .endnote p { font-size: .92rem; line-height: 1.55; color: var(--text-2); margin: 0 0 .6rem; }
        .endnote p:last-child { margin-bottom: 0; }
        .endnote a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; transition: color .18s ease; }
        .endnote a:hover { color: #E0B88C; }
        .endnote strong { color: var(--text); font-weight: 600; }
        .article-lead { font-size: clamp(1.08rem, 2.2vw, 1.3rem); color: var(--text-2); line-height: 1.55; margin-bottom: 1.4rem; max-width: 66ch; }
        .article-lead:last-of-type { margin-bottom: 2.5rem; }
        .article h2 { margin-top: 3rem; margin-bottom: 1rem; max-width: 26ch; }
        .article p { color: var(--text-2); margin-bottom: 1.1rem; max-width: 68ch; }
        .article a.inline-link { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; transition: color .18s ease; }
        .article a.inline-link:hover { color: #E0B88C; }

        /* Lista */
        .article ul { list-style: none; margin: 0 0 1.5rem; padding: 0; max-width: 68ch; }
        .article ul li { position: relative; padding-left: 1.5rem; margin-bottom: .7rem; color: var(--text-2); }
        .article ul li::before { content: ''; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }

        /* Karta-notka (callout „W jednym zdaniu") */
        .note-card { background: var(--bg-raised); border: 1px solid var(--border-2); border-left: 3px solid var(--accent); border-radius: var(--radius-card); padding: 1.4rem 1.6rem; margin: 2.2rem 0; max-width: 68ch; }
        .note-card p { color: var(--text); margin: 0; font-weight: 500; }
        .note-card .note-label { font-family: 'Geist Mono', monospace; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

        /* CTA box */
        .cta-box { text-align: center; padding: 3rem 2rem; background: linear-gradient(135deg, rgba(212,165,116,.10), rgba(212,165,116,.03)); border: 1px solid var(--border-2); border-radius: var(--radius-card); margin: 3.5rem 0 1rem; }
        .cta-box h2 { margin: 0 auto .7rem; max-width: 24ch; }
        .cta-box .cta-sub { color: var(--text-2); margin: 0 auto 1.7rem; max-width: 52ch; }
        .cta-box .cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; align-items: center; }

        .article-note { font-size: .85rem; color: var(--text-3); margin-top: 3rem; line-height: 1.6; }

        /* Footer */
        .site-footer { background: var(--bg); color: var(--text-2); padding: 2.6rem 0; font-size: .9rem; border-top: 1px solid var(--border); text-align: center; }
        .site-footer strong { color: var(--text); font-family: 'Inter', sans-serif; }
        .site-footer a { color: var(--text-2); transition: color .18s ease; }
        .site-footer a:hover { color: var(--text); }
        .site-footer .mono { color: var(--text-3); }
        .site-footer .foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.4rem; margin-top: 1rem; }

        @media print {
            body { background: #fff !important; color: #1c1917 !important; }
            .navbar, .grain, .cta-box { display: none !important; }
            .note-card { border-left-color: var(--accent-dim); background: #faf6f0; }
            .note-card p, .article p, .article-lead { color: #1c1917 !important; }
        }
