/* ============================================================================
   ogrodnik.blog — redesign 2026-07 (handoff Claude Design)
   Zasady: hairline zamiast cieni, Newsreader (nagłówki) + Instrument Sans (UI),
   kropki trudności zamiast badge, ciemna stopka, jedno tło --bg.
   Fonty SELF-HOSTED (RODO: zero requestów do Google). Tryby: dark/high-contrast/cvd
   nadpisują te same tokeny; klucze localStorage bez zmian (a11y-*).
   ========================================================================== */

/* ---------- Fonty (woff2 w /assets/fonts/, latin + latin-ext) ---------- */
/* latin-ext */
@font-face { font-family: 'Instrument Sans'; font-style: italic; font-weight: 400 700; font-stretch: 100%; font-display: swap; src: url(/assets/fonts/instrument-sans-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* latin */
@font-face { font-family: 'Instrument Sans'; font-style: italic; font-weight: 400 700; font-stretch: 100%; font-display: swap; src: url(/assets/fonts/instrument-sans-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* latin-ext */
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-stretch: 100%; font-display: swap; src: url(/assets/fonts/instrument-sans-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* latin */
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-stretch: 100%; font-display: swap; src: url(/assets/fonts/instrument-sans-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* latin-ext */
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/newsreader-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* latin */
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/newsreader-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* latin-ext */
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/newsreader-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* latin */
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/newsreader-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokeny (DESIGN-SPEC §1) ---------- */
:root {
  --fs: 1;
  --bg: #FAFAF6;        /* ciepła, papierowa biel */
  --card: #FFFFFF;
  --ink: #1E2721;
  --muted: #68746C;
  --line: #E4E7DF;      /* hairline'y 1px zamiast cieni */
  --green: #2E6B45;
  --green-deep: #1B4A2F;
  --tint: #EFF4EE;
  --amber: #9A6A21;  --amber-tint: #F7EFDF;
  --blue: #2B5C8A;   --blue-tint: #EAF1F8;
  --rust: #A75A3C;
  --foot: #152019;   --foot-ink: #E4EBE4;
  --zebra: #F4F7F2;
  /* aliasy starych nazw (kompatybilność z istniejącymi szablonami) */
  --green-dark: var(--green-deep);
  --green-soft: var(--tint);
  --amber-soft: var(--amber-tint);
  --blue-soft: var(--blue-tint);
  --footer-bg: var(--foot);
  --author-bg: var(--tint);
  --summary-soft: var(--tint);
  --on-green: #ffffff;
  --shadow: 0 16px 40px rgba(15,30,20,.12);   /* tylko elementy pływające */
  --wrap: 1200px;
  --read: 720px;
  --radius: 12px;
  --sans: 'Instrument Sans', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --head: 'Newsreader', Georgia, 'Times New Roman', serif;
  --serif: 'Newsreader', Georgia, serif;
}
html.dark {
  --bg: #11150F; --card: #181E16; --ink: #E7EDE7; --muted: #9DABA0; --line: #2A322A;
  --green: #5FAE7F; --green-deep: #93CBAA; --tint: #1A211A;
  --amber: #DFA956; --amber-tint: #2A2413; --blue: #7BB0E6; --blue-tint: #16202C;
  --rust: #D08A6B; --foot: #0B0F0B; --foot-ink: #DCE4DC; --zebra: #161C14;
  --on-green: #0F130D;
}
html.high-contrast {
  --bg: #FFFFFF; --card: #FFFFFF; --ink: #000000; --muted: #1F1F1F; --line: #111111;
  --green: #14532D; --green-deep: #0B3B1E; --tint: #EEF6F0; --zebra: #F2F2F2;
}
html.high-contrast a { text-decoration: underline; }
html.cvd {
  --green: #0072B2; --green-deep: #005B8F; --tint: #E8F1F8;
  --amber: #D55E00; --amber-tint: #FBEADD; --blue: #0072B2; --blue-tint: #E6F0F7;
  --rust: #D55E00;
}
/* daltonizm: kolor nie jest jedynym nośnikiem — linki zawsze podkreślone */
html.cvd a { text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 2px; }
html.cvd .dot { outline: 1px solid var(--ink); outline-offset: 1px; }

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* A−/A+ z paska dostępności: skaluje TREŚĆ — main + tekst hero + pasek "Teraz"
   (hero i pasek leżą poza <main>). Topbar/header/stopka zostają 1:1, więc przyciski
   nie "uciekają" spod kursora przy klikaniu. */
main, .hero-content > .wrap, .now-bar-inner { zoom: var(--fs, 1); }
::selection { background: #CDE3D3; color: #14301F; }
html.dark ::selection { background: #2E5B41; color: #E7EDE7; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--head);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.015em;
  color: var(--ink);
  text-wrap: balance;
}
img { max-width: 100%; }
a { color: var(--green-deep); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

/* ---------- Dostępność ---------- */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10001; background: var(--green-deep); color: #fff; padding: .55rem 1rem; border-radius: 0 0 8px 0; font-weight: 600; text-decoration: none; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 3px; }

/* pasek A−/A+ … (30×30, hairline, radius 6 — makieta) */
.a11y { display: inline-flex; gap: 6px; align-items: center; flex: 0 0 auto; }
.a11y-btn { min-width: 30px; height: 30px; padding: 0 7px; border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 6px; font: 600 12px var(--sans); line-height: 1; cursor: pointer; }
.a11y-btn:hover { border-color: var(--green); color: var(--green); }
.a11y-btn[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
html.dark .a11y-btn[aria-pressed="true"] { color: #0F130D; }

/* ---------- Topbar ---------- */
.topbar { border-bottom: 1px solid var(--line); background: var(--bg); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.tagline { font-family: var(--head); font-style: italic; font-size: 14px; color: var(--muted); }

/* ---------- Header (sticky + blur) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
@supports not (backdrop-filter: blur(12px)) { .site-header { background: var(--bg); } }
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; padding-top: 0; padding-bottom: 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; font-family: var(--head); font-weight: 600; font-size: 22px; letter-spacing: -.01em; }
.brand-logo { width: 32px; height: 32px; display: block; }
.site-nav { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.site-nav a { color: var(--muted); text-decoration: none; padding: 6px 0; }
.site-nav a:hover { color: var(--ink); }
.header-spacer { flex: 1; }

/* wyszukiwarka-pill (rozszerza się przy focus) */
.search { position: relative; flex: none; margin-left: auto; }
.search-ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input {
  width: 210px; height: 38px; border: 1px solid var(--line); border-radius: 19px;
  background: var(--card); color: var(--ink); padding: 0 14px 0 36px;
  font: 400 14px var(--sans); outline: none; transition: width .25s ease, border-color .15s ease;
}
.search input:focus { border-color: var(--green); width: 260px; }
.search-results {
  position: absolute; top: 46px; right: 0; width: 340px; max-height: 62vh; overflow: auto;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); z-index: 60;
  opacity: 0; transform: translateY(-4px); transition: opacity .16s ease, transform .16s ease;
}
.search-results.open { opacity: 1; transform: none; }
.search-results .sr-item { display: flex; flex-direction: column; gap: 2px; padding: 11px 16px; text-decoration: none; border-bottom: 1px solid var(--line); }
.search-results .sr-item:last-child { border-bottom: 0; }
.search-results .sr-item:hover, .search-results .sr-item.is-active { background: var(--tint); }
.search-results .sr-title { font-size: 14.5px; font-weight: 500; color: var(--ink); }
.search-results .sr-cat { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--green); }
.search-results .sr-empty { padding: 12px 16px; font-size: 13.5px; color: var(--muted); }

.header-social { flex: none; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: var(--muted); text-decoration: none; }
.header-social:hover { color: var(--green); background: var(--tint); }

/* hamburger — tylko mobile */
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 40px; height: 36px; cursor: pointer; padding: 0; }
.nav-toggle-bars { display: inline-flex; flex-direction: column; gap: 4px; }
.nav-toggle-bars span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 1px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero (wideo: jasna scena studyjna, postać po prawej — tekst ciemny po lewej) ----------
   Kolory tekstu STAŁE (nie var) — tekst leży na jasnym WIDEO, niezależnie od trybu strony. */
@keyframes heroRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.hero-cine { position: relative; height: 72vh; min-height: 520px; max-height: 780px; overflow: hidden; background: #F0F0EE; }
/* Wideo 108% szer. doklejone do prawej — postać (kończy przy środku kadru) ląduje ~8%
   dalej w prawo, z buforem od tekstu po lewej; lewa krawędź nadal pokrywa kontener. */
.hero-video { position: absolute; top: 0; bottom: 0; left: auto; right: -8%; width: 108%; height: 100%; object-fit: cover; object-position: center; }
/* jasna mgiełka od lewej — czytelność tekstu na wideo, znika nad postacią */
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(244,244,242,.92) 0%, rgba(244,244,242,.55) 32%, rgba(244,244,242,0) 58%); }
.hero-content { position: absolute; inset: 0; display: flex; align-items: center; }
.hero-content > .wrap { width: 100%; }
.hero-kicker { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #2E6B45; animation: heroRise .8s ease both; }
.hero-content h1 { margin: 0 0 18px; font-weight: 500; font-size: clamp(38px, 5vw, 62px); line-height: 1.05; letter-spacing: -.02em; color: #1B2A20; max-width: 13ch; animation: heroRise .8s .08s ease both; }
.hero-lead { margin: 0 0 28px; font-size: 17px; line-height: 1.6; color: #4A564E; max-width: 44ch; animation: heroRise .8s .16s ease both; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; animation: heroRise .8s .24s ease both; }
.btn { display: inline-flex; align-items: center; height: 46px; padding: 0 26px; border-radius: 23px; font-size: 15px; font-weight: 600; text-decoration: none; transition: background .15s ease, border-color .15s ease; }
.btn-primary { background: #2E6B45; color: #fff; }
.btn-primary:hover { background: #1B4A2F; }
.btn-ghost { background: rgba(255,255,255,.6); color: #1B2A20; border: 1px solid rgba(27,42,32,.35); }
.btn-ghost:hover { border-color: #1B4A2F; background: #fff; }
/* przyciski na tle strony (poza hero) — kolory z tokenów (działają w dark mode) */
main .btn-primary { background: var(--green); color: #fff; }
main .btn-primary:hover { background: var(--green-deep); }
html.dark main .btn-primary { color: #0F130D; }
main .btn-ghost { background: transparent; color: var(--green-deep); border-color: var(--line); }
main .btn-ghost:hover { border-color: var(--green); background: var(--tint); }

/* ---------- Pasek „Teraz" pod hero ---------- */
.now-bar { display: block; background: var(--green-deep); color: #EAF3EC; text-decoration: none; }
.now-bar:hover { background: var(--green); }
.now-bar-inner { display: flex; align-items: center; gap: 14px; padding-top: 12px; padding-bottom: 12px; font-size: 14.5px; }
.now-bar-badge { font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 12px; padding: 3px 10px; flex: none; }
.now-bar-text { color: #fff; }
.now-bar-link { margin-left: auto; font-weight: 600; white-space: nowrap; }

/* ---------- Sekcje strony głównej ---------- */
.home-section { padding-top: 64px; }
.home-section--last { padding-bottom: 80px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 32px; }
.section-head h2 { margin: 0; font-size: 30px; letter-spacing: -.01em; }
.section-head h2 a { color: inherit; text-decoration: none; }
.section-head .see-all { font-size: 14px; font-weight: 600; color: var(--green-deep); text-decoration: none; }
.section-head .see-all:hover { text-decoration: underline; }
.section-note { font-size: 13px; color: var(--muted); }

/* Najnowsze: duży feature + kolumna mini-wpisów */
.latest-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.feature-card { display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: var(--ink); }
.feature-card:hover { color: var(--green-deep); }
.feature-card .card-imgwrap { aspect-ratio: 16/9; border-radius: 12px; }
.feature-title { font-family: var(--head); font-weight: 500; font-size: 32px; line-height: 1.18; letter-spacing: -.015em; text-wrap: balance; }
.feature-desc { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); max-width: 60ch; }
.mini-list { display: flex; flex-direction: column; }
.mini-item { display: flex; gap: 16px; padding: 20px 0; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.mini-item:first-child { padding-top: 0; }
.mini-item:last-child { border-bottom: 0; padding-bottom: 0; }
.mini-item:hover { color: var(--green-deep); }
.mini-thumb { flex: none; width: 104px; height: 78px; overflow: hidden; border-radius: 8px; background: var(--tint); }
.mini-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-body { display: flex; flex-direction: column; gap: 5px; }
.mini-kicker { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--green); font-weight: 600; }
.mini-title { font-family: var(--head); font-weight: 500; font-size: 17.5px; line-height: 1.3; }
.mini-date { font-size: 12.5px; color: var(--muted); }

/* Panele: Kalendarz + Krótkie poradniki */
.duo-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; }
.panel { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 36px; border-radius: 14px; text-decoration: none; color: var(--ink); min-height: 230px; overflow: hidden; }
.panel-cal { background: var(--tint); }
.panel-cal:hover { background: color-mix(in srgb, var(--tint) 70%, var(--green) 8%); }
.panel-quick { border: 1px solid var(--line); }
.panel-quick:hover { border-color: var(--green); }
.panel-numeral { position: absolute; top: -30px; right: 6px; font-family: var(--head); font-style: italic; font-weight: 300; font-size: 190px; line-height: 1; color: var(--green); opacity: .14; pointer-events: none; }
.panel-kicker { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.panel-kicker--amber { color: var(--amber); }
.panel-title { font-family: var(--head); font-weight: 500; font-size: 28px; letter-spacing: -.01em; max-width: 16ch; }
.panel p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); max-width: 48ch; }
.panel-link { font-size: 14.5px; font-weight: 600; color: var(--green-deep); }

/* ---------- Karty artykułów (hairline-less: zdjęcie + tekst) ---------- */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 32px; }
.cards--dense { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 36px 28px; }
.card { display: block; }
.card-link { display: flex; flex-direction: column; gap: 11px; text-decoration: none; color: var(--ink); }
.card-link:hover { color: var(--green-deep); }
.card-imgwrap { display: block; overflow: hidden; border-radius: 10px; aspect-ratio: 3/2; background: var(--tint); }
.card-imgwrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.card-link:hover .card-imgwrap img { transform: scale(1.04); }
.card-meta { display: flex; align-items: center; gap: 12px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.card-cat { color: var(--green); font-weight: 600; }
.diff { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: none; }
.dot--sredni { background: var(--amber); }
.dot--zaawansowany { background: var(--rust); }
.card-title { font-family: var(--head); font-weight: 500; font-size: 21px; line-height: 1.25; letter-spacing: -.01em; }
.cards--dense .card-title { font-size: 19.5px; line-height: 1.27; }
.card-desc { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-date { font-size: 12.5px; color: var(--muted); }

/* ---------- Nagłówek edytorialny (kategoria, tagi, listy) ---------- */
.page-head { padding: 60px 0 44px; max-width: 760px; }
.page-head--full { max-width: none; }
.page-head .kicker { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.page-head h1 { margin: 10px 0 16px; font-size: clamp(42px, 5vw, 58px); line-height: 1.05; letter-spacing: -.02em; }
.page-head p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 56ch; }
.empty-note { color: var(--muted); padding: 2rem 0 4rem; }

/* kategoria: nagłówek + małe zdjęcie po prawej */
.cat-header { padding: 60px 0 44px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.cat-header h1 { margin: 0 0 16px; font-size: clamp(42px, 5vw, 58px); line-height: 1.05; letter-spacing: -.02em; }
.cat-header p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 56ch; }
.cat-photo { overflow: hidden; border-radius: 12px; width: 280px; aspect-ratio: 4/3; background: var(--tint); }
.cat-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* sticky chipy działów */
.cat-chips { position: sticky; top: 68px; z-index: 40; display: flex; gap: 8px; padding: 14px 0; background: var(--bg); border-bottom: 1px solid var(--line); overflow-x: auto; }
.cat-chips a { flex: none; padding: 8px 16px; border: 1px solid var(--line); border-radius: 17px; font-size: 13.5px; font-weight: 600; color: var(--ink); text-decoration: none; }
.cat-chips a:hover { border-color: var(--green); color: var(--green-deep); }
.cat-section { padding: 52px 0 0; scroll-margin-top: 130px; }
.cat-section:last-of-type { padding-bottom: 80px; }
.cat-section h2 { margin: 0 0 28px; font-size: 28px; letter-spacing: -.01em; display: flex; align-items: baseline; gap: 14px; }
.cat-count { font-family: var(--sans); font-size: 13px; color: var(--muted); font-weight: 400; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 22px 0 0; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--green-deep); text-decoration: underline; }
.breadcrumb > span:last-child { color: var(--ink); }

/* ---------- Artykuł ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; background: transparent; pointer-events: none; }
.read-progress-bar { height: 100%; width: 0; background: var(--green); transition: width .1s linear; }

.post-head { max-width: 820px; padding: 36px 0 8px; }
.post-kicker { display: flex; align-items: center; gap: 14px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.post-kicker .pk-cat { color: var(--green); font-weight: 600; }
.post-head h1 { margin: 0 0 22px; font-size: clamp(34px, 4.2vw, 48px); line-height: 1.12; letter-spacing: -.02em; }
.post-byline { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.post-byline .pb-author { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-weight: 600; }
.post-byline .pb-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; display: block; }
.post-byline .pb-sep { color: var(--line); }

.post-figure { margin: 26px 0 0; border-radius: 14px; overflow: hidden; aspect-ratio: 21/9; background: var(--tint); }
.post-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

.post-layout { display: grid; grid-template-columns: minmax(0, 720px) 1fr; gap: 64px; padding: 44px 0 72px; align-items: start; }

.post { font-size: 17px; line-height: 1.75; }   /* skalowanie A−/A+ robi zoom na body */
.post > p, .post-body > p { margin: 0 0 1.4em; }
.post h2 { margin: 2.2em 0 .7em; font-size: 1.65em; line-height: 1.25; letter-spacing: -.015em; scroll-margin-top: 90px; }
.post h3 { margin: 1.8em 0 .6em; font-size: 1.25em; line-height: 1.3; scroll-margin-top: 90px; }
.post ul, .post ol { margin: 0 0 1.4em; padding-left: 1.4em; display: flex; flex-direction: column; gap: .7em; }
.post a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
.post img { border-radius: 10px; }

/* chwilowe podświetlenie nagłówka po kliknięciu w TOC (nav.js .is-flash) */
@keyframes heading-flash { 0% { background: var(--tint); } 100% { background: transparent; } }
.post h2.is-flash, .post h3.is-flash { animation: heading-flash 1.6s ease both; }

/* tabele: bez obrysu, nagłówek uppercase z 2px linią, zebra */
.post table { width: 100%; border-collapse: collapse; font-size: .85em; line-height: 1.55; margin: 0 0 1.6em; }
.table-scroll { overflow-x: auto; margin: 0 0 1.6em; -webkit-overflow-scrolling: touch; }
.table-scroll table { margin: 0; min-width: 560px; }   /* tabela scrolluje w poziomie na wąskich ekranach */
.post thead th { text-align: left; padding: 10px 14px; font-size: .82em; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); font-weight: 600; }
.post tbody td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.post tbody tr:nth-child(even) { background: var(--zebra); }
.table-scroll, .post .table-wrap { overflow-x: auto; }

/* „W skrócie" */
.tldr { background: var(--tint); border-radius: 12px; padding: 22px 26px; margin: 0 0 36px; }
.tldr-head { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.tldr-ico { display: none; }
.tldr-body { margin: 0; font-family: var(--head); font-size: 1.05em; line-height: 1.55; }

/* callouty: pełne tło, etykieta uppercase, bez emoji i lewej krawędzi */
.callout { border-radius: 12px; padding: 20px 24px; margin: 0 0 1.6em; border: 0; background: var(--tint); }
.callout > :first-child { margin-top: 0; }
.callout > :last-child { margin-bottom: 0; }
.callout p { font-size: .94em; }
.callout::before { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.callout--wskazowka { background: var(--tint); }
.callout--wskazowka::before { content: "Wskazówka"; color: var(--green); }
.callout--warto { background: var(--blue-tint); }
.callout--warto::before { content: "Warto pamiętać"; color: var(--blue); }
.callout--uwaga { background: var(--amber-tint); }
.callout--uwaga::before { content: "Uwaga"; color: var(--amber); }
.callout--podsumowanie { background: var(--tint); }
.callout--podsumowanie::before { content: "W skrócie"; color: var(--green-deep); }

/* FAQ jako akordeony */
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin: 0 0 1.6em; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 16px 4px; font-weight: 600; font-size: .96em; cursor: pointer; }
.faq-list summary:hover { color: var(--green-deep); }
.faq-list details p { margin: 0; padding: 0 4px 18px; font-size: .94em; color: var(--muted); }

/* tagi pod artykułem */
.post-tags { margin: 2em 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 15px; font-size: 12.5px; font-weight: 600; color: var(--ink); text-decoration: none; }
.tag:hover { border-color: var(--green); color: var(--green-deep); }
.tag-count { color: var(--muted); font-weight: 400; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 0 80px; }

/* autor pod artykułem */
.author-box { display: flex; gap: 18px; align-items: flex-start; border-top: 1px solid var(--line); margin-top: 3em; padding-top: 2em; background: none; border-radius: 0; }
.author-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.author-info { display: flex; flex-direction: column; gap: 5px; }
.author-kicker { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.author-name { font-family: var(--head); font-weight: 500; font-size: 1.15em; color: var(--ink); text-decoration: none; }
a.author-name:hover { color: var(--green-deep); }
.author-role { margin: 0; font-size: .85em; color: var(--green); font-weight: 600; }
.author-bio { margin: 2px 0 0; font-size: .85em; line-height: 1.6; color: var(--muted); }

/* spis treści — desktop: sticky w prawej kolumnie */
.toc-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 4px; padding-left: 24px; border-left: 1px solid var(--line); }
.toc-side-label { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc-side a { font-size: 13.5px; line-height: 1.4; padding: 5px 0; text-decoration: none; color: var(--muted); font-weight: 400; transition: color .2s; }
.toc-side a:hover { color: var(--ink); }
.toc-side a.is-active { color: var(--green-deep); font-weight: 600; }
.toc-progress { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.toc-progress-label { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.toc-progress-val { font-family: var(--head); font-size: 26px; font-weight: 500; color: var(--green-deep); }

/* spis treści — mobile: <details> nad treścią */
.toc { display: none; margin: 0 0 1.8em; border: 1px solid var(--line); border-radius: 12px; }
.toc summary { padding: 14px 18px; font-weight: 600; font-size: .95em; cursor: pointer; }
.toc-list ul { list-style: none; margin: 0; padding: 4px 18px 14px; display: flex; flex-direction: column; gap: 2px; }
.toc-list a { display: block; padding: 5px 0; font-size: .9em; text-decoration: none; color: var(--muted); }
.toc-list a:hover, .toc-list a.is-active { color: var(--green-deep); }
.toc-list .toc-sub a { padding-left: 14px; font-size: .85em; }

/* powiązane wpisy */
.related { border-top: 1px solid var(--line); padding: 52px 0 76px; }
.related h2 { margin: 0 0 30px; font-size: 28px; letter-spacing: -.01em; }

/* ---------- Kalendarz ogrodnika ---------- */
.cal-now-note { display: flex; align-items: center; gap: 16px; padding: 18px 24px; background: var(--tint); border-radius: 12px; text-decoration: none; color: var(--ink); margin: 0 0 56px; font-size: 15px; }
a.cal-now-note:hover { background: color-mix(in srgb, var(--tint) 70%, var(--green) 8%); }
.cal-now-num { font-family: var(--head); font-style: italic; font-weight: 300; font-size: 40px; color: var(--green); line-height: 1; flex: none; }
.cal-now-link { margin-left: auto; font-weight: 600; font-size: 14.5px; color: var(--green-deep); white-space: nowrap; }

.cal-season { padding: 0 0 64px; }
.cal-season-head { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: center; }
.cal-season:nth-of-type(even) .cal-season-head { grid-template-columns: 1fr 380px; }
.cal-season:nth-of-type(even) .cal-season-photo { order: 2; }
.cal-season-photo { margin: 0; overflow: hidden; border-radius: 14px; aspect-ratio: 4/3; background: var(--tint); }
.cal-season-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cal-season-months { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.cal-jesien .cal-season-months { color: var(--amber); }
.cal-zima .cal-season-months { color: var(--muted); }
.cal-season-title { margin: 8px 0 22px; font-size: 38px; letter-spacing: -.015em; }
.cal-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cal-tile a { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); }
.cal-tile a:hover { border-color: var(--green); background: var(--tint); }
.cal-tile-num { font-family: var(--head); font-weight: 300; font-size: 30px; color: var(--muted); line-height: 1; }
.cal-tile-name { font-weight: 600; font-size: 15.5px; }
.cal-tile--now a { border-color: var(--green); background: var(--tint); }
.cal-tile--now a:hover { background: color-mix(in srgb, var(--tint) 70%, var(--green) 10%); }
.cal-tile--now .cal-tile-num { color: var(--green-deep); }
.cal-tile-badge { position: absolute; top: 12px; right: 12px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--green); color: #fff; border-radius: 9px; padding: 3px 8px; }
html.dark .cal-tile-badge { color: #0F130D; }

/* strona miesiąca (artykuł kalendarza) */
.cal-month { max-width: var(--read); margin: 0 auto; padding: 36px 0 72px; }
.cal-month h1 { font-size: clamp(34px, 4.2vw, 48px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 18px; }
.post-metabar { display: flex; align-items: center; gap: 14px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 18px; color: var(--muted); }
.pm-cat { color: var(--green); font-weight: 600; }
.cal-month .post-figure { aspect-ratio: 16/9; }
.cal-month .tldr { margin-top: 26px; }
.cal-month .toc { display: block; margin-top: 1.4em; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 3em; padding-top: 1.6em; font-size: 14.5px; font-weight: 600; }
.cal-nav a { color: var(--green-deep); text-decoration: none; }
.cal-nav a:hover { text-decoration: underline; }

/* ---------- Krótkie poradniki: lista wierszy ---------- */
.quick-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-bottom: 80px; }
.quick-row { display: grid; grid-template-columns: 200px 1fr auto; gap: 28px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.quick-row:hover { color: var(--green-deep); }
.quick-thumb { overflow: hidden; border-radius: 10px; aspect-ratio: 3/2; background: var(--tint); }
.quick-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.quick-row:hover .quick-thumb img { transform: scale(1.04); }
.quick-body { display: flex; flex-direction: column; gap: 8px; }
.quick-title { font-family: var(--head); font-weight: 500; font-size: 24px; line-height: 1.22; letter-spacing: -.01em; }
.quick-desc { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); max-width: 68ch; }
.quick-chip { flex: none; font-size: 12.5px; font-weight: 600; color: var(--green-deep); background: var(--tint); border-radius: 14px; padding: 6px 14px; white-space: nowrap; }

/* ---------- Strony statyczne / autor ---------- */
.page { max-width: var(--read); margin: 0 auto; padding: 36px 0 72px; font-size: calc(17px * var(--fs)); line-height: 1.75; }
.page h1 { font-size: clamp(34px, 4.2vw, 48px); margin: 0 0 .6em; }
.author-hero { display: flex; gap: 24px; align-items: center; max-width: var(--read); margin: 0 auto; padding: 60px 0 8px; }
.author-avatar-lg { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.author-hero h1 { margin: 0 0 .2em; font-size: clamp(34px, 4vw, 46px); }
.post-list { padding: 40px 0 80px; }

/* ---------- „O nas" ---------- */
.about-hero { position: relative; border-radius: 14px; overflow: hidden; isolation: isolate; background-size: cover; background-position: center; margin: 24px 0 56px; }
.about-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(158deg, rgba(8,14,10,.55), rgba(8,14,10,.78)); }
.about-hero-inner { position: relative; padding: clamp(2.4rem, 5vw, 4rem) clamp(1.4rem, 4vw, 3rem); max-width: 760px; color: #fff; }
.about-kicker { display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.75); margin-bottom: 12px; }
.about-hero h1 { color: #fff; margin: 0 0 16px; font-size: clamp(36px, 5vw, 54px); }
.about-lead { color: rgba(255,255,255,.85); font-size: 17.5px; line-height: 1.6; margin: 0; max-width: 60ch; }
.about-lead strong { color: #fff; }
.about-lead em { font-style: italic; }
.about-section { max-width: var(--read); margin: 0 auto 56px; }
.about-section > h2 { font-size: clamp(26px, 3.4vw, 32px); margin: 0 0 14px; }
.about-section-lead { color: var(--muted); font-size: 16px; margin: 0 0 22px; }
.about-team { max-width: var(--wrap); }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.team-card { display: flex; gap: 18px; border-top: 1px solid var(--line); padding: 24px 0 0; }
.team-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; }
.team-info h3 { margin: 0 0 2px; font-size: 22px; }
.team-role { margin: 0 0 10px; color: var(--green); font-weight: 600; font-size: 13.5px; }
.team-bio { margin: 0 0 10px; font-size: 14.5px; line-height: 1.6; }
.team-link { font-weight: 600; font-size: 14px; text-decoration: none; color: var(--green-deep); }
.team-link:hover { text-decoration: underline; }
.about-split { max-width: var(--wrap); display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.about-split-text h2 { margin-top: 0; font-size: clamp(26px, 3.4vw, 32px); }
.about-checks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.about-checks li { position: relative; padding-left: 30px; line-height: 1.55; font-size: 15.5px; }
.about-checks li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; display: grid; place-items: center; background: var(--green); color: #fff; border-radius: 50%; font-size: 11px; font-weight: 700; }
html.dark .about-checks li::before { color: #0F130D; }
.about-more { font-weight: 600; text-decoration: none; color: var(--green-deep); }
.about-more:hover { text-decoration: underline; }
.about-split-media { margin: 0; }
.about-split-media img { width: 100%; height: 100%; max-height: 340px; object-fit: cover; border-radius: 14px; }
.scope-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.scope-card a { display: flex; flex-direction: column; height: 100%; gap: 4px; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; text-decoration: none; color: var(--ink); transition: border-color .15s ease; }
.scope-card a:hover { border-color: var(--green); }
.scope-name { font-family: var(--head); font-weight: 500; font-size: 19px; color: var(--ink); }
.scope-desc { color: var(--muted); font-size: 13.5px; line-height: 1.5; flex: 1; }
.scope-go { font-weight: 600; font-size: 13px; color: var(--green-deep); margin-top: 6px; }
.about-cta-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.about-cta-links .btn { height: 40px; padding: 0 18px; font-size: 13.5px; border-radius: 20px; }
.about-cta-contact { margin: 0; }
.home-calnow { max-width: var(--read); margin: 0 auto 72px; }
.home-calnow-inner { background: var(--tint); border-radius: 14px; padding: 32px 36px; }
.home-calnow-kicker { display: inline-block; font-weight: 600; color: var(--green); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; }
.home-calnow h2 { margin: 6px 0 10px; font-size: clamp(24px, 3vw, 30px); }
.home-calnow p { margin: 0 0 18px; color: var(--muted); max-width: 66ch; line-height: 1.6; }

/* ---------- Kalkulatory (/narzedzia/) ---------- */
.calc { background: var(--tint); border-radius: 14px; padding: 26px 28px; margin: 1.6em 0; }
.calc-form { display: flex; flex-direction: column; gap: 20px; }
.calc-field { border: 0; padding: 0; margin: 0; }
.calc-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.calc-input { width: 160px; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); padding: 0 14px; font: 600 20px var(--sans); outline: none; }
.calc-input:focus { border-color: var(--green); }
.calc-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-pill { cursor: pointer; }
.calc-pill input { position: absolute; opacity: 0; pointer-events: none; }
.calc-pill span { display: inline-flex; align-items: center; padding: 9px 16px; border: 1px solid var(--line); border-radius: 19px; background: var(--card); font-size: 14px; font-weight: 600; color: var(--ink); transition: border-color .15s ease, background .15s ease; }
.calc-pill:hover span { border-color: var(--green); }
.calc-pill input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
html.dark .calc-pill input:checked + span { color: #0F130D; }
.calc-pill input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.calc-result { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 20px; }
.calc-hint { margin: 0; color: var(--muted); font-size: 15px; }
.calc-warn { background: var(--amber-tint); border-radius: 10px; padding: 14px 18px; font-size: 15px; line-height: 1.55; color: var(--ink); }
.calc-res-main { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.calc-res-kicker { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.calc-res-num { font-family: var(--head); font-weight: 500; font-size: clamp(34px, 5vw, 46px); line-height: 1.1; color: var(--green-deep); }
.calc-res-sub { font-size: 14px; color: var(--muted); }
.calc-res-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 7px; font-size: 15px; }
.calc-res-list li { position: relative; padding-left: 24px; }
.calc-res-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; color: var(--green); font-weight: 700; }
.calc-res-note { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ---------- Kalendarz siewu (/narzedzia/kalendarz-siewu-warzyw/) ---------- */
.sow-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.sow-pill { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 19px; background: var(--card); font: 600 14px var(--sans); color: var(--ink); transition: border-color .15s ease, background .15s ease; }
.sow-pill:hover { border-color: var(--green); }
.sow-pill:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.sow-pill[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
html.dark .sow-pill[aria-pressed="true"] { color: #0F130D; }
.sow-chart { margin-top: 22px; }
.sow-months { display: grid; grid-template-columns: 130px 1fr; gap: 10px; margin-bottom: 6px; }
.sow-months-grid { display: grid; grid-template-columns: repeat(12, 1fr); font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--muted); text-align: center; }
.sow-row { display: grid; grid-template-columns: 130px 1fr; gap: 10px; align-items: center; margin-bottom: 10px; }
.sow-row-label { font-size: 13px; font-weight: 600; color: var(--muted); text-align: right; }
.sow-track { position: relative; height: 26px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; background-image: repeating-linear-gradient(to right, transparent, transparent calc(100%/12 - 1px), var(--line) calc(100%/12 - 1px), var(--line) calc(100%/12)); }
.sow-bar { position: absolute; top: 4px; bottom: 4px; border-radius: 6px; }
.sow-bar--rozsada { background: var(--amber); }
.sow-bar--grunt { background: var(--green); }
.sow-bar--zbior { background: #C2593F; }
html.dark .sow-bar--zbior { background: #E08A6D; }
.sow-now { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); opacity: .45; border-radius: 1px; }
.sow-legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }
.sow-leg { display: inline-flex; align-items: center; gap: 6px; }
.sow-dot { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.sow-dot--now { width: 2px; height: 14px; background: var(--ink); opacity: .45; border-radius: 1px; }
.sow-note { margin: 14px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--ink); border-top: 1px solid var(--line); padding-top: 14px; }
.sow-artlink { margin: 8px 0 0; font-size: 14px; }
.sow-artlink a { font-weight: 600; color: var(--green-deep); text-decoration: none; }
.sow-artlink a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .sow-months, .sow-row { grid-template-columns: 74px 1fr; gap: 8px; }
  .sow-row-label { font-size: 11.5px; }
}
.tools-grid { margin: 1.6em 0; }

/* box-zajawka kalkulatora w artykułach o trawniku */
.tool-promo { display: flex; align-items: center; gap: 16px; background: var(--tint); border-radius: 12px; padding: 18px 22px; margin: 1.8em 0; }
.tool-promo-body { flex: 1; }
.tool-promo-kicker { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 3px; }
.tool-promo-title { font-family: var(--head); font-weight: 500; font-size: 1.1em; }
.tool-promo a.btn { flex: none; height: 40px; padding: 0 18px; font-size: 13.5px; border-radius: 20px; background: var(--green); color: #fff; }
.tool-promo a.btn:hover { background: var(--green-deep); }
html.dark .tool-promo a.btn { color: #0F130D; }
@media (max-width: 560px) { .tool-promo { flex-direction: column; align-items: flex-start; } }

/* ---------- Stopka (ciemna zieleń) ---------- */
.site-footer { background: var(--foot); color: var(--foot-ink); margin-top: 80px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 56px; }
.foot-brand { font-family: var(--head); font-weight: 500; font-size: 26px; display: block; margin-bottom: 14px; }
.foot-col p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.65; color: color-mix(in srgb, var(--foot-ink) 65%, transparent); max-width: 40ch; }
.foot-col h3 { margin: 0 0 12px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--foot-ink) 55%, transparent); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.foot-col a { color: var(--foot-ink); text-decoration: none; font-size: 14.5px; }
.foot-col a:hover { text-decoration: underline; }
.foot-socials { display: flex; gap: 10px; }
.foot-social { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid color-mix(in srgb, var(--foot-ink) 25%, transparent); border-radius: 50%; color: var(--foot-ink); text-decoration: none; }
.foot-social:hover { background: rgba(255,255,255,.08); }
.foot-bottom { margin-top: 40px; border-top: 1px solid color-mix(in srgb, var(--foot-ink) 14%, transparent); }
.foot-bottom p { margin: 0; padding: 26px 0 32px; font-size: 13px; color: color-mix(in srgb, var(--foot-ink) 55%, transparent); }

/* ---------- Toast „Znajdziesz nas na Facebooku" ---------- */
.fb-pop {
  position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 320px; max-width: calc(100vw - 32px);
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 20px 50px rgba(10,25,15,.18); padding: 20px;
  opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease;
}
.fb-pop.is-in { opacity: 1; transform: none; }
.fb-pop[hidden] { display: none; }
.fb-pop-close { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border: none; background: transparent; color: var(--muted); font-size: 18px; cursor: pointer; border-radius: 6px; line-height: 1; }
.fb-pop-close:hover { background: var(--tint); color: var(--ink); }
.fb-pop-body { display: flex; flex-direction: column; gap: 8px; }
.fb-pop-kicker { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.fb-pop-title { font-family: var(--head); font-weight: 500; font-size: 19px; margin: 0; color: var(--ink); }
.fb-pop-text { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.fb-pop-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; margin-top: 6px; background: var(--green); color: #fff; border-radius: 20px; font-size: 14px; font-weight: 600; text-decoration: none; }
.fb-pop-btn:hover { background: var(--green-deep); }
html.dark .fb-pop-btn { color: #0F130D; }

/* ---------- Reveal-on-scroll (progresywnie — bez JS treść widoczna) ---------- */
.reveal { opacity: 1; transform: none; }
.reveal.pre { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsywność ---------- */
@media (max-width: 1080px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc-side { display: none; }
  .post .toc { display: block; }
}
@media (max-width: 900px) {
  .latest-grid { grid-template-columns: 1fr; gap: 36px; }
  .duo-grid { grid-template-columns: 1fr; }
  .cal-season-head, .cal-season:nth-of-type(even) .cal-season-head { grid-template-columns: 1fr; gap: 20px; }
  .cal-season:nth-of-type(even) .cal-season-photo { order: 0; }
  .cat-header { grid-template-columns: 1fr; align-items: start; }
  .cat-photo { width: 100%; max-width: 420px; }
  .about-split { grid-template-columns: 1fr; }
  .about-split-media { order: -1; }
  .team-grid { grid-template-columns: 1fr; }
  .scope-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 20px; }
  .header-inner { gap: 14px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; order: 3; }
  .search { order: 2; flex: 1; margin-left: 0; }
  .search input { width: 100%; }
  .search input:focus { width: 100%; }
  .search-results { left: 0; right: 0; width: auto; }
  .header-social { display: none; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 68px; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0; padding: 0 20px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; opacity: 0; visibility: hidden;
    transition: max-height .25s ease, opacity .25s ease, visibility .25s;
  }
  .site-nav.is-open { max-height: 70vh; opacity: 1; visibility: visible; overflow: auto; }
  .site-nav a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .site-nav a:last-child { border-bottom: 0; }
  /* Mobile: ten sam układ co desktop (tekst NA wideo), tylko przeskalowany.
     Kadr wycentrowany — postać kończy na prawej połowie ekranu, tekst po lewej na mgiełce. */
  .hero-cine { height: 56vh; min-height: 430px; max-height: 620px; }
  .hero-video { left: 0; right: 0; width: 100%; object-position: 50% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(244,244,242,.9) 0%, rgba(244,244,242,.5) 48%, rgba(244,244,242,0) 75%); }
  .hero-content h1 { font-size: clamp(28px, 8vw, 40px); margin-bottom: 14px; }
  .hero-lead { font-size: 14.5px; max-width: 30ch; margin-bottom: 20px; }
  .hero-cta .btn { height: 42px; padding: 0 20px; font-size: 14px; }
  .now-bar-inner { flex-wrap: wrap; gap: 8px 14px; }
  .now-bar-link { margin-left: 0; flex-basis: 100%; }
  .home-section { padding-top: 48px; }
  .quick-row { grid-template-columns: 110px 1fr; gap: 16px; }
  .quick-thumb { align-self: start; }
  .quick-chip { display: none; }
  .quick-title { font-size: 19px; }
  .post-head { padding-top: 26px; }
  .tagline { font-size: 12.5px; }
}
@media (max-width: 560px) {
  /* najwęższe ekrany: mniej tekstu w hero — zostaje H1 + przyciski */
  .hero-kicker { display: none; }
  .hero-lead { display: none; }
}
@media (max-width: 480px) {
  .scope-grid { grid-template-columns: 1fr; }
  .team-card { flex-direction: column; }
  .cal-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cal-tile a { padding: 12px 12px; }
  .fb-pop { right: 12px; left: 12px; bottom: 12px; width: auto; }
  .post-byline { gap: 10px; }
}

/* ---------- Ograniczony ruch ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-kicker, .hero-content h1, .hero-lead, .hero-cta { animation: none; }
  .reveal.pre { opacity: 1; transform: none; transition: none; }
  .card-imgwrap img, .quick-thumb img, .search input, .fb-pop { transition: none; }
  .read-progress-bar { transition: none; }
  .post h2.is-flash, .post h3.is-flash { animation: none; }
}
