/* =========================================================
   DRAPIEŻNIKI DOMOWE — szablon strony głównej
   Aesthetic: nowoczesny field journal / naturalistic editorial
   ========================================================= */

/* -------------------- 0. Reset + base -------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { background: none; border: 0; cursor: pointer; font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* -------------------- 1. Tokens -------------------- */
:root {
  --paper:        #F2EBDC;
  --paper-up:     #F8F2E4;
  --paper-deep:   #E8DFC9;
  --ink:          #1A1F14;
  --ink-soft:     #3E4536;
  --ink-mute:     #6F7461;
  --moss:         #2F4A2A;
  --moss-deep:    #1F3219;
  --moss-light:   #6E7F4F;
  --rust:         #B65028;
  --rust-deep:    #8C3A1B;
  --honey:        #C99419;
  --line:         #C7BC9F;
  --line-soft:    #DCD2B8;

  --f-display: "Fraunces", "Times New Roman", serif;
  --f-body:    "Manrope", system-ui, sans-serif;
  --f-mono:    "IBM Plex Mono", ui-monospace, monospace;

  --maxw: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius-s: 4px;
  --radius:   10px;
  --radius-l: 22px;

  --sh-1: 0 1px 0 rgba(26,31,20,0.05), 0 6px 18px -10px rgba(26,31,20,0.18);
  --sh-2: 0 2px 0 rgba(26,31,20,0.06), 0 24px 48px -28px rgba(26,31,20,0.32);
}

/* -------------------- 2. Body -------------------- */
html, body { background: var(--paper); color: var(--ink); }

body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "ss02", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.10 0 0 0 0 0.10 0 0 0 0 0.06 0 0 0 0.45 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.18'/></svg>");
}

body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(60% 50% at 0% 0%, rgba(255,250,235,0.55), transparent 60%),
    radial-gradient(45% 40% at 100% 100%, rgba(182,80,40,0.07), transparent 60%);
}

main, section, footer { position: relative; z-index: 2; }
header, .topbar { position: relative; z-index: 50; }

/* -------------------- 3. Typografia globalna -------------------- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 480;
  line-height: 1.02;
  letter-spacing: -0.022em;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 1;
  color: var(--ink);
}

em { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1; }
.latin, em.latin { font-style: italic; }
::selection { background: var(--moss); color: var(--paper); }

/* -------------------- 4. Reusable atoms -------------------- */
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--moss); vertical-align: middle; }
.dot--rust { background: var(--rust); }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 14.5px; letter-spacing: 0.005em;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), background .25s, color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--ink); color: var(--paper); box-shadow: 0 1px 0 rgba(0,0,0,0.1), 0 12px 28px -16px rgba(26,31,20,0.6); }
.btn--primary:hover { background: var(--moss-deep); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--lg { padding: 18px 28px; font-size: 15.5px; }

.btn-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: background .2s, border-color .2s; }
.btn-icon svg { width: 16px; height: 16px; stroke: var(--ink); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.btn-icon:hover { background: var(--ink); border-color: var(--ink); }
.btn-icon:hover svg { stroke: var(--paper); }

.link-arrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; border-bottom: 1px solid var(--ink); padding-bottom: 4px; transition: gap .3s; }
.link-arrow svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.link-arrow:hover { gap: 18px; }

/* -------------------- 5. Topbar -------------------- */
.topbar { background: var(--ink); color: var(--paper); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.06em; }
.topbar__inner { max-width: var(--maxw); margin: 0 auto; padding: 8px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.topbar__date { text-transform: uppercase; }
.topbar__meta { display: flex; align-items: center; gap: 14px; text-transform: uppercase; color: rgba(242,235,220,0.75); }
.topbar__chip { color: var(--paper); }
.topbar__sep { opacity: 0.4; }

@media (max-width: 760px) { .topbar__meta > span:not(.topbar__chip):not(.topbar__sep) { display: none; } }

/* -------------------- 6. Header -------------------- */
.header { max-width: var(--maxw); margin: 0 auto; padding: 26px var(--gutter); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; }

.logo { display: inline-flex; align-items: center; gap: 14px; }
.logo__mark { width: 42px; height: 42px; fill: var(--ink); transform: rotate(-12deg); transition: transform .4s; }
.logo:hover .logo__mark { transform: rotate(0deg) scale(1.05); }
.logo__text { display: inline-flex; flex-direction: column; line-height: 1; }
.logo__title { font-family: var(--f-display); font-size: 17px; font-weight: 500; letter-spacing: -0.02em; font-variation-settings: "opsz" 14, "SOFT" 30; line-height: 0.95; }
.logo__sub { font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-mute); margin-top: 4px; }

.nav { justify-self: center; display: flex; gap: 30px; font-size: 14.5px; font-weight: 500; }
.nav a { position: relative; padding: 6px 0; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: var(--moss); transition: right .35s cubic-bezier(.2,.8,.2,1); }
.nav a:hover::after { right: 0; }

.header__actions { display: flex; align-items: center; gap: 10px; }
.lang-pill { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; transition: background .2s, border-color .2s; }
.lang-pill span { opacity: 0.4; }
.lang-pill:hover { background: var(--paper-up); border-color: var(--ink); }

.burger { display: none; width: 40px; height: 40px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.burger span { width: 22px; height: 1.5px; background: var(--ink); transition: transform .3s, opacity .3s; }

@media (max-width: 980px) {
  .header { grid-template-columns: auto auto; gap: 20px; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper-up); border-bottom: 1px solid var(--line); padding: 18px var(--gutter); z-index: 50; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .nav a::after { display: none; }
  .burger { display: flex; }
  .lang-pill { display: none; }
}

/* -------------------- 7. Section heads -------------------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(70px, 9vw, 130px) var(--gutter); }
.section-head { max-width: 760px; margin-bottom: 60px; }
.section-head--row { max-width: 100%; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.section-head__top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.section-num { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rust); font-style: italic; font-weight: 500; }
.section-tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); padding-left: 16px; border-left: 1px solid var(--line); }
.section-title { font-size: clamp(38px, 5.2vw, 72px); font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0; font-weight: 420; letter-spacing: -0.025em; }
.section-title em { font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; color: var(--moss); }
.section-lead { margin-top: 22px; font-size: 17.5px; line-height: 1.55; color: var(--ink-soft); max-width: 60ch; }

/* -------------------- 8. HERO -------------------- */
.hero { max-width: var(--maxw); margin: 0 auto; padding: 30px var(--gutter) 110px; }
.hero__rule { display: flex; align-items: center; gap: 18px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 50px; }
.hero__rule span:first-child { color: var(--rust); font-style: italic; }
.hero__rule-line { flex: 1; height: 1px; background: var(--line); }
.hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.hero__main { padding-top: 14px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 28px; }
.hero__title { font-size: clamp(54px, 8.4vw, 128px); font-weight: 380; line-height: 0.92; letter-spacing: -0.038em; font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1; color: var(--ink); }
.hero__title em { color: var(--moss); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; font-weight: 380; }
.hero__title-accent { position: relative; white-space: nowrap; }
.hero__title-accent::after { content: ""; position: absolute; left: -2%; right: -3%; bottom: 0.07em; height: 0.16em; background: var(--rust); opacity: 0.85; z-index: -1; border-radius: 3px; transform: skewY(-2.2deg) translateY(0.02em); }
.hero__title-dot { color: var(--rust); }
.hero__lead { margin-top: 36px; font-size: clamp(17px, 1.4vw, 19.5px); line-height: 1.5; color: var(--ink-soft); max-width: 52ch; }
.hero__actions { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { margin-top: 60px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__stats div { display: flex; flex-direction: column; gap: 4px; }
.hero__stats dt { font-family: var(--f-display); font-size: clamp(28px, 3vw, 38px); font-weight: 460; letter-spacing: -0.03em; font-variation-settings: "opsz" 60, "SOFT" 40; color: var(--ink); line-height: 1; }
.hero__stats dd { font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-mute); }

.hero__visual { position: relative; margin-top: 14px; }
.plate { position: relative; border-radius: 6px; overflow: hidden; background: var(--paper-deep); box-shadow: var(--sh-2); isolation: isolate; }
.plate--hero { aspect-ratio: 4 / 5; transform: rotate(0.8deg); }
.plate__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px; display: flex; justify-content: space-between; align-items: baseline; gap: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper); background: linear-gradient(0deg, rgba(0,0,0,0.55), transparent); z-index: 3; }
.plate__name em { font-family: var(--f-display); font-style: italic; font-size: 14px; text-transform: none; letter-spacing: 0; color: var(--paper); }
.plate__caption--side { left: auto; right: 12px; bottom: 12px; flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 14px; background: rgba(26,31,20,0.7); border-radius: 4px; }

