/* =====================================================================
   LAM English — Blog (hub + artykuły)
   Wspólny arkusz dla blog.html i blog/*.html.
   Bez zależności: CSS 3D + vanilla JS (blog.js).
   ===================================================================== */

:root {
    /* Marka (zgodnie z resztą strony) */
    --primary-color: #2E8B57;
    --primary-dark: #276749;
    --primary-light: #48BB78;
    --accent-color: #DD6B20;
    --text-color: #2D3748;
    --text-light: #718096;
    --white: #FFFFFF;
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.25,0.8,0.25,1);

    /* Blog — system wizualny */
    --ink: #0B2A1E;
    --ink-soft: #3B4B44;
    --muted: #5E6B66;
    --green: #2E8B57;
    --green-text: #1F6B43;          /* zielony do tekstu (kontrast AA) */
    --mint: #E6F3EB;
    --mint-2: #D3EADC;
    --paper: #FAF8F3;
    --line: #E4E1D8;
    --orange: #DD6B20;
    --orange-text: #A84E12;

    --cat-speaking: #2E8B57;
    --cat-grammar: #4A57C9;
    --cat-vocabulary: #C9861F;
    --cat-business: #1D3A5C;
    --cat-pronunciation: #D4553C;
    --cat-tips: #17807F;

    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --shadow-card: 0 1px 2px rgba(11,42,30,.06), 0 8px 24px -12px rgba(11,42,30,.18);
    --shadow-lift: 0 2px 4px rgba(11,42,30,.06), 0 24px 48px -20px rgba(11,42,30,.35);
    --ease-out: cubic-bezier(.22,1,.36,1);

    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-head: 'Poppins', 'Inter', system-ui, sans-serif;
    --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    line-height: 1.65;
    color: var(--text-color);
    background: var(--paper);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.skip-link {
    position: absolute; top: -40px; left: 6px; background: var(--primary-color);
    color: white; padding: 8px; z-index: 10000; text-decoration: none;
    border-radius: 0 0 4px 4px; transition: top 0.3s;
}
.skip-link:focus { top: 0; }

/* ---------- Nagłówek (jak na reszcie strony) ---------- */
#header {
    background-color: var(--white);
    color: var(--text-color);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    font-family: var(--font-head);
}
#header.scrolled { padding: 0.7rem 2rem; }
.logo-container { display: flex; align-items: center; gap: 1rem; }
#header img { width: 80px; height: auto; transition: var(--transition); }
#header.scrolled img { width: 60px; }
.logo-text { display: flex; flex-direction: column; }
#header .logo-text h2, header .logo-text .logo-name { font-size: 1.8rem; font-weight: 700; margin: 0; letter-spacing: -0.5px; color: var(--primary-color); line-height: 1.2; }
.tagline { font-size: 0.9rem; font-weight: 400; color: var(--text-light); margin-top: 0.2rem; }
.nav-container { display: flex; align-items: center; gap: 2rem; }
nav#main-nav { display: flex; gap: 1.5rem; }
nav#main-nav a {
    color: var(--text-color); text-decoration: none; font-size: 1rem; font-weight: 500;
    padding: 0.5rem 1rem; transition: var(--transition); border-radius: 4px;
    display: flex; align-items: center; gap: 0.5rem;
}
nav#main-nav a:hover, nav#main-nav a:focus, nav#main-nav a[aria-current="page"] { background-color: rgba(46,139,87,0.1); color: var(--primary-color); }
.cta-button {
    display: inline-flex; align-items: center; background-color: var(--primary-color);
    color: var(--white); padding: 0.8rem 1.5rem; font-size: 1rem; font-weight: 600;
    text-decoration: none; border-radius: 50px; transition: var(--transition);
    border: none; cursor: pointer; gap: 0.5rem; white-space: nowrap;
    box-shadow: 0 4px 6px rgba(50,50,93,0.11), 0 1px 3px rgba(0,0,0,0.08);
}
.cta-button:hover, .cta-button:focus { background-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 7px 14px rgba(50,50,93,0.1); }
.mobile-menu-button { display: none; background: none; border: none; font-size: 1.5rem; color: var(--text-color); cursor: pointer; padding: 0.5rem; }

/* ---------- Stopka (jak na reszcie strony) ---------- */
footer { background-color: var(--text-color); color: var(--white); padding: 3rem 2rem 2rem; margin-top: auto; font-family: var(--font-head); }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto 2rem; text-align: left; }
.footer-column h3 { font-size: 1.2rem; margin-bottom: 1.5rem; color: var(--primary-light); position: relative; display: inline-block; }
.footer-column h3::after { content: ''; display: block; width: 40px; height: 2px; background: var(--accent-color); margin-top: 0.5rem; }
.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 0.8rem; }
.footer-column a { color: #CBD5E0; text-decoration: none; transition: color 0.3s; display: flex; align-items: flex-start; gap: 0.5rem; word-break: break-word; }
.footer-column a:hover { color: var(--primary-light); }
.footer-column p { color: #E2E8F0; }
.social-links { display: flex; gap: 1rem; margin-top: 1rem; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; transition: var(--transition); }
.social-links a:hover { background: var(--primary-color); transform: translateY(-3px); }
.copyright { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; color: #A0AEC0; text-align: center; }

.sticky-cta { display: none; }

@media (max-width: 768px) {
    .mobile-menu-button { display: block; min-width: 44px; min-height: 44px; }
    .nav-container { gap: 0.75rem; }
    .nav-container nav#main-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0; background: white;
        flex-direction: column; padding: 1rem; box-shadow: var(--shadow-md); gap: 0;
    }
    .nav-container nav#main-nav.active { display: flex; }
    nav#main-nav a { padding: 1rem; border-radius: 0; border-bottom: 1px solid #f0f0f0; min-height: 44px; align-items: center; }
    #header { padding: 1rem; }
    #header.scrolled { padding: 0.7rem 1rem; }
    #header img { width: 64px; }
    .logo-text { display: none; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-column h3::after { margin: 0.5rem auto; }
    .footer-column a { justify-content: center; }
    .social-links { justify-content: center; }
    .sticky-cta { display: block; position: fixed; right: 16px; bottom: 16px; z-index: 900; }
    .phone-cta {
        display: inline-flex; align-items: center; justify-content: center; gap: 8px;
        width: 56px; height: 56px; border-radius: 50%; background: var(--primary-color); color: #fff;
        text-decoration: none; box-shadow: 0 10px 24px -8px rgba(11,42,30,.5);
    }
    .phone-cta span { display: none; }
}

/* =====================================================================
   Elementy wspólne
   ===================================================================== */
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font: 600 .78rem/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase;
    color: var(--green-text);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--orange); border-radius: 2px; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; }
.section-head h2 { font: 700 clamp(1.7rem, 1.2rem + 2vw, 2.6rem)/1.15 var(--font-head); color: var(--ink); letter-spacing: -.02em; margin-top: 10px; }
.section-head p { color: var(--muted); max-width: 46ch; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font: 600 1rem/1 var(--font-head); text-decoration: none; border-radius: 999px;
    padding: 16px 28px; border: 2px solid transparent; cursor: pointer;
    transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background-color .2s, color .2s;
    min-height: 48px;
}
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px -12px rgba(46,139,87,.8); }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(46,139,87,.9); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--green); color: var(--green-text); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); }
.btn--outline-light { color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-2px); }

.chip {
    display: inline-flex; align-items: center; gap: 6px;
    font: 600 .75rem/1 var(--font-head); letter-spacing: .04em; text-transform: uppercase;
    padding: 7px 11px; border-radius: 999px; color: #fff; background: var(--cat, var(--green));
}
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--muted); font-size: .88rem; }
.meta i { color: var(--green); margin-right: 4px; }

[data-cat="speaking"]      { --cat: var(--cat-speaking); }
[data-cat="grammar"]       { --cat: var(--cat-grammar); }
[data-cat="vocabulary"]    { --cat: var(--cat-vocabulary); }
[data-cat="business"]      { --cat: var(--cat-business); }
[data-cat="pronunciation"] { --cat: var(--cat-pronunciation); }
[data-cat="tips"]          { --cat: var(--cat-tips); }

/* Pojawianie się przy przewijaniu — ukryte tylko gdy działa JS */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =====================================================================
   Okładki artykułów (warstwowe ilustracje CSS, bez obrazków)
   ===================================================================== */