.sticker { position: absolute; left: -6%; bottom: 18%; width: 220px; background: var(--paper-up); padding: 18px 18px 16px; transform: rotate(-5deg); box-shadow: var(--sh-2); z-index: 4; }
.sticker::before, .sticker::after { content: ""; position: absolute; inset: 6px; border: 1px dashed var(--line); pointer-events: none; }
.sticker::after { inset: 0; border: none; }
.sticker__tape { position: absolute; top: -14px; left: 50%; transform: translateX(-50%) rotate(-4deg); width: 70px; height: 22px; background: rgba(201,148,25,0.4); border: 1px solid rgba(201,148,25,0.55); border-radius: 1px; z-index: 5; }
.sticker__eyebrow { display: block; font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-mute); margin-bottom: 6px; }
.sticker__phrase { display: block; font-family: var(--f-display); font-size: 22px; font-weight: 500; font-variation-settings: "opsz" 60, "SOFT" 80, "WONK" 1; color: var(--moss-deep); line-height: 1.05; margin-bottom: 10px; letter-spacing: -0.015em; }
.sticker__meta { display: block; font-family: var(--f-mono); font-size: 11px; color: var(--rust); font-style: italic; }

.hero__compass { position: absolute; top: -18px; right: -6px; width: 84px; height: 84px; color: var(--ink-soft); opacity: 0.45; transform: rotate(8deg); animation: rotate-slow 90s linear infinite; }
@keyframes rotate-slow { to { transform: rotate(368deg); } }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; margin: 0 auto; }
  .hero__compass { width: 60px; height: 60px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
}

/* -------------------- 9. Placeholders -------------------- */
[data-image] { position: relative; background: repeating-linear-gradient(135deg, transparent 0 11px, rgba(47,74,42,0.06) 11px 12px), radial-gradient(120% 120% at 30% 20%, var(--paper-up), var(--paper-deep) 70%); overflow: hidden; }
[data-image]::before { content: ""; position: absolute; inset: 14px; border: 1px dashed var(--line); border-radius: 3px; pointer-events: none; z-index: 2; }
[data-image]::after { content: "PLACEHOLDER · " attr(data-image); position: absolute; inset: 24px; display: flex; align-items: flex-end; font-family: var(--f-mono); font-size: 10.5px; line-height: 1.5; letter-spacing: 0.04em; color: var(--ink-soft); text-transform: none; z-index: 2; pointer-events: none; }
[data-image] > .ph-cam { position: absolute; top: 22px; right: 22px; width: 28px; height: 28px; border-radius: 50%; background: var(--paper-up); display: grid; place-items: center; z-index: 3; box-shadow: 0 1px 2px rgba(0,0,0,0.08); }

/* -------------------- 10. TICKER -------------------- */
.ticker { background: var(--moss-deep); color: var(--paper); overflow: hidden; border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); padding: 14px 0; }
.ticker__track { display: flex; gap: 56px; white-space: nowrap; font-family: var(--f-display); font-style: italic; font-size: 22px; font-variation-settings: "opsz" 60, "SOFT" 80, "WONK" 1; animation: ticker-roll 60s linear infinite; }
.ticker__track span:nth-child(odd) { color: var(--paper); }
.ticker__track span:nth-child(even) { color: rgba(242,235,220,0.45); }
@keyframes ticker-roll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* -------------------- 11. KATEGORIE -------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cat-card { position: relative; display: flex; flex-direction: column; background: var(--paper-up); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.cat-card__no { position: absolute; top: 18px; left: 18px; z-index: 3; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; background: var(--paper); color: var(--ink); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); }
.cat-card__img { aspect-ratio: 4 / 3; border-bottom: 1px solid var(--line); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.cat-card:hover .cat-card__img { transform: scale(1.04); }
.cat-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cat-card__count { font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-mute); margin-bottom: 4px; }
.cat-card__title { font-size: 30px; font-weight: 460; letter-spacing: -0.022em; font-variation-settings: "opsz" 80, "SOFT" 50; }
.cat-card__latin { font-family: var(--f-display); font-size: 14.5px; font-style: italic; color: var(--moss); margin-bottom: 6px; }
.cat-card__desc { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; flex: 1; }
.cat-card__cta { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink); padding-bottom: 4px; border-bottom: 1px solid var(--line); align-self: flex-start; transition: gap .3s, color .2s, border-color .2s; }
.cat-card__cta svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.cat-card:hover .cat-card__cta { gap: 14px; color: var(--moss); border-color: var(--moss); }

/* Featured = szersza karta (span 2 kolumny) z większym img i body pod nim — układ
   spójny z pozostałymi kartami, body zawsze widoczne. */
.cat-card--featured { grid-column: span 2; flex-direction: column; }
.cat-card--featured .cat-card__img { aspect-ratio: 4 / 3; border-bottom: 1px solid var(--line); border-right: none; }
.cat-card--featured .cat-card__body { padding: 32px 36px 36px; gap: 10px; }
.cat-card--featured .cat-card__title { font-size: 40px; }
.cat-card--featured .cat-card__desc { font-size: 16px; max-width: 56ch; }

@media (max-width: 980px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-card--featured { grid-column: span 2; flex-direction: column; }
  .cat-card--featured .cat-card__img { min-height: 240px; border-right: none; border-bottom: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card--featured { grid-column: span 1; }
}

/* -------------------- 12. FEATURED SPECIES -------------------- */
.featured { background: var(--ink); color: var(--paper); max-width: 100%; border-radius: 0; margin: 0; padding: clamp(70px, 9vw, 130px) var(--gutter); position: relative; overflow: hidden; }
.featured::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 100% 0%, rgba(182,80,40,0.18), transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(110,127,79,0.12), transparent 60%); pointer-events: none; }
.featured > * { position: relative; z-index: 1; max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.featured__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 60px; gap: 30px; }
.featured__badge { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper); display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px; border: 1px solid rgba(242,235,220,0.25); border-radius: 999px; }
.featured .section-num { color: var(--honey); border: 0; }

.featured__grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }

.featured__visual { display: grid; gap: 24px; }
.plate--featured { aspect-ratio: 3 / 4; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); transform: rotate(-1deg); }
.plate--featured [data-image] { background-blend-mode: screen; }

.taxonomy { font-family: var(--f-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--paper); border-top: 1px solid rgba(242,235,220,0.2); }
.taxonomy caption { text-align: left; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--honey); font-style: italic; margin-bottom: 8px; }
.taxonomy th, .taxonomy td { padding: 9px 0; border-bottom: 1px solid rgba(242,235,220,0.12); vertical-align: baseline; }
.taxonomy th { text-align: left; font-weight: 400; color: rgba(242,235,220,0.55); width: 40%; }
.taxonomy td { color: var(--paper); }
.taxonomy td em { font-family: var(--f-display); font-style: italic; font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--honey); }

.featured__body { padding-top: 8px; }
.featured__eyebrow { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--honey); margin-bottom: 16px; display: inline-block; }
.featured__name { font-size: clamp(56px, 7vw, 96px); font-weight: 360; letter-spacing: -0.035em; line-height: 0.95; font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1; color: var(--paper); }
.featured__latin { font-family: var(--f-display); font-style: italic; font-size: 18px; color: var(--honey); margin-top: 14px; letter-spacing: -0.005em; }
.featured__intro { margin-top: 32px; font-size: 17px; line-height: 1.6; color: rgba(242,235,220,0.78); max-width: 56ch; }

.facts { margin: 38px 0 38px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid rgba(242,235,220,0.18); border-left: 1px solid rgba(242,235,220,0.18); }
.facts li { padding: 22px 22px; border-right: 1px solid rgba(242,235,220,0.18); border-bottom: 1px solid rgba(242,235,220,0.18); display: flex; flex-direction: column; gap: 6px; }
.fact__num { font-family: var(--f-display); font-size: 36px; font-weight: 460; font-variation-settings: "opsz" 80, "SOFT" 40; color: var(--paper); letter-spacing: -0.02em; line-height: 1; }
.fact__label { font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(242,235,220,0.55); }

.featured__quote { position: relative; padding: 28px 28px 28px 64px; border-left: 2px solid var(--rust); background: rgba(255,255,255,0.03); margin-bottom: 36px; border-radius: 0 8px 8px 0; }
.quote__mark { position: absolute; top: -8px; left: 14px; font-family: var(--f-display); font-size: 78px; line-height: 1; color: var(--rust); font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.featured__quote p { font-family: var(--f-display); font-style: italic; font-size: 19px; line-height: 1.45; color: rgba(242,235,220,0.92); font-variation-settings: "opsz" 60, "SOFT" 80, "WONK" 1; }
.featured__quote cite { display: block; margin-top: 14px; font-family: var(--f-mono); font-style: normal; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--honey); }

.featured .btn--primary { background: var(--paper); color: var(--ink); }
.featured .btn--primary:hover { background: var(--honey); color: var(--ink); }

@media (max-width: 980px) {
  .featured__grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
}

/* -------------------- 13. LATEST GRID -------------------- */
.latest__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(280px, auto); gap: 28px; }
.post { position: relative; background: var(--paper-up); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; display: flex; flex-direction: column; }
.post:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.post__link { display: flex; flex-direction: column; height: 100%; }
.post__img { aspect-ratio: 4 / 3; border-bottom: 1px solid var(--line); transition: transform .8s cubic-bezier(.2,.8,.2,1); flex-shrink: 0; }
.post:hover .post__img { transform: scale(1.04); }
.post__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post__meta-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 4px; }
.post__cat { font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--moss); font-weight: 500; }
.post__readtime { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--ink-mute); }
.post__title { font-size: 19px; font-weight: 480; line-height: 1.18; letter-spacing: -0.015em; font-variation-settings: "opsz" 30, "SOFT" 50; color: var(--ink); text-wrap: balance; }
.post__date { margin-top: auto; padding-top: 14px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--ink-mute); }