.cover {
    position: relative; overflow: hidden; isolation: isolate;
    aspect-ratio: 16 / 10; border-radius: var(--radius-md);
    background:
        radial-gradient(120% 90% at 85% 10%, rgba(255,255,255,.22), transparent 55%),
        linear-gradient(150deg, var(--cat) 0%, color-mix(in srgb, var(--cat) 70%, #000) 100%);
    transform-style: preserve-3d;
}
.cover::before { /* delikatna kratka jak w zeszycie */
    content: ''; position: absolute; inset: 0; z-index: -1;
    background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.cover__glyph {
    position: absolute; right: 8%; bottom: 6%;
    font: 800 clamp(3.2rem, 2rem + 4vw, 5.4rem)/1 var(--font-head); letter-spacing: -.04em; color: #fff;
    text-shadow: 1px 1px 0 rgba(0,0,0,.08), 2px 2px 0 rgba(0,0,0,.08), 3px 3px 0 rgba(0,0,0,.08), 4px 4px 0 rgba(0,0,0,.08), 6px 14px 24px rgba(0,0,0,.28);
    transform: translateZ(40px);
    transition: transform .5s var(--ease-out);
}
.cover__card {
    position: absolute; left: 7%; top: 12%;
    background: #fff; color: var(--ink); border-radius: 14px;
    padding: 10px 14px; font: 600 .82rem/1.3 var(--font-head);
    box-shadow: 0 14px 30px -14px rgba(0,0,0,.45);
    transform: rotate(-4deg) translateZ(24px);
    transition: transform .5s var(--ease-out);
    max-width: 62%;
}
.cover__card small { display: block; font: 500 .72rem/1.3 var(--font-body); color: var(--muted); margin-top: 2px; }
.cover__card--b { left: auto; right: 10%; top: 14%; transform: rotate(5deg) translateZ(12px); background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.35); box-shadow: none; backdrop-filter: blur(2px); }
.cover__ring { position: absolute; left: -12%; bottom: -30%; width: 55%; aspect-ratio: 1; border-radius: 50%; border: 18px solid rgba(255,255,255,.12); }

/* =====================================================================
   HUB: hero 3D
   ===================================================================== */
.blog-hero {
    position: relative; overflow: hidden;
    padding: clamp(48px, 6vw, 96px) 0 clamp(56px, 7vw, 104px);
    background:
        radial-gradient(60% 70% at 85% 30%, var(--mint) 0%, transparent 70%),
        radial-gradient(40% 50% at 0% 100%, #FCEBDD 0%, transparent 70%),
        var(--paper);
    border-bottom: 1px solid var(--line);
}
.blog-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.blog-hero h1 {
    font: 800 clamp(2.3rem, 1.4rem + 3.6vw, 4.2rem)/1.04 var(--font-head);
    letter-spacing: -.035em; color: var(--ink); margin: 18px 0 20px;
}
.blog-hero h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--green-text); letter-spacing: -.02em; }
.blog-hero__lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink-soft); max-width: 52ch; }
.blog-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.blog-hero__topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; list-style: none; }
.blog-hero__topics li { font: 500 .85rem/1 var(--font-head); color: var(--ink-soft); background: #fff; border: 1px solid var(--line); padding: 9px 13px; border-radius: 999px; }

/* Lista zalet w hero (Kontakt, Kursy) */
.hero-benefits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; list-style: none; }
.hero-benefits li {
    display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line);
    padding: 9px 14px; border-radius: 999px; font: 500 .9rem/1.2 var(--font-head); color: var(--ink-soft);
}
.hero-benefits i { color: var(--green); }