.post--lg { grid-column: span 2; grid-row: span 2; }
.post--lg .post__link { display: grid; grid-template-rows: 1fr auto; }
.post--lg .post__img { aspect-ratio: auto; height: 100%; min-height: 320px; }
.post--lg .post__body { padding: 32px 34px 32px; gap: 14px; }
.post--lg .post__title { font-size: clamp(28px, 2.6vw, 38px); font-weight: 440; letter-spacing: -0.022em; line-height: 1.05; font-variation-settings: "opsz" 80, "SOFT" 40; }
.post--lg .post__excerpt { font-size: 16px; line-height: 1.55; color: var(--ink-soft); margin-top: 6px; }
.post__byline { margin-top: 18px; display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--ink-mute); }
.byline__avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--moss); color: var(--paper); display: grid; place-items: center; font-size: 10px; font-weight: 600; letter-spacing: 0.04em; font-family: var(--f-mono); }

@media (max-width: 1100px) {
  .latest__grid { grid-template-columns: repeat(2, 1fr); }
  .post--lg { grid-column: span 2; grid-row: span 1; }
  .post--lg .post__link { grid-template-rows: auto auto; }
  .post--lg .post__img { min-height: 300px; }
}
@media (max-width: 620px) {
  .latest__grid { grid-template-columns: 1fr; }
  .post--lg, .post { grid-column: span 1; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
}

/* -------------------- 14. POPULAR -------------------- */
.popular { padding-top: clamp(40px, 6vw, 80px); }
.popular__inner { max-width: var(--maxw); margin: 0 auto; background: var(--paper-up); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(40px, 6vw, 80px); position: relative; overflow: hidden; }
.popular__inner::before { content: "INDEX"; position: absolute; top: 30px; right: 40px; font-family: var(--f-display); font-style: italic; font-size: 180px; line-height: 1; color: var(--paper-deep); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; pointer-events: none; z-index: 0; letter-spacing: -0.04em; }
.popular__head { max-width: 640px; margin-bottom: 50px; position: relative; z-index: 1; }

.popular__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; position: relative; z-index: 1; border-top: 1px solid var(--line); }
.popular__list li { border-bottom: 1px solid var(--line-soft); }
.popular__list li:nth-child(odd) { border-right: 1px solid var(--line); }
.popular__list a { display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 18px; padding: 22px 24px; transition: background .25s, padding .3s; }
.popular__list a:hover { background: var(--paper); padding-left: 32px; }
.pop__rank { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.1em; color: var(--rust); font-style: italic; }
.pop__phrase { font-family: var(--f-display); font-size: 22px; font-weight: 460; letter-spacing: -0.018em; font-variation-settings: "opsz" 60, "SOFT" 50; color: var(--ink); }
.popular__list a:hover .pop__phrase { color: var(--moss); font-style: italic; font-variation-settings: "opsz" 60, "SOFT" 100, "WONK" 1; }
.pop__cat { font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-mute); padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; transition: color .25s, border-color .25s, background .25s; }
.popular__list a:hover .pop__cat { color: var(--moss); border-color: var(--moss); background: var(--paper-up); }

@media (max-width: 860px) {
  .popular__list { grid-template-columns: 1fr; }
  .popular__list li:nth-child(odd) { border-right: none; }
  .popular__list a { grid-template-columns: 36px 1fr auto; gap: 14px; padding: 18px 0; }
  .popular__list a:hover { padding-left: 8px; }
  .pop__phrase { font-size: 18px; }
  .pop__cat { font-size: 9.5px; padding: 4px 8px; }
  .popular__inner::before { font-size: 100px; top: 16px; right: 20px; }
}

/* -------------------- 15. NEWSLETTER -------------------- */
.newsletter { padding-bottom: clamp(80px, 9vw, 140px); }
.postcard { max-width: 1100px; margin: 0 auto; background: var(--paper-up); border-radius: var(--radius); border: 1px solid var(--line); display: grid; grid-template-columns: 230px 1fr; position: relative; box-shadow: var(--sh-2); transform: rotate(-0.6deg); overflow: hidden; }
.postcard::before { content: ""; position: absolute; left: 230px; top: 0; bottom: 0; width: 1px; background: repeating-linear-gradient(0deg, var(--line) 0 6px, transparent 6px 12px); }
.postcard__stamps { padding: 32px 28px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; background: repeating-linear-gradient(45deg, transparent 0 14px, rgba(47,74,42,0.04) 14px 15px), var(--paper-deep); }

.stamp { width: 100px; height: 130px; background: var(--paper); border: 2px dashed var(--line); outline: 4px solid var(--paper-up); outline-offset: -4px; position: relative; display: flex; align-items: flex-end; justify-content: center; padding: 8px; transform: rotate(-4deg); }
.stamp::before { content: ""; position: absolute; inset: 8px; background: repeating-linear-gradient(135deg, transparent 0 8px, rgba(47,74,42,0.08) 8px 9px), radial-gradient(60% 60% at 50% 35%, var(--paper-deep), var(--paper-up)); }
.stamp span { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.16em; text-align: center; color: var(--ink); position: relative; z-index: 1; background: var(--paper); padding: 2px 4px; line-height: 1.3; }

.postmark { width: 110px; height: 110px; color: var(--rust); opacity: 0.6; transform: rotate(-12deg); margin-left: 18px; }

.postcard__body { padding: 44px 50px 44px 60px; }
.postcard__eyebrow { display: inline-block; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rust); margin-bottom: 14px; }
.postcard__title { font-size: clamp(36px, 4.6vw, 60px); font-weight: 420; letter-spacing: -0.025em; line-height: 1; font-variation-settings: "opsz" 144, "SOFT" 40, "WONK" 1; }
.postcard__title em { color: var(--moss); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.postcard__lead { margin-top: 20px; font-size: 16px; line-height: 1.55; color: var(--ink-soft); max-width: 52ch; }

.postcard__form { margin-top: 32px; display: flex; gap: 0; border: 1px solid var(--ink); border-radius: 999px; padding: 6px; background: var(--paper); max-width: 520px; transition: box-shadow .3s; }
.postcard__form:focus-within { box-shadow: 0 0 0 4px rgba(47,74,42,0.12); }
.postcard__form input { flex: 1; border: 0; outline: 0; padding: 10px 18px; background: transparent; font-size: 15px; letter-spacing: 0.005em; }
.postcard__form input::placeholder { color: var(--ink-mute); }
.postcard__form button { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; background: var(--ink); color: var(--paper); border-radius: 999px; font-weight: 600; font-size: 14px; transition: background .25s, transform .2s; }
.postcard__form button:hover { background: var(--moss-deep); }
.postcard__form button svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.6; fill: none; transition: transform .3s; }
.postcard__form button:hover svg { transform: translateX(4px); }

.postcard__note { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--ink-mute); }

.postcard.is-sent .postcard__form { opacity: 0.4; pointer-events: none; }
.postcard.is-sent::after { content: "✓ Sprawdź skrzynkę — wysłaliśmy potwierdzenie"; position: absolute; bottom: 30px; left: 60px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--moss); background: var(--paper); padding: 8px 14px; border: 1px solid var(--moss); border-radius: 999px; }

@media (max-width: 760px) {
  .postcard { grid-template-columns: 1fr; transform: none; }
  .postcard::before { display: none; }
  .postcard__stamps { flex-direction: row; padding: 24px; }
  .postcard__body { padding: 32px 28px; }
  .postcard__form { flex-direction: column; border-radius: 22px; padding: 8px; gap: 6px; }
  .postcard__form button { width: 100%; justify-content: center; }
}

/* -------------------- 16. FOOTER -------------------- */
.footer { background: var(--ink); color: var(--paper); padding: clamp(60px, 7vw, 90px) var(--gutter) 30px; position: relative; }
.footer__top { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 2fr; gap: clamp(40px, 6vw, 90px); }
.footer__brand .logo__mark { fill: var(--paper); }
.footer__brand .logo__title, .footer__brand .logo__sub { color: var(--paper); }
.footer__brand .logo__sub { color: rgba(242,235,220,0.55); }
.footer__about { margin-top: 28px; font-size: 14.5px; line-height: 1.55; color: rgba(242,235,220,0.7); max-width: 38ch; }
.footer__credit { margin-top: 22px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--honey); font-style: italic; }

.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer__cols h4 { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--honey); font-weight: 500; margin-bottom: 18px; font-style: italic; }
.footer__cols li { margin-bottom: 10px; }
.footer__cols a { font-size: 14.5px; color: rgba(242,235,220,0.85); transition: color .2s, padding .3s; display: inline-block; }
.footer__cols a:hover { color: var(--paper); padding-left: 4px; }

.footer__langs { display: flex; flex-wrap: wrap; gap: 6px; }
.footer__langs li { margin: 0; }
.footer__langs a { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; padding: 6px 10px; border: 1px solid rgba(242,235,220,0.18); border-radius: 4px; transition: border-color .2s, background .2s; }
.footer__langs a:hover { border-color: var(--honey); padding-left: 10px; background: rgba(201,148,25,0.08); }

.footer__rule { max-width: var(--maxw); margin: 50px auto 24px; height: 1px; background: rgba(242,235,220,0.15); }
.footer__bottom { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; color: rgba(242,235,220,0.5); text-transform: uppercase; flex-wrap: wrap; gap: 12px; }

@media (max-width: 980px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}

/* -------------------- 17. Page-load animation -------------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

.hero__rule          { animation: hero-in .8s .05s both cubic-bezier(.2,.8,.2,1); }
.hero__eyebrow       { animation: hero-in .8s .15s both cubic-bezier(.2,.8,.2,1); }
.hero__title         { animation: hero-in 1s .25s both cubic-bezier(.2,.8,.2,1); }
.hero__lead          { animation: hero-in .9s .45s both cubic-bezier(.2,.8,.2,1); }
.hero__actions       { animation: hero-in .9s .6s both cubic-bezier(.2,.8,.2,1); }
.hero__stats         { animation: hero-in .9s .7s both cubic-bezier(.2,.8,.2,1); }
.plate--hero         { animation: plate-in 1.1s .3s both cubic-bezier(.2,.8,.2,1); }
.sticker             { animation: sticker-in 1s .9s both cubic-bezier(.2,.8,.2,1); }
.hero__compass       { animation: hero-in 1s .8s both cubic-bezier(.2,.8,.2,1), rotate-slow 90s linear infinite 1.8s; }

@keyframes hero-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes plate-in { from { opacity: 0; transform: rotate(-3deg) translateY(40px) scale(.96); } to { opacity: 1; transform: rotate(0.8deg) translateY(0) scale(1); } }
@keyframes sticker-in { from { opacity: 0; transform: rotate(-12deg) translateY(20px) scale(.85); } to { opacity: 1; transform: rotate(-5deg) translateY(0) scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .hero__rule, .hero__eyebrow, .hero__title, .hero__lead, .hero__actions, .hero__stats,
  .plate--hero, .sticker, .hero__compass, .reveal { animation: none; opacity: 1; transform: none; transition: none; }
  .ticker__track { animation: none; }
}

/* =========================================================
   ARTICLE PAGE
   ========================================================= */

.page-article { background: var(--paper); }

.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; background: transparent; pointer-events: none; }
.read-progress i { display: block; width: 0%; height: 100%; background: linear-gradient(90deg, var(--moss), var(--rust)); transition: width .15s linear; }

.article { max-width: var(--maxw); margin: 0 auto; padding: 30px var(--gutter) 60px; }

.article-hero { max-width: 980px; margin: 0 0 60px; padding-top: 20px; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 50px; }
.breadcrumb a { transition: color .2s; border-bottom: 1px solid transparent; padding-bottom: 2px; }
.breadcrumb a:hover { color: var(--moss); border-bottom-color: var(--moss); }
.breadcrumb__sep { opacity: 0.4; }
.breadcrumb__current { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

.article-cat { display: inline-block; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rust); font-style: italic; margin-bottom: 26px; }

.article-title { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.028em; font-weight: 380; font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1; text-wrap: balance; }
.article-title em { color: var(--moss); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }

.article-lead { margin-top: 32px; font-family: var(--f-display); font-size: clamp(20px, 1.7vw, 24px); line-height: 1.45; font-weight: 380; letter-spacing: -0.012em; color: var(--ink-soft); font-variation-settings: "opsz" 60, "SOFT" 60; max-width: 38em; }

.article-meta { margin-top: 44px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.article-meta__sep { width: 1px; height: 32px; background: var(--line); }
.article-meta__author { display: flex; align-items: center; gap: 12px; }
.article-meta__author .byline__avatar { width: 36px; height: 36px; font-size: 11px; }
.article-meta__name { display: block; font-family: var(--f-display); font-size: 15.5px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.article-meta__role { display: block; font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-mute); margin-top: 2px; }
.article-meta__dates, .article-meta__read { display: flex; flex-direction: column; gap: 4px; font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-soft); letter-spacing: 0.04em; }
.article-meta__dates strong, .article-meta__read strong { display: inline-block; text-transform: uppercase; font-size: 9.5px; letter-spacing: 0.16em; color: var(--ink-mute); font-weight: 500; margin-right: 6px; font-style: italic; }
.article-meta__read span:last-child { color: var(--ink-mute); }

.article-hero-image { margin: 0 0 80px; position: relative; }
.article-hero-image__plate { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--paper-deep); box-shadow: var(--sh-2); }
.article-hero-image__plate[data-image]::after { font-size: 11.5px; }

.article-hero-image figcaption,
.figure-inline figcaption { margin-top: 14px; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: baseline; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--ink-mute); padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.figcap__no { font-style: italic; color: var(--rust); text-transform: uppercase; letter-spacing: 0.16em; font-size: 10.5px; }
.figcap__text { font-family: var(--f-body); font-style: italic; color: var(--ink-soft); letter-spacing: 0; font-size: 13.5px; line-height: 1.45; }
.figcap__text em { color: var(--moss); }
.figcap__cred { text-transform: uppercase; font-size: 10px; letter-spacing: 0.14em; white-space: nowrap; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(40px, 5vw, 90px); align-items: start; max-width: var(--maxw); }

.article-aside { grid-column: 2; grid-row: 1; position: sticky; top: 28px; display: flex; flex-direction: column; gap: 24px; }
.aside-block { background: var(--paper-up); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 24px; }
.aside-block__head { font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--rust); font-style: italic; font-weight: 500; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }

.toc { display: flex; flex-direction: column; gap: 2px; }
.toc__link { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: baseline; padding: 8px 8px 8px 0; font-size: 14px; line-height: 1.3; color: var(--ink-soft); border-left: 2px solid transparent; padding-left: 12px; margin-left: -12px; transition: color .2s, border-color .25s, background .2s; border-radius: 0 4px 4px 0; }
.toc__link:hover { color: var(--ink); background: var(--paper); }
.toc__link.is-active { color: var(--moss-deep); border-left-color: var(--moss); font-weight: 600; background: rgba(47,74,42,0.04); }
.toc__num { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--rust); font-style: italic; }
.toc__link.is-active .toc__num { color: var(--moss); }

.aside-block--facts { background: var(--paper-deep); }
.quick-facts { display: flex; flex-direction: column; gap: 12px; }
.quick-facts li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; font-size: 13.5px; line-height: 1.45; color: var(--ink); }
.qf__bullet { width: 8px; height: 8px; border-radius: 50%; background: var(--moss); margin-top: 7px; }

.aside-block--share .share-row { display: flex; gap: 8px; }
.share-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: var(--paper); transition: background .2s, border-color .2s, color .2s; color: var(--ink); }
.share-btn svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.share-btn[href*="x.com"] svg, .share-btn[aria-label*="X"] svg, .share-btn[aria-label*="Facebook"] svg { fill: currentColor; }
.share-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.share-hint { display: inline-block; margin-top: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--moss); }

.article-body { grid-column: 1; grid-row: 1; font-family: var(--f-body); font-size: 18px; line-height: 1.65; color: var(--ink); max-width: 820px; }
.article-body p { margin-bottom: 1.4em; }
.article-body p strong { font-weight: 700; color: var(--ink); }
.article-body p em { color: var(--ink); font-style: italic; font-variation-settings: "opsz" 30, "SOFT" 100; }

.article-body p > a, .article-body li > a { color: var(--moss-deep); border-bottom: 1px solid var(--moss-light); padding-bottom: 1px; transition: color .2s, border-color .2s, background .2s; }
.article-body p > a:hover, .article-body li > a:hover { color: var(--paper); background: var(--moss-deep); border-color: var(--moss-deep); }

.lede { font-size: 21px; line-height: 1.55; color: var(--ink); margin-bottom: 2em; }
.lede::first-letter { font-family: var(--f-display); font-size: 5em; line-height: 0.85; float: left; margin: 0.05em 0.12em -0.05em 0; color: var(--moss); font-weight: 460; font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 1; }

.article-h2 { position: relative; margin: 3em 0 1em; font-family: var(--f-display); font-size: clamp(28px, 3vw, 38px); line-height: 1.05; font-weight: 440; letter-spacing: -0.022em; font-variation-settings: "opsz" 80, "SOFT" 50, "WONK" 1; color: var(--ink); padding-top: 1.4em; border-top: 1px solid var(--line); }
.article-h2__num { display: block; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rust); font-style: italic; font-weight: 500; margin-bottom: 14px; }
.article-h2:first-of-type { padding-top: 1em; }
.article-body > .article-h2:first-child { border-top: 0; padding-top: 0; }