/* Scena 3D */
.stage { position: relative; height: clamp(360px, 38vw, 500px); perspective: 1100px; perspective-origin: 50% 40%; }
.scene {
    position: absolute; inset: 0; transform-style: preserve-3d;
    transform: rotateX(calc(8deg + var(--ry, 0deg))) rotateY(calc(-14deg + var(--rx, 0deg)));
    transition: transform .9s var(--ease-out);
}
.layer { position: absolute; transform-style: preserve-3d; will-change: transform; }
.layer > * { animation: float 9s ease-in-out infinite; }
.layer:nth-child(2n) > * { animation-duration: 11s; animation-delay: -3s; }
.layer:nth-child(3n) > * { animation-duration: 13s; animation-delay: -6s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.slab { /* płyta-podstawa */
    left: 8%; right: 6%; top: 16%; bottom: 10%;
    border-radius: 36px;
    background: linear-gradient(160deg, #fff 0%, #F1F6F2 100%);
    box-shadow: 0 40px 80px -40px rgba(11,42,30,.45), inset 0 0 0 1px rgba(11,42,30,.06);
    transform: translateZ(-60px);
}
.slab::after {
    content: ''; position: absolute; inset: 18px; border-radius: 26px;
    background-image: linear-gradient(rgba(46,139,87,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(46,139,87,.08) 1px, transparent 1px);
    background-size: 32px 32px;
}
.letters { left: 14%; top: 22%; transform: translateZ(-20px); }
.letters span {
    display: block; font: 800 clamp(7rem, 5rem + 6vw, 11rem)/.8 var(--font-head); letter-spacing: -.06em;
    color: var(--mint-2);
    text-shadow: 1px 1px 0 #c6e2d1, 2px 2px 0 #bcdcc9, 3px 3px 0 #b2d6c1, 4px 4px 0 #a8d0b9, 5px 5px 0 #9ecab1, 10px 18px 30px rgba(11,42,30,.18);
}
.vocab { left: 4%; top: 6%; transform: translateZ(70px) rotateZ(-5deg); }
.vocab-card {
    width: 230px; background: #fff; border-radius: 20px; padding: 18px 20px 16px;
    box-shadow: var(--shadow-lift); border: 1px solid rgba(11,42,30,.06);
}
.vocab-card__tag { font: 600 .68rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--orange-text); }
.vocab-card__word { font: 700 1.35rem/1.2 var(--font-head); color: var(--ink); margin-top: 8px; }
.vocab-card__ipa { font: 500 .9rem/1.3 var(--font-body); color: var(--muted); margin-top: 2px; }
.vocab-card__pl { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .9rem; color: var(--ink-soft); }

.bubble-3d { right: 2%; top: 20%; transform: translateZ(120px) rotateZ(3deg); }
.bubble-3d__inner, .bubble-3d--alt .bubble-3d__inner {
    position: relative; background: var(--green); color: #fff; border-radius: 22px 22px 22px 6px;
    padding: 14px 18px; font: 600 1rem/1.35 var(--font-head); max-width: 230px;
    box-shadow: 0 24px 40px -18px rgba(31,107,67,.7);
}
.bubble-3d__inner small { display: block; font: 500 .75rem/1.3 var(--font-body); opacity: .85; margin-top: 4px; }
.bubble-3d--alt { left: auto; right: 6%; top: auto; bottom: 2%; transform: translateZ(95px) rotateZ(-2deg); }
.bubble-3d--alt .bubble-3d__inner { background: var(--ink); border-radius: 22px 22px 6px 22px; box-shadow: 0 24px 40px -18px rgba(11,42,30,.7); }

.grammar { right: 8%; bottom: 24%; transform: translateZ(55px) rotateZ(-3deg); }
.grammar-chip {
    display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 12px 14px;
    box-shadow: var(--shadow-lift); font: 600 .92rem/1.2 var(--font-head); color: var(--ink);
}
.grammar-chip b { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px; border-radius: 12px; background: var(--cat-grammar); color: #fff; font-size: .85rem; }

.sound { left: 6%; bottom: 14%; transform: translateZ(140px) rotateZ(4deg); }
.sound-card { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow-lift); }
.sound-card__ipa { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cat-pronunciation); color: #fff; font: 700 1.1rem/1 var(--font-serif); }
.sound-card svg { width: 84px; height: 32px; }
.sound-card__word { font: 600 .9rem/1.2 var(--font-head); color: var(--ink); }
.sound-card__word small { display: block; color: var(--muted); font: 500 .75rem/1.2 var(--font-body); }

/* =====================================================================
   HUB: lista artykułów, filtry, wyróżniony
   ===================================================================== */
.articles { padding: clamp(56px, 7vw, 96px) 0 24px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.filters {
    position: relative; display: flex; gap: 4px; padding: 5px; border-radius: 999px;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card);
    overflow-x: auto; scrollbar-width: none; max-width: 100%;
}
.filters::-webkit-scrollbar { display: none; }
.filters__indicator {
    position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px;
    background: var(--ink); transition: transform .45s var(--ease-out), width .45s var(--ease-out); z-index: 0;
    pointer-events: none;
}
.filter {
    position: relative; z-index: 1; border: 0; background: transparent; cursor: pointer;
    font: 600 .9rem/1 var(--font-head); color: var(--ink-soft); padding: 11px 16px; border-radius: 999px;
    white-space: nowrap; transition: color .3s; min-height: 40px;
}
.filter:hover { color: var(--ink); }
.filter[aria-pressed="true"] { color: #fff; }
.no-js .filter[aria-pressed="true"], .filters:not(.has-indicator) .filter[aria-pressed="true"] { background: var(--ink); }
.search { position: relative; flex: 0 1 300px; }
.search input {
    width: 100%; min-height: 48px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
    padding: 12px 18px 12px 44px; font: 500 .95rem/1 var(--font-body); color: var(--ink); box-shadow: var(--shadow-card);
}
.search input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(46,139,87,.18); }
.search i { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.results-note { color: var(--muted); font-size: .9rem; min-height: 1.4em; margin: -12px 0 16px; }

/* Karta (wspólna logika klikania: cała karta = link) */
.card {
    position: relative; display: flex; flex-direction: column; background: #fff;
    border-radius: var(--radius-lg); padding: 12px; border: 1px solid rgba(11,42,30,.06);
    box-shadow: var(--shadow-card);
    transform: perspective(900px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)) translateY(var(--lift, 0));
    transform-style: preserve-3d;
    transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.card:hover, .card:focus-within { --lift: -6px; box-shadow: var(--shadow-lift); }
.card:hover .cover__glyph, .card:focus-within .cover__glyph { transform: translateZ(70px) translateY(-4px); }
.card:hover .cover__card, .card:focus-within .cover__card { transform: rotate(-2deg) translateZ(46px) translateY(-6px); }
.card__body { display: flex; flex-direction: column; gap: 12px; padding: 18px 10px 10px; flex: 1; }
.card__body .chip, .featured__body .chip { align-self: flex-start; }
.note-tile {
    position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
    border-radius: var(--radius-lg); padding: 30px 28px; color: #fff;
    background: radial-gradient(90% 80% at 100% 0%, #1E5A3D 0%, var(--ink) 70%);
}
.note-tile::before { content: '?'; position: absolute; right: -10px; bottom: -48px; font: 800 13rem/1 var(--font-head); color: rgba(255,255,255,.06); }
.note-tile h3 { font: 700 1.35rem/1.25 var(--font-head); }
.note-tile p { color: #CFE0D6; margin-top: 8px; }
.note-tile .btn { align-self: flex-start; position: relative; }
.card__title { font: 700 1.25rem/1.25 var(--font-head); color: var(--ink); letter-spacing: -.01em; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: 2; }
.card__title a:focus-visible { outline: none; }
.card:has(.card__title a:focus-visible) { outline: 3px solid var(--orange); outline-offset: 4px; }
.card__excerpt { color: var(--ink-soft); font-size: .97rem; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; }
.card__arrow {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none;
    background: var(--mint); color: var(--green-text); transition: transform .35s var(--ease-out), background-color .3s, color .3s;
}
.card:hover .card__arrow, .card:focus-within .card__arrow { background: var(--green); color: #fff; transform: translateX(3px); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Wyróżniony artykuł — układ asymetryczny */
.featured {
    position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; align-items: stretch;
    background: var(--ink); color: #fff; border-radius: 36px; overflow: hidden; margin-bottom: 28px;
    box-shadow: 0 30px 60px -30px rgba(11,42,30,.6);
    transform: perspective(1400px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg));
    transition: transform .6s var(--ease-out);
}
.featured__media { position: relative; padding: 28px; perspective: 900px; }
.featured__media .cover { height: 100%; min-height: 300px; aspect-ratio: auto; border-radius: 24px; }
.featured__media .cover__glyph { font-size: clamp(4rem, 3rem + 5vw, 7.5rem); }
.featured__stack { position: absolute; left: 52px; right: 52px; bottom: 14px; height: 24px; border-radius: 0 0 24px 24px; background: rgba(255,255,255,.12); transform: translateZ(-1px); }
.featured__body { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 56px) clamp(28px, 4vw, 56px) 8px; }
.featured__label { font: 600 .78rem/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: #F6B98C; display: flex; align-items: center; gap: 10px; }
.featured__title { font: 800 clamp(1.7rem, 1.1rem + 2.2vw, 2.7rem)/1.1 var(--font-head); letter-spacing: -.025em; }
.featured__title a { color: #fff; text-decoration: none; }
.featured__title a::after { content: ''; position: absolute; inset: 0; z-index: 2; }
.featured:has(.featured__title a:focus-visible) { outline: 3px solid var(--orange); outline-offset: 4px; }
.featured__title a:focus-visible { outline: none; }
.featured__excerpt { color: #CFE0D6; font-size: 1.05rem; max-width: 48ch; }
.featured .meta { color: #B7CBBF; }
.featured .meta i { color: #7FD0A1; }
.featured__cta { display: inline-flex; align-items: center; gap: 10px; font: 600 1rem/1 var(--font-head); color: #fff; }
.featured__cta i { transition: transform .35s var(--ease-out); }
.featured:hover .featured__cta i { transform: translateX(5px); }
.featured:hover .cover__glyph { transform: translateZ(80px) translateY(-6px); }

.empty {
    display: none; text-align: center; padding: 48px 24px; border: 2px dashed var(--line); border-radius: var(--radius-lg); color: var(--muted);
}
.empty.is-shown { display: block; }
.empty strong { display: block; font: 700 1.2rem/1.3 var(--font-head); color: var(--ink); margin-bottom: 6px; }
[hidden] { display: none !important; }

/* Pas z testem poziomującym */
.level-band {
    margin: clamp(48px, 6vw, 80px) 0 0; position: relative; overflow: hidden;
    display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
    background: #fff; border: 1px solid var(--line); border-radius: 32px; padding: 28px 32px; box-shadow: var(--shadow-card);
}
.level-band__levels { display: flex; gap: 6px; }
.level-band__levels span {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
    font: 700 .9rem/1 var(--font-head); color: var(--green-text); background: var(--mint);
    transform: translateY(calc(var(--i) * -5px));
}
.level-band__levels span:nth-child(n+5) { background: var(--green); color: #fff; }
.level-band h2 { font: 700 1.45rem/1.25 var(--font-head); color: var(--ink); }
.level-band p { color: var(--muted); }
.level-band__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* =====================================================================
   HUB: historie uczniów (istniejąca treść, nowa forma)
   ===================================================================== */
.stories { padding: clamp(64px, 8vw, 112px) 0 0; }
.stories__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.story {
    position: relative; background: #fff; border-radius: var(--radius-lg); padding: 28px;
    border: 1px solid rgba(11,42,30,.06); box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 14px;
    transform: perspective(900px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)) translateY(var(--lift, 0));
    transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.story:hover { --lift: -4px; box-shadow: var(--shadow-lift); }
.story__head { display: flex; align-items: center; gap: 14px; }
.story__head img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--mint); }
.story__name { font: 700 1.15rem/1.2 var(--font-head); color: var(--ink); }
.story__role { color: var(--muted); font-size: .9rem; }
.story__before { color: var(--ink-soft); }
.story__metric { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font: 600 .85rem/1 var(--font-head); }
.story__metric span { padding: 8px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-soft); }
.story__metric span:last-child { background: var(--mint); border-color: var(--mint-2); color: var(--green-text); }
.story__btn {
    margin-top: auto; align-self: flex-start; border: 0; background: none; cursor: pointer; padding: 8px 0;
    font: 600 1rem/1 var(--font-head); color: var(--green-text); display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
}
.story__btn::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.story__btn i { transition: transform .3s var(--ease-out); }
.story:hover .story__btn i { transform: translateX(4px); }

.quote-strip {
    margin-top: 24px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
    background: var(--mint); border-radius: var(--radius-lg); padding: 28px 32px;
}
.quote-strip blockquote { font: 500 italic clamp(1.1rem, 1rem + .5vw, 1.35rem)/1.45 var(--font-serif); color: var(--ink); min-height: 3.2em; transition: opacity .35s; }
.quote-strip cite { display: block; margin-top: 10px; font: 600 .9rem/1.3 var(--font-head); font-style: normal; color: var(--green-text); }
.quote-strip cite span { color: var(--muted); font-weight: 500; }
.quote-controls { display: flex; align-items: center; gap: 10px; }
.quote-controls button {
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--mint-2); background: #fff; color: var(--ink); cursor: pointer;
    transition: transform .25s var(--ease-out), background-color .2s;
}
.quote-controls button:hover { background: var(--green); color: #fff; transform: translateY(-2px); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; }
.stat__num { font: 800 clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem)/1 var(--font-head); color: var(--ink); letter-spacing: -.03em; }
.stat__label { color: var(--muted); font-size: .9rem; margin-top: 8px; }

/* Okno dialogowe historii (natywny <dialog>) */
dialog.story-dialog {
    border: 0; padding: 0; border-radius: 28px; width: min(640px, calc(100% - 32px)); max-height: calc(100% - 48px);
    margin: auto; color: var(--text-color); background: #fff; box-shadow: 0 40px 80px -20px rgba(0,0,0,.45);
}
dialog.story-dialog::backdrop { background: rgba(11,42,30,.55); backdrop-filter: blur(4px); }
dialog.story-dialog[open] { animation: dialogIn .45s var(--ease-out); }
@keyframes dialogIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.story-dialog__head { background: linear-gradient(140deg, var(--green), var(--ink)); color: #fff; padding: 28px 32px; position: relative; }
.story-dialog__head h3 { font: 700 1.6rem/1.2 var(--font-head); }
.story-dialog__head p { color: #CFE0D6; }
.story-dialog__close {
    position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0;
    background: rgba(255,255,255,.15); color: #fff; cursor: pointer; font-size: 1.1rem;
}
.story-dialog__close:hover { background: rgba(255,255,255,.28); }
.story-dialog__body { padding: 28px 32px 32px; display: grid; gap: 18px; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.step__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--mint); color: var(--green-text); font: 700 1rem/1 var(--font-head); }
.step h4 { font: 700 1.02rem/1.3 var(--font-head); color: var(--ink); }
.story-dialog blockquote { font: 500 italic 1.1rem/1.5 var(--font-serif); color: var(--ink); border-left: 3px solid var(--orange); padding-left: 16px; }

/* Dlaczego / rozpoznajesz siebie / metoda */
.why { padding: clamp(64px, 8vw, 112px) 0 0; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why__grid--3 { grid-template-columns: repeat(3, 1fr); }
.why__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 24px; }
.why__item i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--mint); color: var(--green-text); font-size: 1.2rem; margin-bottom: 16px; }
.why__item h3 { font: 700 1.08rem/1.3 var(--font-head); color: var(--ink); margin-bottom: 6px; }
.why__item p { color: var(--muted); font-size: .95rem; }

.pains {
    margin-top: 24px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center;
    background: var(--ink); color: #fff; border-radius: 32px; padding: clamp(28px, 4vw, 48px);
}
.pains h2 { font: 700 clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem)/1.15 var(--font-head); }
.pains p { color: #CFE0D6; margin-top: 10px; }
.pains ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pains li { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 14px 16px; font-weight: 500; }
.pains li i { color: #7FD0A1; width: 20px; text-align: center; }
.pains .btn { margin-top: 22px; }

.method { margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: 32px; padding: clamp(28px, 4vw, 48px); }
.method h2 { font: 700 clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem)/1.2 var(--font-head); color: var(--ink); }
.method > p { color: var(--muted); margin-top: 8px; max-width: 70ch; }
.method__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
.method__grid h3 { font: 700 1rem/1.3 var(--font-head); color: var(--ink); margin: 10px 0 4px; }
.method__grid p { color: var(--muted); font-size: .95rem; }
.method__grid i { color: var(--green); font-size: 1.3rem; }

/* FAQ (natywne <details>) */
.faq { padding: clamp(64px, 8vw, 112px) 0 0; }
.faq__list { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); transition: box-shadow .3s; min-width: 0; overflow-wrap: anywhere; }
.faq details[open] { box-shadow: var(--shadow-card); }
.faq summary {
    list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
    font: 600 1.05rem/1.4 var(--font-head); color: var(--ink); min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
    width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
    background: var(--mint); color: var(--green-text); font: 600 1.2rem/1 var(--font-head); transition: transform .3s var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--ink-soft); }

/* FAQ — bogatsza treść odpowiedzi */
.faq .answer { padding: 0 22px 22px; color: var(--ink-soft); display: grid; gap: 12px; min-width: 0; overflow-wrap: anywhere; }
.faq .answer .note { padding: 12px 14px; }
.faq .answer > * { min-width: 0; }
.faq .answer p { padding: 0; }
.faq .answer ul { padding-left: 1.2em; display: grid; gap: 6px; }
.faq .answer a { color: var(--green-text); font-weight: 600; }
.note { background: var(--paper); border-left: 3px solid var(--orange); border-radius: 10px; padding: 12px 14px; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0 !important; }
.pay-methods li { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; font-weight: 500; }
.pay-methods i { color: var(--green); }
.steps-mini { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.steps-mini li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.steps-mini b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--mint); color: var(--green-text); font-family: var(--font-head); }
.steps-mini strong { display: block; color: var(--ink); font-family: var(--font-head); }

/* Końcowe CTA */
.final {
    margin: clamp(64px, 8vw, 112px) 0 clamp(48px, 6vw, 80px); position: relative; overflow: hidden; text-align: center;
    background: radial-gradient(70% 120% at 50% 0%, #1E5A3D 0%, var(--ink) 70%); color: #fff;
    border-radius: 40px; padding: clamp(40px, 6vw, 80px) 24px;
}
.final h2 { font: 800 clamp(1.8rem, 1.2rem + 2.4vw, 2.8rem)/1.1 var(--font-head); letter-spacing: -.025em; max-width: 22ch; margin: 0 auto; }
.final p { color: #CFE0D6; max-width: 56ch; margin: 14px auto 0; }
.final__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* =====================================================================
   ARTYKUŁ
   ===================================================================== */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 1100; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--green), var(--orange)); }

.crumbs { padding: 22px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; color: #B8B3A6; }
.crumbs a { color: var(--green-text); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.post-hero { padding: 24px 0 8px; }
.post-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.post-hero h1 { font: 800 clamp(2rem, 1.3rem + 2.8vw, 3.3rem)/1.08 var(--font-head); letter-spacing: -.03em; color: var(--ink); margin: 16px 0 16px; }
.post-hero__lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 58ch; }
.post-hero .meta { margin-top: 20px; }
.post-hero__cover { perspective: 1000px; }
.post-hero__cover .cover { transform: rotateX(var(--ty, 6deg)) rotateY(var(--tx, -10deg)); transition: transform .8s var(--ease-out); box-shadow: 0 40px 70px -35px rgba(11,42,30,.55); }

.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); padding: 40px 0 0; align-items: start; }
.prose { font-size: 1.1rem; line-height: 1.75; color: #29352F; max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font: 700 clamp(1.45rem, 1.2rem + 1vw, 1.85rem)/1.25 var(--font-head); color: var(--ink); letter-spacing: -.015em; margin-top: 2em; scroll-margin-top: 110px; }
.prose h3 { font: 700 1.2rem/1.35 var(--font-head); color: var(--ink); margin-top: 1.6em; }
.prose a { color: var(--green-text); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--green); font-weight: 700; }
.prose strong { color: var(--ink); }
.prose em.en { font-style: normal; font-weight: 600; color: var(--ink); background: linear-gradient(transparent 62%, var(--mint-2) 62%); padding: 0 2px; }
.prose blockquote { border-left: 3px solid var(--orange); padding: 4px 0 4px 18px; font: 500 italic 1.15rem/1.6 var(--font-serif); color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: .98rem; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-card); }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--mint); color: var(--ink); font-family: var(--font-head); }
.table-scroll { overflow-x: auto; }