.article-list { margin: 0 0 1.6em; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.article-list li { position: relative; padding-left: 28px; line-height: 1.55; font-size: 17px; }
.article-list li::before { content: ""; position: absolute; left: 4px; top: 0.7em; width: 14px; height: 1.5px; background: var(--moss); }
.article-list li strong { color: var(--moss-deep); font-weight: 600; }

.figure-inline { margin: 2.4em 0 2.4em; }
.figure-inline__plate { aspect-ratio: 4 / 3; border-radius: var(--radius-s); overflow: hidden; background: var(--paper-deep); border: 1px solid var(--line); }

.pullquote { margin: 2.6em -20px; padding: 32px 36px 32px 60px; position: relative; background: var(--paper-up); border-left: 3px solid var(--rust); border-radius: 0 var(--radius) var(--radius) 0; }
.pullquote::before { content: "„"; position: absolute; top: -10px; left: 14px; font-family: var(--f-display); font-size: 96px; line-height: 1; color: var(--rust); font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; opacity: 0.85; }
.pullquote p { font-family: var(--f-display); font-style: italic; font-size: clamp(20px, 1.7vw, 23px); line-height: 1.45; font-weight: 420; color: var(--ink); font-variation-settings: "opsz" 80, "SOFT" 80, "WONK" 1; margin: 0; }

.callout { margin: 2em 0; padding: 22px 26px; border-radius: var(--radius); position: relative; background: var(--paper-up); border: 1px solid var(--line); }
.callout__label { display: inline-block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; margin-bottom: 8px; font-style: italic; }
.callout p { margin: 0 !important; font-size: 15.5px; line-height: 1.55; color: var(--ink); }
.callout--tip { border-left: 3px solid var(--moss); background: linear-gradient(to right, rgba(47,74,42,0.05), var(--paper-up) 40%); }
.callout--tip .callout__label { color: var(--moss-deep); }
.callout--warn { border-left: 3px solid var(--rust); background: linear-gradient(to right, rgba(182,80,40,0.06), var(--paper-up) 40%); }
.callout--warn .callout__label { color: var(--rust-deep); }
.callout--info { border-left: 3px solid var(--honey); background: linear-gradient(to right, rgba(201,148,25,0.07), var(--paper-up) 40%); }
.callout--info .callout__label { color: #876306; }

.compare-wrap { margin: 2em 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-up); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.4; }
.compare-table thead th { font-family: var(--f-display); font-size: 17px; font-weight: 480; text-align: left; padding: 18px 18px 16px; background: var(--ink); color: var(--paper); letter-spacing: -0.01em; border-right: 1px solid rgba(255,255,255,0.1); vertical-align: bottom; }
.compare-table thead th:first-child { font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--honey); font-weight: 500; font-style: italic; }
.compare-table thead th em { font-family: var(--f-display); font-style: italic; font-size: 12.5px; color: var(--honey); font-weight: 400; display: block; margin-top: 2px; letter-spacing: 0; }
.compare-table tbody th { text-align: left; font-weight: 500; padding: 12px 18px; background: var(--paper); color: var(--ink-soft); font-family: var(--f-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; border-bottom: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft); width: 28%; vertical-align: top; }
.compare-table tbody td { padding: 12px 18px; border-bottom: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft); color: var(--ink); vertical-align: top; }
.compare-table tbody td:last-child { border-right: 0; }
.compare-table tbody tr:nth-child(odd) td { background: var(--paper-up); }
.compare-table tbody tr:nth-child(odd) th { background: var(--paper-up); }
.compare-table tbody tr:hover td, .compare-table tbody tr:hover th { background: rgba(47,74,42,0.06); }

.faq { margin-top: 3em; }
.faq-item { border-bottom: 1px solid var(--line); padding: 0; }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 4px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-family: var(--f-display); font-size: 19px; font-weight: 460; letter-spacing: -0.012em; font-variation-settings: "opsz" 60, "SOFT" 50; color: var(--ink); transition: color .2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--moss); }

.faq-item__icon { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.faq-item__icon::before, .faq-item__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .35s cubic-bezier(.2,.8,.2,1), background .2s; }
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-item[open] .faq-item__icon::before, .faq-item[open] .faq-item__icon::after { background: var(--rust); }

.faq-item__body { padding: 0 4px 24px; animation: faq-open .4s cubic-bezier(.2,.8,.2,1); }
.faq-item__body p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.article-footer-meta { margin-top: 4em; padding-top: 32px; border-top: 1px solid var(--line); }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 36px; }
.article-tags__label { font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-mute); margin-right: 8px; font-style: italic; }
.article-tags a { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.04em; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); background: var(--paper-up); transition: border-color .2s, color .2s, background .2s; }
.article-tags a::before { content: "# "; color: var(--rust); }
.article-tags a:hover { border-color: var(--moss); color: var(--moss-deep); background: var(--paper); }

.article-byline-end { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; padding: 22px; background: var(--paper-up); border: 1px solid var(--line); border-radius: var(--radius); }
.article-byline-end .byline__avatar { width: 56px; height: 56px; font-size: 16px; }
.article-byline-end p { font-size: 15px; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.article-byline-end p strong { font-family: var(--f-display); font-size: 17px; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; }

.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 980px) { .related__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .related__grid { grid-template-columns: 1fr; } }

@media (max-width: 1100px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-body { grid-column: 1; grid-row: 1; max-width: none; }
  .article-aside { grid-column: 1; grid-row: 2; margin-top: 30px; position: static; flex-direction: row; flex-wrap: wrap; gap: 18px; }
  .aside-block { flex: 1 1 280px; }
}
@media (max-width: 760px) {
  .article-meta { gap: 14px; }
  .article-meta__sep { display: none; }
  .article-hero-image figcaption, .figure-inline figcaption { grid-template-columns: 1fr; gap: 6px; }
  .figcap__cred { white-space: normal; }
  .pullquote { margin: 2em 0; padding: 28px 22px 28px 50px; }
  .pullquote::before { font-size: 70px; left: 8px; }
  .article-body { font-size: 17px; }
  .lede { font-size: 19px; }
  .lede::first-letter { font-size: 4em; }
  .article-byline-end { grid-template-columns: 1fr; }
  .article-byline-end .byline__avatar { margin-bottom: 6px; }
}

/* -------------------- IMAGE FIT FIX -------------------- */
/* Wymuszamy poprawne proporcje dla obrazów w kontenerach z aspect-ratio.
   Bez object-fit <img> jest rozciągany (domyślnie fill), co deformuje proporcje.
   Dla zwykłych kart aspect-ratio jest na samym <img> + height: auto — przeglądarka
   wylicza wysokość z proporcji 4/3, a object-fit: cover kadruje treść bez deformacji. */
img.cat-card__img,
img.post__img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Featured/lg — aspect-ratio: auto; img wypełnia wysokość flex/grid itemu. */
.cat-card--featured img.cat-card__img,
.post--lg img.post__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Plate'y (hero, featured, hero-article, figure inline) — aspect-ratio jest na
   wrapperze, img musi wypełnić wrapper z kadrowaniem. */
.plate > img,
.article-hero-image__plate > img,
.figure-inline__plate > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Gdy <img> sam ma klasę plate (bez wrappera div) — zachowaj natywne proporcje obrazu,
   anuluj aspect-ratio kontenera (które wymusza 4:3 / 16:9 i deformuje obraz). */
img.figure-inline__plate,
img.article-hero-image__plate {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  display: block;
}

/* -------------------- 30. STRONA KATEGORII -------------------- */
.cat-hero { max-width: var(--maxw); margin: 0 auto 32px; padding: 56px var(--gutter) 36px; border-bottom: 1px solid var(--line); }
.cat-hero__rule { display: flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 28px; }
.cat-hero__rule-line { flex: 1; height: 1px; background: var(--line); }
.cat-hero__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.cat-hero__main { display: flex; flex-direction: column; gap: 14px; }
.cat-hero__eyebrow { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); display: flex; align-items: center; gap: 10px; margin: 0 0 6px; }
.cat-hero__title { font-family: var(--f-display); font-size: clamp(40px, 5.5vw, 72px); font-weight: 420; line-height: 1.02; letter-spacing: -0.025em; font-variation-settings: "opsz" 100, "SOFT" 30; color: var(--ink); margin: 0; }
.cat-hero__latin { font-family: var(--f-display); font-style: italic; font-size: 18px; color: var(--moss); margin: -6px 0 8px; }
.cat-hero__lead { font-size: 17px; line-height: 1.55; color: var(--ink-soft); max-width: 56ch; }
.cat-hero__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.cat-hero__nav-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-right: 4px; }
.cat-hero__chip { display: inline-flex; align-items: center; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-up); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--ink); text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
.cat-hero__chip:hover { background: var(--moss); color: var(--paper); border-color: var(--moss); }
.cat-hero__visual .plate--cat { aspect-ratio: 4 / 3; transform: rotate(-0.6deg); }

.cat-species { padding-top: 12px; padding-bottom: 12px; scroll-margin-top: 80px; }
.cat-species + .cat-species { border-top: 1px dashed var(--line); margin-top: 24px; padding-top: 36px; }

.cat-empty { padding: 80px 0; text-align: center; }
.cat-empty__text { font-size: 17px; color: var(--ink-soft); margin-bottom: 24px; }