.tip {
    background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--cat, var(--green));
    border-radius: 16px; padding: 18px 20px; font-size: 1rem;
}
.tip strong:first-child { display: block; font-family: var(--font-head); margin-bottom: 4px; }
.phrase-list { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.phrase-list li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin: 0 !important; }
.phrase-list li b { display: block; color: var(--ink); font-family: var(--font-head); font-weight: 600; }
.phrase-list li span { color: var(--muted); font-size: .95rem; }

.inline-cta {
    margin-top: 2.2em !important; position: relative; overflow: hidden;
    background: var(--ink); color: #fff; border-radius: 28px; padding: 28px 30px;
    display: grid; gap: 14px;
}
.inline-cta::after { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 26px solid rgba(127,208,161,.14); }
.inline-cta h2, .inline-cta h3 { font: 700 1.35rem/1.3 var(--font-head); color: #fff; margin: 0 !important; }
.inline-cta p { color: #CFE0D6; margin: 0 !important; }
.inline-cta .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; position: relative; z-index: 1; }
.inline-cta .btn--primary { box-shadow: none; }
.prose .inline-cta a { text-decoration: none; }
.prose .btn--primary, .prose .btn--outline-light, .aside .btn--primary { color: #fff; }
.prose details summary { cursor: pointer; font: 600 1rem/1.4 var(--font-head); color: var(--ink); min-height: 32px; }
.prose details p { margin-top: 10px; }

.aside { position: sticky; top: 120px; display: grid; gap: 16px; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.toc h2 { font: 600 .78rem/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 4px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--ink-soft); font-size: .93rem; line-height: 1.35; transition: background-color .2s, color .2s; }
.toc a::before { content: counter(toc, decimal-leading-zero); font: 600 .78rem/1.6 var(--font-head); color: #A9B3AE; }
.toc a:hover, .toc a.is-active { background: var(--mint); color: var(--green-text); }
.aside-cta { background: var(--mint); border-radius: 20px; padding: 22px; }
.aside-cta h2 { font: 700 1.1rem/1.3 var(--font-head); color: var(--ink); }
.aside-cta p { color: var(--ink-soft); font-size: .93rem; margin: 6px 0 14px; }
.aside-cta .btn { width: 100%; padding: 14px 18px; font-size: .95rem; }

.related { padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); }

/* =====================================================================
   Responsywność
   ===================================================================== */
@media (max-width: 1024px) {
    .grid, .stories__grid { grid-template-columns: repeat(2, 1fr); }
    .why__grid, .why__grid--3, .method__grid, .stats { grid-template-columns: repeat(2, 1fr); }
    .featured { grid-template-columns: 1fr; }
    .featured__body { padding: 8px 28px 32px; }
    .featured__media .cover { min-height: 240px; }
    .post-layout { grid-template-columns: minmax(0, 1fr); }
    .aside { position: static; grid-template-columns: 1fr 1fr; }
    .level-band { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .blog-hero__grid, .post-hero__grid, .pains { grid-template-columns: 1fr; }
    .stage { height: 340px; max-width: 520px; width: 100%; margin: 0 auto; }
    .grammar { display: none; }
    .quote-strip { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .grid, .stories__grid, .why__grid, .why__grid--3, .method__grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .pains ul { grid-template-columns: 1fr; }
    .aside { grid-template-columns: 1fr; }
    .toolbar { flex-direction: column; align-items: stretch; }
    .search { flex-basis: auto; }
    /* Telefon: uproszczona scena — 3 elementy, bez kolizji, płytsza głębia */
    .stage { height: 290px; }
    .scene { transform: rotateX(6deg) rotateY(-8deg); }
    .grammar, .letters, .bubble-3d--alt { display: none; }
    .slab { left: 4%; right: 4%; top: 8%; bottom: 4%; }
    .vocab { left: 2%; top: 0; transform: translateZ(30px) rotateZ(-4deg); }
    .vocab-card { width: 180px; padding: 12px 14px; }
    .vocab-card__word { font-size: 1.1rem; }
    .bubble-3d { right: 0; top: 46%; transform: translateZ(50px) rotateZ(3deg); }
    .bubble-3d__inner { font-size: .88rem; max-width: 180px; padding: 12px 14px; }
    .sound { left: 4%; bottom: 2%; transform: translateZ(40px) rotateZ(-2deg); }
    .sound-card svg { display: none; }
    .cover__card--b { display: none; }
    .blog-hero__actions .btn { flex: 1 1 100%; }
    .featured__media { padding: 16px; }
    .featured__body { padding: 4px 20px 26px; }
    .level-band { padding: 24px 20px; }
    .prose { font-size: 1.04rem; }
    .inline-cta { padding: 24px 20px; }
    .story-dialog__head, .story-dialog__body { padding-left: 22px; padding-right: 22px; }
}

/* Mniej ruchu: wyłączamy animacje i efekty głębi */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
    .card, .story, .featured { transform: none !important; }
}
/* Urządzenia dotykowe: bez pochylania kart */
@media (hover: none) {
    .card, .story, .featured { transform: none; }
    .card:hover, .story:hover { --lift: 0; }
}