.cat-grid--mini { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card--mini .cat-card__img { aspect-ratio: 1 / 1; }
.cat-card--mini .cat-card__body { padding: 14px 16px 16px; gap: 4px; }
.cat-card--mini .cat-card__title { font-size: 18px; }
.cat-card--mini .cat-card__cta { font-size: 10.5px; margin-top: 8px; }

@media (max-width: 1100px) {
  .cat-hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .cat-hero__visual { order: -1; }
  .cat-grid--mini { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .cat-hero { padding: 40px 0 24px; }
  .cat-grid--mini { grid-template-columns: 1fr; }
}
.footer__inactive { color: var(--paper-mute, rgba(242,235,220,0.35)); cursor: default; }

/* -------------------- 31. ARCHIWUM ARTYKUŁÓW -------------------- */
.archive-hero { max-width: var(--maxw); margin: 0 auto 24px; padding: 56px var(--gutter) 28px; border-bottom: 1px solid var(--line); }
.archive-hero__rule { display: flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 24px; }
.archive-hero__rule-line { flex: 1; height: 1px; background: var(--line); }
.archive-hero__main { max-width: 760px; margin-bottom: 32px; }
.archive-hero__eyebrow { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.archive-hero__title { font-family: var(--f-display); font-size: clamp(40px, 5.5vw, 72px); font-weight: 420; line-height: 1.02; letter-spacing: -0.025em; font-variation-settings: "opsz" 100; color: var(--ink); margin: 0 0 16px; }
.archive-hero__lead { font-size: 17px; line-height: 1.55; color: var(--ink-soft); max-width: 56ch; }

.archive-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.archive-filter__chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-up); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--ink); text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
.archive-filter__chip:hover { background: var(--moss); color: var(--paper); border-color: var(--moss); }
.archive-filter__chip--active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.archive-filter__count { font-size: 10px; opacity: 0.7; }

.archive-year { padding-top: 20px; padding-bottom: 20px; }
.archive-year + .archive-year { border-top: 1px dashed var(--line); margin-top: 20px; padding-top: 40px; }
/* -------------------- 32. STRONA GATUNKU -------------------- */
.page-species { background: var(--ink); color: var(--paper); }
.page-species .topbar, .page-species .header, .page-species .footer { background: var(--ink); color: var(--paper); border-color: rgba(242,235,220,0.12); }
.page-species .header a, .page-species .header { color: var(--paper); }
.page-species .nav a:hover { color: var(--honey, #C99419); }

.species-hero { max-width: var(--maxw); margin: 0 auto; padding: 36px var(--gutter) 56px; }
.breadcrumb--species { color: rgba(242,235,220,0.55); margin-bottom: 32px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumb--species a { color: rgba(242,235,220,0.75); text-decoration: none; }
.breadcrumb--species a:hover { color: var(--honey, #C99419); }
.breadcrumb--species .breadcrumb__current { color: var(--paper); }

.species-hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.species-hero__plate { position: relative; border-radius: 6px; overflow: hidden; background: rgba(242,235,220,0.05); aspect-ratio: 4 / 5; box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.species-hero__plate img { width: 100%; height: 100%; object-fit: cover; display: block; }
.species-hero__cap { position: absolute; right: 18px; bottom: 16px; padding: 10px 16px; background: rgba(0,0,0,0.55); border-radius: 4px; display: flex; flex-direction: column; gap: 2px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper); }
.species-hero__cap-name em { font-family: var(--f-display); font-style: italic; font-size: 14px; letter-spacing: 0; text-transform: none; }

.species-hero__main { display: flex; flex-direction: column; gap: 14px; }
.species-hero__eyebrow { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--honey, #C99419); margin: 0; }
.species-hero__title { font-family: var(--f-display); font-size: clamp(56px, 7vw, 96px); font-weight: 380; line-height: 0.98; letter-spacing: -0.02em; font-variation-settings: "opsz" 144; color: var(--paper); margin: 0; }
.species-hero__title em { font-style: italic; color: var(--paper); }
.species-hero__latin { font-family: var(--f-display); font-style: italic; font-size: 18px; color: var(--honey, #C99419); margin: -4px 0 4px; }
.species-hero__tagline { font-family: var(--f-display); font-size: 22px; line-height: 1.35; color: rgba(242,235,220,0.85); margin: 12px 0 4px; max-width: 38ch; }
.species-hero__tagline em { font-style: italic; color: var(--honey, #C99419); }
.species-hero__lead { font-size: 16px; line-height: 1.6; color: rgba(242,235,220,0.78); max-width: 56ch; }

.species-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 18px; border: 1px solid rgba(242,235,220,0.12); border-radius: 6px; overflow: hidden; }
.species-stats__item { padding: 18px 22px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid rgba(242,235,220,0.10); border-bottom: 1px solid rgba(242,235,220,0.10); }
.species-stats__item:nth-child(2n) { border-right: none; }
.species-stats__item:nth-last-child(-n+2):not(:nth-child(odd)) { border-bottom: none; }
.species-stats__item:last-child { border-bottom: none; }
.species-stats__val { font-family: var(--f-display); font-size: clamp(28px, 3vw, 38px); font-weight: 420; line-height: 1; color: var(--paper); margin: 0; letter-spacing: -0.01em; }
.species-stats__unit { font-size: 14px; color: rgba(242,235,220,0.55); margin-left: 4px; letter-spacing: 0.04em; }
.species-stats__lab { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(242,235,220,0.55); margin: 0; }

.species-status { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.species-status__chip { padding: 8px 14px; border: 1px solid rgba(242,235,220,0.18); border-radius: 999px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.10em; color: rgba(242,235,220,0.78); background: rgba(242,235,220,0.04); }
.species-status__chip strong { color: var(--paper); margin-right: 6px; letter-spacing: 0; }
.species-status__chip--iucn strong { color: #7BC47F; }
.species-status__chip--trend { color: var(--honey, #C99419); border-color: rgba(201,148,25,0.35); }

.species-overview { max-width: var(--maxw); margin: 0 auto; padding: 24px var(--gutter) 60px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; border-top: 1px solid rgba(242,235,220,0.12); }
.species-tldr__head, .species-taxonomy__head { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--honey, #C99419); margin: 0 0 22px; }
.species-tldr__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.species-tldr__list li { padding-left: 24px; position: relative; color: rgba(242,235,220,0.85); font-size: 15.5px; line-height: 1.5; }
.species-tldr__list li::before { content: '→'; position: absolute; left: 0; top: 0; color: var(--honey, #C99419); font-weight: 600; }
.species-taxonomy__table { width: 100%; border-collapse: collapse; }
.species-taxonomy__table th, .species-taxonomy__table td { padding: 10px 0; border-bottom: 1px solid rgba(242,235,220,0.10); text-align: left; font-size: 13.5px; }
.species-taxonomy__table th { font-family: var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; font-size: 10.5px; color: rgba(242,235,220,0.55); width: 120px; font-weight: 500; }
.species-taxonomy__table td { color: var(--paper); }
.species-taxonomy__table td em { color: var(--honey, #C99419); font-style: italic; }

.species-intro { max-width: 860px; margin: 0 auto; padding: 60px var(--gutter); }
.species-intro__lede { font-family: var(--f-display); font-size: clamp(20px, 2vw, 26px); line-height: 1.45; color: rgba(242,235,220,0.92); margin: 0; }
.species-intro__lede em { color: var(--honey, #C99419); font-style: italic; }
.species-intro__lede strong { color: var(--paper); font-weight: 600; }

.species-toc { max-width: var(--maxw); margin: 0 auto; padding: 24px var(--gutter); border-top: 1px solid rgba(242,235,220,0.12); border-bottom: 1px solid rgba(242,235,220,0.12); }
.species-toc__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 32px; }
.species-toc__list a { display: flex; align-items: baseline; gap: 12px; color: rgba(242,235,220,0.78); text-decoration: none; font-size: 14.5px; transition: color .2s; }
.species-toc__list a:hover { color: var(--honey, #C99419); }
.species-toc__num { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; color: rgba(242,235,220,0.4); flex-shrink: 0; }

.species-section { max-width: 880px; margin: 0 auto; padding: 70px var(--gutter); border-bottom: 1px solid rgba(242,235,220,0.10); scroll-margin-top: 80px; }
.species-section__head { margin-bottom: 36px; }
.species-section__num { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--honey, #C99419); display: block; margin-bottom: 12px; }
.species-section__title { font-family: var(--f-display); font-size: clamp(32px, 3.5vw, 48px); font-weight: 420; line-height: 1.05; letter-spacing: -0.02em; color: var(--paper); margin: 0; }
.species-section__intro { font-size: 18px; line-height: 1.5; color: rgba(242,235,220,0.78); margin-top: 14px; max-width: 56ch; font-style: italic; }
.species-section__body { color: rgba(242,235,220,0.88); }
.species-section__body p { font-size: 16.5px; line-height: 1.7; margin: 0 0 18px; }
.species-section__body strong { color: var(--paper); font-weight: 600; }
.species-section__body em { color: var(--honey, #C99419); font-style: italic; }
/* Lede ma globalnie kolor var(--ink) — na ciemnym tle .page-species byłby niewidoczny */
.page-species .species-section__body .lede { color: rgba(242,235,220,0.92); font-size: 18px; line-height: 1.65; }
.page-species .species-section__body .lede::first-letter { color: var(--honey, #C99419); }
.species-section__body a { color: var(--honey, #C99419); border-bottom: 1px solid rgba(201,148,25,0.4); text-decoration: none; }
.species-section__body a:hover { border-bottom-color: var(--honey, #C99419); }
.species-section__body .callout strong, .species-section__body .callout em,
.species-section__body .callout p { color: rgba(242,235,220,0.88); }
.species-section__body .callout strong { color: var(--paper); }
.species-section__body .callout em { color: var(--honey, #C99419); }
.species-section__body .pullquote em, .species-section__body .pullquote strong { color: var(--honey, #C99419); }
.species-section__body .article-list li strong { color: var(--paper); }
.species-section__body .article-list li em { color: var(--honey, #C99419); }
.species-section__body figcaption strong, .species-section__body figcaption em { color: var(--paper); }
.species-myths__myth em, .species-myths__myth strong { color: rgba(242,235,220,0.85); }
.species-myths__fact em { color: var(--honey, #C99419); }
.species-myths__fact strong { color: var(--paper); }
.species-myths__fact a { color: var(--honey, #C99419); border-bottom: 1px solid rgba(201,148,25,0.4); text-decoration: none; }
.species-section__body .article-list { padding-left: 22px; margin: 0 0 18px; }
.species-section__body .article-list li { font-size: 16px; line-height: 1.65; margin-bottom: 8px; color: rgba(242,235,220,0.88); }
.species-section__body .callout { border: 1px solid rgba(242,235,220,0.18); border-radius: 6px; padding: 22px 26px; margin: 24px 0; background: rgba(242,235,220,0.04); }
.species-section__body .callout__label { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--honey, #C99419); display: block; margin-bottom: 8px; }
.species-section__body .callout p { margin: 0; }
.species-section__body .callout--warn { border-color: rgba(255,140,90,0.4); }
.species-section__body .callout--warn .callout__label { color: #FF8C5A; }
.species-section__body .pullquote { border-left: 3px solid var(--honey, #C99419); padding: 18px 24px; margin: 30px 0; background: rgba(242,235,220,0.04); border-radius: 0 4px 4px 0; }
.species-section__body .pullquote p { font-family: var(--f-display); font-size: clamp(20px, 2vw, 26px); font-style: italic; line-height: 1.4; color: var(--paper); margin: 0; }
.species-section__body .figure-inline { margin: 30px 0; }
.species-section__body figure img { border-radius: 6px; }
.species-section__body figcaption { margin-top: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; color: rgba(242,235,220,0.85); display: flex; gap: 12px; flex-wrap: wrap; }
.species-section__body .figcap__no { color: var(--honey, #C99419); }
.species-section__body .figcap__text { color: rgba(242,235,220,0.92); font-size: 13.5px; }
.species-section__body .figcap__text em { color: var(--honey, #C99419); }
.species-section__body .figcap__cred { color: rgba(242,235,220,0.6); }
.species-section__body .figure-inline figcaption { border-bottom-color: rgba(242,235,220,0.15); }
.species-section__body .compare-wrap { overflow-x: auto; margin: 24px 0; background: rgba(242,235,220,0.04); border: 1px solid rgba(242,235,220,0.12); border-radius: 6px; }
.species-section__body .compare-table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: transparent; }
/* Zabij globalne zebra striping (background na td/th) i jasne tło tbody th */
.species-section__body .compare-table thead th,
.species-section__body .compare-table tbody th,
.species-section__body .compare-table tbody td,
.species-section__body .compare-table tbody tr:nth-child(odd) td,
.species-section__body .compare-table tbody tr:nth-child(odd) th,
.species-section__body .compare-table tbody tr:nth-child(even) td,
.species-section__body .compare-table tbody tr:nth-child(even) th,
.species-section__body .compare-table tbody tr:hover td,
.species-section__body .compare-table tbody tr:hover th { background: transparent !important; }
.species-section__body .compare-table th,
.species-section__body .compare-table td { padding: 12px 16px; border-bottom: 1px solid rgba(242,235,220,0.10); border-right: none !important; text-align: left; vertical-align: top; color: rgba(242,235,220,0.88); }
.species-section__body .compare-table thead th { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--honey, #C99419) !important; font-weight: 500; }
.species-section__body .compare-table tbody th { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--paper) !important; font-weight: 500; }
.species-section__body .compare-table tbody tr:last-child th,
.species-section__body .compare-table tbody tr:last-child td { border-bottom: none; }

.species-myths { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 24px; }
.species-myths__item { border: 1px solid rgba(242,235,220,0.12); border-radius: 6px; padding: 22px 26px; background: rgba(242,235,220,0.03); }
.species-myths__myth, .species-myths__fact { margin: 0; font-size: 15.5px; line-height: 1.6; color: rgba(242,235,220,0.88); }
.species-myths__myth { padding-bottom: 14px; border-bottom: 1px dashed rgba(242,235,220,0.12); margin-bottom: 14px; color: rgba(242,235,220,0.7); }
.species-myths__lab { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.16em; padding: 3px 8px; border-radius: 3px; background: rgba(255,140,90,0.18); color: #FF8C5A; margin-right: 10px; }
.species-myths__lab--fact { background: rgba(123,196,127,0.18); color: #7BC47F; }

.species-quote { max-width: 780px; margin: 0 auto; padding: 48px var(--gutter); }
.species-quote blockquote { border-left: 3px solid var(--honey, #C99419); padding: 16px 0 16px 32px; margin: 0; position: relative; }
.species-quote__mark { position: absolute; top: -18px; left: 18px; font-family: var(--f-display); font-size: 60px; color: var(--honey, #C99419); line-height: 1; }
.species-quote blockquote p { font-family: var(--f-display); font-style: italic; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.35; color: var(--paper); margin: 0 0 14px; }
.species-quote cite { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(242,235,220,0.55); font-style: normal; }

.species-gallery { max-width: var(--maxw); margin: 0 auto; padding: 80px var(--gutter); border-top: 1px solid rgba(242,235,220,0.12); }
.species-gallery__head { margin-bottom: 40px; max-width: 760px; }
.species-gallery__num { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--honey, #C99419); }
.species-gallery__title { font-family: var(--f-display); font-size: clamp(36px, 4vw, 56px); font-weight: 420; line-height: 1.05; letter-spacing: -0.02em; color: var(--paper); margin: 14px 0 16px; }
.species-gallery__lead { font-size: 16px; line-height: 1.55; color: rgba(242,235,220,0.78); margin: 0; }
.species-gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.species-gallery__item { margin: 0; position: relative; aspect-ratio: 1 / 1; border-radius: 4px; overflow: hidden; background: rgba(242,235,220,0.05); cursor: zoom-in; transition: transform .4s; }
.species-gallery__item:hover { transform: translateY(-2px); }
.species-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.species-gallery__item:hover img { transform: scale(1.04); }
.species-gallery__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; background: linear-gradient(0deg, rgba(0,0,0,0.7), transparent); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--paper); display: flex; gap: 10px; align-items: center; }
.species-gallery__no { color: var(--honey, #C99419); }

.species-related-posts, .species-related-species { background: var(--ink); }
.species-related-posts .section-head, .species-related-species .section-head { color: var(--paper); }
.species-related-posts .section-num, .species-related-species .section-num,
.species-related-posts .section-tag, .species-related-species .section-tag { color: var(--honey, #C99419); }
.species-related-posts .section-title, .species-related-species .section-title { color: var(--paper); }
.species-related-posts .section-lead, .species-related-species .section-lead { color: rgba(242,235,220,0.78); }
.species-related-posts .post, .species-related-species .post { background: rgba(242,235,220,0.04); border-color: rgba(242,235,220,0.12); }
.species-related-posts .post:hover { background: rgba(242,235,220,0.06); }
.species-related-posts .post__title { color: var(--paper); }
.species-related-posts .post__cat, .species-related-posts .post__readtime, .species-related-posts .post__date { color: rgba(242,235,220,0.55); }

.species-related__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.species-mini { background: rgba(242,235,220,0.04); border: 1px solid rgba(242,235,220,0.12); border-radius: 6px; overflow: hidden; text-decoration: none; color: var(--paper); display: flex; flex-direction: column; transition: transform .3s, background .3s; }
.species-mini:hover { transform: translateY(-3px); background: rgba(242,235,220,0.08); }
.species-mini img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; border-bottom: 1px solid rgba(242,235,220,0.10); }
.species-mini__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.species-mini__cat { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(242,235,220,0.5); }
.species-mini__title { font-family: var(--f-display); font-size: 19px; font-weight: 460; line-height: 1.15; color: var(--paper); margin: 4px 0 2px; }
.species-mini__latin { font-family: var(--f-display); font-style: italic; font-size: 13px; color: var(--honey, #C99419); margin: 0; }

.species-credits { max-width: 880px; margin: 0 auto; padding: 60px var(--gutter); border-top: 1px solid rgba(242,235,220,0.12); color: rgba(242,235,220,0.6); }
.species-credits__head { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--honey, #C99419); margin: 0 0 16px; }
.species-credits__sources { font-size: 13.5px; line-height: 1.65; margin: 0 0 12px; }
.species-credits__date { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; color: rgba(242,235,220,0.45); margin: 0; }

@media (max-width: 1100px) {
  .species-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .species-overview { grid-template-columns: 1fr; gap: 36px; padding: 24px var(--gutter) 40px; }
  .species-toc__list { grid-template-columns: repeat(2, 1fr); }
  .species-gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .species-related__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .species-stats { grid-template-columns: 1fr; }
  .species-stats__item { border-right: none !important; }
  .species-toc__list { grid-template-columns: 1fr; }
  .species-gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .species-related__grid { grid-template-columns: 1fr; }
}
/* -------------------- 33. LIGHTBOX -------------------- */
.lightbox { position: fixed; inset: 0; background: rgba(10,12,8,0.92); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox--open { display: flex; }
.lightbox__stage { margin: 0; max-width: 90vw; max-height: 90vh; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.lightbox__img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); cursor: default; }
.lightbox__cap { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; color: rgba(242,235,220,0.9); text-align: center; max-width: 80vw; }
.lightbox__close { position: absolute; top: 24px; right: 24px; width: 48px; height: 48px; border: 1px solid rgba(242,235,220,0.3); background: rgba(0,0,0,0.5); color: var(--paper, #F2EBDC); font-size: 28px; line-height: 1; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.lightbox__close:hover { background: rgba(242,235,220,0.15); border-color: var(--paper, #F2EBDC); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border: 1px solid rgba(242,235,220,0.3); background: rgba(0,0,0,0.5); color: var(--paper, #F2EBDC); font-size: 22px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.lightbox__nav:hover { background: rgba(242,235,220,0.15); border-color: var(--paper, #F2EBDC); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; color: rgba(242,235,220,0.7); padding: 6px 14px; background: rgba(0,0,0,0.5); border-radius: 999px; border: 1px solid rgba(242,235,220,0.2); }
@media (max-width: 700px) {
  .lightbox { padding: 20px; }
  .lightbox__close, .lightbox__nav { width: 40px; height: 40px; font-size: 18px; }
  .lightbox__close { top: 12px; right: 12px; }
  .lightbox__nav--prev { left: 12px; }
  .lightbox__nav--next { right: 12px; }
}
/* -------------------- 32. ATLAS — landing przeglądu gatunków -------------------- */
.atlas-hero { max-width: var(--maxw); margin: 0 auto 24px; padding: 56px var(--gutter) 28px; border-bottom: 1px solid var(--line); }
.atlas-hero__rule { display: flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 24px; }
.atlas-hero__rule-line { flex: 1; height: 1px; background: var(--line); }
.atlas-hero__main { max-width: 820px; }
.atlas-hero__eyebrow { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.atlas-hero__title { font-family: var(--f-display); font-size: clamp(44px, 6.2vw, 84px); font-weight: 420; line-height: 1.02; letter-spacing: -0.025em; font-variation-settings: "opsz" 100; color: var(--ink); margin: 0 0 18px; }
.atlas-hero__title em { font-style: italic; color: var(--rust); }
.atlas-hero__lead { font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: 64ch; margin: 0 0 28px; }
.atlas-hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 24px 0 0; border-top: 1px solid var(--line); max-width: 560px; }
.atlas-hero__stats div { display: flex; flex-direction: column; gap: 4px; }
.atlas-hero__stats dt { font-family: var(--f-display); font-size: 32px; font-weight: 460; color: var(--ink); line-height: 1; }
.atlas-hero__stats dd { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin: 0; }

.atlas-families { padding-top: 30px; }

/* Sekcja gatunków pogrupowanych po rodzinie */
.atlas-species { max-width: var(--maxw); margin: 0 auto; padding: 60px var(--gutter) 100px; }
.atlas-fam { margin-top: 56px; }
.atlas-fam:first-of-type { margin-top: 36px; }
.atlas-fam__head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-bottom: 18px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.atlas-fam__latin { font-family: var(--f-display); font-size: 13px; font-style: italic; color: var(--moss); display: block; margin-bottom: 4px; }
.atlas-fam__title { font-family: var(--f-display); font-size: 28px; font-weight: 460; letter-spacing: -0.018em; margin: 0; color: var(--ink); }
.link-arrow--sm { font-size: 11.5px; }

/* Karta gatunku — większa od species-mini, z obrazkiem aspect 4:3, leadem, badge IUCN */
.species-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.species-card { position: relative; display: flex; flex-direction: column; background: var(--paper-up); border: 1px solid var(--line); border-radius: var(--radius-l, 12px); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .25s; }
a.species-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2, 0 12px 30px rgba(26,31,20,0.10)); border-color: var(--moss); }
.species-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--paper); }
.species-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
a.species-card:hover .species-card__media img { transform: scale(1.05); }
.species-card__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(110,127,79,0.12), rgba(201,148,25,0.08)); color: var(--moss); font-family: var(--f-display); font-size: 64px; font-weight: 460; }
.species-card__iucn { position: absolute; top: 12px; left: 12px; background: var(--moss); color: var(--paper); font-family: var(--f-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em; padding: 5px 10px; border-radius: 999px; }
.species-card__tag { position: absolute; bottom: 12px; left: 12px; background: rgba(26,31,20,0.85); color: var(--paper); font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; }
.species-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.species-card__title { font-family: var(--f-display); font-size: 22px; font-weight: 460; line-height: 1.15; letter-spacing: -0.012em; color: var(--ink); margin: 0; }
.species-card__latin { font-family: var(--f-display); font-size: 13.5px; font-style: italic; color: var(--moss); margin: 0; }
.species-card__lead { font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); margin: 8px 0 0; flex: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.species-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.species-card__meta { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }
.species-card__cta { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--moss); transition: gap .3s; }
.species-card__cta svg { width: 12px; height: 12px; stroke: currentColor; stroke-width: 1.6; fill: none; }
a.species-card:hover .species-card__cta { gap: 10px; color: var(--rust); }
.species-card__cta--mute { color: var(--ink-mute); }

/* Stany draft i planned — wyszarzone, nieklikalne */
.species-card--draft, .species-card--planned { opacity: 0.65; cursor: default; }
.species-card--draft .species-card__media, .species-card--planned .species-card__media { filter: saturate(0.4); }
.species-card--draft .species-card__title, .species-card--planned .species-card__title { color: var(--ink-soft); }
.species-card--planned .species-card__placeholder { background: linear-gradient(135deg, rgba(26,31,20,0.04), rgba(26,31,20,0.08)); color: var(--ink-mute); }

@media (max-width: 1100px) {
  .species-card-grid { grid-template-columns: repeat(2, 1fr); }
  .atlas-hero__stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .atlas-hero { padding: 40px 0 24px; }
  .species-card-grid { grid-template-columns: 1fr; }
  .atlas-fam__head { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* -------------------- 33. Language switcher -------------------- */
/* === LANG SWITCHER === */
.lang-switch { position: relative; display: inline-block; }
.lang-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: var(--paper-up); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--ink); }
.lang-pill:hover { border-color: var(--moss); }
.page-species .lang-pill { background: rgba(242,235,220,0.08); border-color: rgba(242,235,220,0.25); color: var(--paper); }
.page-species .lang-pill:hover { background: rgba(242,235,220,0.14); border-color: var(--paper); }

/* Menu — zawsze jasne tlo, ciemny tekst (niezaleznie od motywu strony) */
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 220px; max-height: 420px; overflow: auto; padding: 6px; margin: 0; list-style: none; background: var(--paper-up); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 16px 40px rgba(26,31,20,0.18); z-index: 100; }
.lang-menu[hidden] { display: none; }

/* Wysoka specyficznosc by pokonac .page-species .header a (0,2,1) */
.lang-switch .lang-menu__item,
.page-species .lang-menu .lang-menu__item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 6px; text-decoration: none; color: var(--ink); font-size: 13.5px; line-height: 1.2; transition: background .15s, color .15s; }
.lang-switch .lang-menu__item:hover,
.page-species .lang-menu .lang-menu__item:hover { background: rgba(47,74,42,0.10); color: var(--ink); text-decoration: none; }

.lang-menu__flag { font-size: 16px; line-height: 1; flex-shrink: 0; }
.lang-menu__name { flex: 1; font-family: var(--f-sans); font-weight: 400; }
.lang-switch .lang-menu__code,
.page-species .lang-menu .lang-menu__code { font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-mute); letter-spacing: 0.10em; }

/* Stan: aktualny jezyk */
.lang-switch .lang-menu__item.is-current,
.page-species .lang-menu .lang-menu__item.is-current { background: rgba(110,127,79,0.18); color: var(--ink); font-weight: 600; cursor: default; }
.lang-switch .lang-menu__item.is-current:hover,
.page-species .lang-menu .lang-menu__item.is-current:hover { background: rgba(110,127,79,0.18); }
.lang-switch .lang-menu__item.is-current .lang-menu__code,
.page-species .lang-menu .lang-menu__item.is-current .lang-menu__code { color: var(--moss); font-weight: 600; }
.lang-menu__item.is-current::after { content: "✓"; color: var(--moss); margin-left: 6px; font-weight: 600; }

/* Stan: nieaktywny (brak tlumaczenia) */
.lang-switch .lang-menu__item.is-inactive,
.page-species .lang-menu .lang-menu__item.is-inactive { color: var(--ink-mute); cursor: not-allowed; opacity: 0.55; }
.lang-switch .lang-menu__item.is-inactive:hover,
.page-species .lang-menu .lang-menu__item.is-inactive:hover { background: transparent; color: var(--ink-mute); }
.lang-menu__item.is-inactive .lang-menu__name::after { content: " (wkrótce)"; font-size: 10.5px; color: var(--ink-mute); font-style: italic; opacity: 0.85; }
