/* Fallbacki z dopasowanymi metrykami: ograniczają przesunięcie układu (CLS) przy podmianie fontów.
   Wartości zmierzone dla polskiego tekstu: DM Sans ≈ 91,83% Arial, DM Serif Display ≈ 100,13% Georgia. */
@font-face {
  font-family: "DM Sans Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 91.83%;
  ascent-override: 108%;
  descent-override: 33.8%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "DM Serif Fallback";
  src: local("Georgia");
  size-adjust: 100.13%;
  ascent-override: 103.5%;
  descent-override: 33.5%;
  line-gap-override: 0%;
}

:root {
  --bg: #FAF7F2;
  --sand: #EFE8DB;
  --sage: #2F4A42;
  --sage-soft: #6F8F82;
  --mint: #CFE3DA;
  --accent: #C9744F;
  --ink: #23302C;
  /* kolor akapitów: ciemna, stonowana zieleń (kontrast ok. 7,5:1 na tle #FAF7F2) */
  --muted: #35524A;
  --eyebrow: #557366;
  --radius: 22px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --serif: "DM Serif Display", "DM Serif Fallback", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "DM Sans Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* płynna skala typograficzna (min / preferowana / max) */
  --fs-h1: clamp(2.25rem, 1.4rem + 2.6vw, 4rem);      /* 36 -> 64 px */
  --fs-h2: clamp(1.75rem, 1.1rem + 1.7vw, 2.875rem);  /* 28 -> 46 px */
  --fs-h3: clamp(1.5rem, 1.3rem + .6vw, 1.75rem);     /* 24 -> 28 px */
  --fs-body: clamp(1rem, .95rem + .2vw, 1.125rem);    /* 16 -> 18 px */
  --fs-label: .8125rem;                               /* 13 px */
  --fs-menu: 17px;
  --fs-btn: clamp(.9375rem, .9rem + .15vw, 1rem);     /* 15 -> 16 px */
  --lh: 1.65;
  --measure: 56ch; /* ok. 65 znaków w DM Sans */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
[hidden] { display: none !important; }
body {
  margin: 0; font-family: var(--sans); font-size: var(--fs-body); line-height: var(--lh); font-weight: 400;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}

/* nagłówki: H1/H2 – DM Serif Display, H3 – DM Sans (nagłówek pomocniczy) */
h1, h2 { font-family: var(--serif); font-weight: 400; font-synthesis: none; margin: 0; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; overflow-wrap: break-word; }
h1 { line-height: 1.1; }
h3, h4 { font-family: var(--sans); font-weight: 600; margin: 0; line-height: 1.3; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h2 em, .brand em, .about-closing em { font-style: italic; color: var(--accent); }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1120px, 92vw); margin: 0 auto; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 10px; background: var(--sage); color: var(--bg); padding: 10px 16px; border-radius: 10px; z-index: 200; font-size: var(--fs-menu); }
.skip:focus { left: 10px; }

/* ---------- progress + cursor ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--sage-soft), var(--accent)); z-index: 100;
}
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 460px; height: 460px; margin: -230px 0 0 -230px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,116,79,.14), transparent 65%);
  pointer-events: none; z-index: 1; opacity: 0; transition: opacity .6s; mix-blend-mode: multiply;
}
.cursor-glow.on { opacity: 1; }

/* ---------- nav ---------- */
.nav {
  --nav-h: clamp(72px, 5.6vw, 84px);
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(1400px, 94vw); height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 2vw, 32px); border-radius: 999px;
  background: rgba(250,247,242,.78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(47,74,66,.08); z-index: 90;
  box-shadow: 0 8px 30px -18px rgba(47,74,66,.18);
  transition: height .4s var(--ease), background .4s, box-shadow .4s, top .4s;
}
/* po przewinięciu: lekko niższy (do ~12%), mocniejszy cień, mniej przezroczysty */
.nav.scrolled { height: calc(var(--nav-h) * 0.88); background: rgba(250,247,242,.96); box-shadow: 0 14px 40px -18px rgba(47,74,66,.4); top: 10px; }
.brand { font-family: var(--serif); font-size: clamp(23px, 1.9vw, 28px); line-height: 1.1; letter-spacing: -.01em; font-weight: 400; color: var(--sage); white-space: nowrap; }
.brand em { font-style: italic; color: var(--accent); }
.nav-links { display: flex; gap: clamp(20px, 2.5vw, 34px); align-items: center; font-family: var(--sans); font-size: clamp(15px, 1.15vw, 17px); font-weight: 500; line-height: 1.3; }
.nav-links li { list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; color: var(--sage); text-decoration: none; }
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
/* podkreślenie tylko na urządzeniach z myszą (nie na dotyku) + aktywna strona */
@media (hover: hover) and (pointer: fine) {
  .nav-links a:not(.nav-cta):hover::after, .nav-links a[aria-current="page"]:not(.nav-cta)::after { transform: scaleX(1); transform-origin: left; }
}
.nav-links a[aria-current="page"]:not(.nav-cta) { color: var(--accent); font-weight: 600; }
/* „Kontakt" jako przycisk — wysoki kontrast */
.nav-links li.nav-cta a, .nav-links a.nav-cta { background: var(--accent); color: #fff !important; padding: 12px 26px; border-radius: 999px; font-size: 16px; font-weight: 600; box-shadow: 0 8px 22px -10px rgba(201,116,79,.8); transition: background .3s, transform .3s var(--ease), box-shadow .3s; }
.nav-links li.nav-cta a:hover, .nav-links a.nav-cta:hover { background: #B2603B; transform: translateY(-1px); }
.nav-links li.nav-cta a::after, .nav-links a.nav-cta::after { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--sage); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  padding: 16px 30px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--sans); font-size: var(--fs-btn); font-weight: 600; line-height: 1.25; letter-spacing: .005em; cursor: pointer;
  transition: transform .4s var(--ease), background .3s, color .3s, box-shadow .4s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--sage); color: var(--bg); box-shadow: 0 12px 30px -12px rgba(47,74,66,.7); }
.btn-primary:hover { background: var(--accent); box-shadow: 0 16px 34px -12px rgba(201,116,79,.8); }
.btn-ghost { border-color: rgba(47,74,66,.35); color: var(--sage); background: transparent; }
.btn-ghost:hover { border-color: var(--sage); background: rgba(47,74,66,.05); }
.btn-light { background: var(--bg); color: var(--sage); }
.btn-light:hover { background: #fff; }
.row-link { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; font-family: var(--sans); font-weight: 600; font-size: var(--fs-btn); line-height: 1.3; color: #B2603B; }
.row-link i { font-style: normal; transition: transform .4s var(--ease); }
a:hover > .row-link i, a:hover .row-link i { transform: translateX(6px); }

/* ---------- backgrounds ---------- */
.aurora { position: absolute; inset: 0; z-index: -2; filter: blur(70px) saturate(120%); }
.blob { position: absolute; border-radius: 50%; opacity: .75; will-change: transform; }
.b1 { width: 55vw; height: 55vw; left: -12vw; top: -18vw; background: var(--mint); animation: drift1 26s ease-in-out infinite alternate; }
.b2 { width: 42vw; height: 42vw; right: -8vw; top: 8vh; background: #F1D2BF; animation: drift2 32s ease-in-out infinite alternate; }
.b3 { width: 36vw; height: 36vw; left: 28vw; bottom: -16vw; background: #DCE6D3; animation: drift3 38s ease-in-out infinite alternate; }
.aurora.small .b1 { width: 40vw; height: 40vw; top: -20vw; }
.aurora.small .b2 { width: 30vw; height: 30vw; top: -6vw; }
.aurora.small .b3 { width: 26vw; height: 26vw; bottom: -14vw; }
@keyframes drift1 { to { transform: translate(14vw, 10vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-12vw, 14vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(-10vw, -12vh) scale(1.2); } }
.grain {
  position: absolute; inset: 0; z-index: -1; opacity: .35; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .18  0 0 0 0 .29  0 0 0 0 .26  0 0 0 .22 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- typography bits ---------- */
.eyebrow { display: inline-block; font-family: var(--sans); font-size: 13px; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; color: var(--eyebrow); font-weight: 600; margin-bottom: 20px; }
a.crumb { transition: color .3s; }
a.crumb:hover { color: var(--accent); }
.section-title { font-size: var(--fs-h2); color: var(--sage); margin-bottom: 20px; }
.lead { font-size: var(--fs-body); line-height: var(--lh); color: var(--muted); max-width: var(--measure); }

/* split-word title animation */
[data-split] .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .16em; margin-bottom: -.16em; }
[data-split] .word > span { display: inline-block; transform: translateY(110%); opacity: 0; animation: rise 1.1s var(--ease) forwards; animation-delay: calc(.15s + var(--i) * .08s); }
.hero-title .word:nth-child(2) > span { font-style: italic; color: var(--accent); }
@keyframes rise { to { transform: none; opacity: 1; } }

/* ---------- home hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 48px);
  padding: 130px max(4vw, calc((100vw - 1120px) / 2)) 110px; overflow: hidden; isolation: isolate;
}
/* miękkie przejście dolnej krawędzi pierwszego ekranu w sekcję lasu */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1; background: linear-gradient(180deg, rgba(250,247,242,0), var(--bg)); pointer-events: none; }
.hero-title { font-size: var(--fs-h1); color: var(--sage); font-weight: 400; }
.hero-lead { margin-top: 26px; max-width: var(--measure); font-size: var(--fs-body); line-height: var(--lh); color: var(--muted); }
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.portrait { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 580px; justify-self: end; width: 100%; }
.portrait-blob {
  width: 90%; aspect-ratio: 1; overflow: hidden; background: var(--mint);
  box-shadow: 0 40px 80px -30px rgba(47,74,66,.45), 0 0 0 6px rgba(255,255,255,.55);
  border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; animation: morph 14s ease-in-out infinite alternate;
}
.portrait-blob img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.portrait-ring { position: absolute; inset: 1%; border: 1px solid rgba(201,116,79,.55); border-radius: 45% 55% 42% 58% / 55% 45% 55% 45%; animation: morph 18s ease-in-out infinite alternate-reverse; }
@keyframes morph {
  0% { border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; }
  50% { border-radius: 44% 56% 40% 60% / 58% 42% 58% 42%; }
  100% { border-radius: 52% 48% 62% 38% / 42% 60% 40% 58%; }
}
.scroll-hint { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 44px; margin-left: -13px; border: 1px solid rgba(47,74,66,.35); border-radius: 20px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--sage); animation: wheel 2.2s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- page hero (podstrony) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: 160px 0 80px; }
.page-hero-in { display: grid; gap: 48px; }
.page-hero-in.has-media { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; }
.page-title { font-size: var(--fs-h1); color: var(--sage); font-weight: 400; max-width: 20ch; }
.has-media .page-title { max-width: none; }
.page-hero .hero-lead { max-width: var(--measure); }
.page-hero .hero-lead + .hero-lead { margin-top: 16px; }
.hero-book { display: block; justify-self: center; max-width: 460px; transition: transform .6s var(--ease); }
.hero-book img { border-radius: 26px; box-shadow: 0 40px 80px -36px rgba(47,74,66,.55); }
.hero-book span { display: block; text-align: center; margin-top: 14px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.hero-book:hover { transform: translateY(-6px) rotate(-.6deg); }

/* ---------- sections ---------- */
.section { padding: clamp(70px, 10vw, 130px) 0; position: relative; z-index: 2; }
.section-sand { background: var(--sand); }
.section-head { margin-bottom: 48px; }
.center { text-align: center; position: relative; }
.center .lead { margin: 18px auto 34px; }
.cta { background: var(--sage); color: var(--bg); overflow: hidden; }
.cta::before { content: ""; position: absolute; width: 60vw; height: 60vw; right: -20vw; top: -30vw; border-radius: 50%; background: radial-gradient(circle, rgba(207,227,218,.22), transparent 65%); }
.cta .eyebrow { color: var(--mint); }
.cta .section-title { color: var(--bg); max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta .lead { color: rgba(250,247,242,.9); }
.cta-note { margin-top: 18px; font-size: 14px; line-height: 1.5; color: rgba(250,247,242,.75); }
.cta-light { background: var(--mint); color: var(--sage); }
.cta-light::before { background: radial-gradient(circle, rgba(255,255,255,.5), transparent 65%); }
.cta-light .section-title { color: var(--sage); margin-bottom: 30px; }
.cta-light .cta-note { color: var(--muted); }
.cta-light .lead { margin-bottom: 0; }

.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.sticky { position: sticky; top: 110px; }
.split-head .lead { max-width: 40ch; }

/* about */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 9px 18px; border-radius: 999px; background: var(--mint); color: var(--sage); font-size: 15px; line-height: 1.4; font-weight: 600; }
.chips li:nth-child(even) { background: #F1D2BF; }
.about-text p { margin-bottom: 20px; color: var(--muted); font-size: var(--fs-body); line-height: var(--lh); max-width: var(--measure); }
.about-text .about-first { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; color: var(--sage); letter-spacing: -.005em; }
.about-text .about-closing { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); line-height: 1.25; color: var(--sage); margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(47,74,66,.2); }

/* paths */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.path-card {
  position: relative; padding: 36px 32px 38px; min-height: 320px; background: #fff; border-radius: var(--radius);
  border: 1px solid rgba(47,74,66,.08); display: flex; flex-direction: column; overflow: hidden;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.path-card::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .5s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(207,227,218,.7), transparent 60%); }
.path-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(47,74,66,.4); }
.path-card:hover::before { opacity: 1; }
.path-card > * { position: relative; }
.path-num { font-family: var(--serif); font-style: italic; font-size: 18px; color: #B2603B; margin-bottom: auto; }
.path-card h3 { color: var(--sage); margin: 44px 0 10px; }
.path-card p { color: var(--muted); font-size: var(--fs-body); line-height: var(--lh); }
.path-card .row-link { margin-top: auto; padding-top: 20px; }
.path-arrow { position: absolute !important; top: 30px; right: 32px; font-size: 22px; color: var(--sage); transition: transform .5s var(--ease); }
.path-card:hover .path-arrow { transform: translateX(6px) rotate(-45deg); }

/* home list */
.list { list-style: none; margin: 0; padding: 0; }
.list li { border-top: 1px solid rgba(47,74,66,.2); }
.list li:last-child { border-bottom: 1px solid rgba(47,74,66,.2); }
.list-item { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 30px 0; transition: padding .5s var(--ease); }
.list-item:hover { padding-left: 16px; }
.list-item h3 { color: var(--sage); margin-bottom: 8px; }
.list-item p { color: var(--muted); max-width: 44ch; font-size: var(--fs-body); line-height: var(--lh); }
.list-item .row-link { margin: 0; white-space: nowrap; }

/* tiles */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile {
  display: flex; flex-direction: column; padding: 30px 26px 30px; border-radius: var(--radius); background: #fff;
  border: 1px solid rgba(47,74,66,.1); min-height: 280px;
  transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease);
}
.tile:hover { transform: translateY(-6px); border-color: var(--sage-soft); box-shadow: 0 26px 50px -28px rgba(47,74,66,.45); }
.tile h3 { color: var(--sage); margin-bottom: 12px; }
.tile p { color: var(--muted); font-size: 16px; line-height: var(--lh); }
.tile .row-link { margin-top: auto; padding-top: 18px; }

/* ebook banner */
.ebook-banner { background: var(--bg); }
.ebook-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.ebook-img img { border-radius: 28px; box-shadow: 0 40px 80px -40px rgba(47,74,66,.55); transition: transform .8s var(--ease); }
.ebook-img:hover img { transform: scale(1.02) rotate(-.6deg); }

/* ---------- cards (podstrony) ---------- */
.cards { display: grid; gap: 20px; }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; padding: 32px 28px 34px; background: #fff; border-radius: var(--radius); border: 1px solid rgba(47,74,66,.08); transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s; }
.section-sand .card { border-color: transparent; }
.card:hover { transform: translateY(-6px); box-shadow: 0 28px 54px -30px rgba(47,74,66,.45); }
.card-num { display: block; font-family: var(--serif); font-style: italic; font-size: 18px; color: #B2603B; margin-bottom: 18px; }
.card h3 { color: var(--sage); margin-bottom: 12px; }
.card p { color: var(--muted); font-size: var(--fs-body); line-height: var(--lh); }

/* checks */
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; background: rgba(255,255,255,.75); border-radius: 16px; border: 1px solid rgba(47,74,66,.07); font-size: var(--fs-body); line-height: 1.5; color: var(--muted); transition: transform .4s var(--ease), background .3s; }
.checks li:hover { transform: translateX(4px); background: #fff; }
.check { flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--mint); color: var(--sage); display: grid; place-items: center; margin-top: 1px; }
.check svg { width: 16px; height: 16px; }
.checks-q li { padding: 20px 22px; font-family: var(--serif); font-size: calc(var(--fs-body) + 2px); line-height: 1.35; color: var(--sage); }
.checks-q .check { background: #F1D2BF; color: var(--accent); }
.note { margin: 40px 0 0; padding: 8px 0 8px 28px; border-left: 3px solid var(--accent); font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; color: var(--sage); max-width: 52ch; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid rgba(47,74,66,.18); }
.step:last-child { border-bottom: 1px solid rgba(47,74,66,.18); }
.step-num { font-family: var(--serif); font-style: italic; font-size: 34px; line-height: 1; color: #B2603B; }
.step h3 { color: var(--sage); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: var(--fs-body); line-height: var(--lh); max-width: var(--measure); }

/* prose / quote */
.prose p { font-size: var(--fs-body); line-height: var(--lh); color: var(--muted); margin-bottom: 18px; max-width: var(--measure); }
.quote { max-width: 800px; margin: 0 auto; text-align: center; }
.quote h2 { color: var(--sage); margin-bottom: 26px; }
.quote p { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.4; color: var(--sage); margin-bottom: 16px; font-weight: 400; }
.quote h2 + p { font-family: var(--sans); font-size: var(--fs-body); line-height: var(--lh); color: var(--muted); }

/* faq */
.faq-item { border-top: 1px solid rgba(47,74,66,.2); }
.faq-item:last-child { border-bottom: 1px solid rgba(47,74,66,.2); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 0; font-family: var(--sans); font-size: 20px; font-weight: 600; color: var(--sage); line-height: 1.35; }
.faq-item summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: 0 0 22px; height: 22px; }
.plus::before, .plus::after { content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 2px; background: var(--accent); border-radius: 2px; transition: transform .4s var(--ease); }
.plus::after { transform: rotate(90deg); }
.faq-item[open] .plus::after { transform: rotate(0); }
.faq-item p { padding: 0 40px 26px 0; color: var(--muted); font-size: var(--fs-body); line-height: var(--lh); max-width: var(--measure); }

/* price */
.price { max-width: 640px; margin: 0 auto; text-align: center; padding: clamp(36px, 5vw, 60px); background: #fff; border-radius: 32px; border: 1px solid rgba(47,74,66,.08); box-shadow: 0 40px 90px -50px rgba(47,74,66,.5); }
.price h2 { font-size: clamp(26px, 3vw, 32px); color: var(--sage); margin-bottom: 14px; }
.price-val { font-family: var(--serif); font-size: clamp(52px, 7vw, 72px); line-height: 1; color: #B2603B; margin: 8px 0 14px; }
.price-val small, .plan-price small { font-family: var(--sans); font-size: 16px; color: var(--muted); letter-spacing: 0; }
.price-text { color: var(--muted); max-width: 44ch; margin: 0 auto 28px; font-size: var(--fs-body); line-height: var(--lh); }

/* plans */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.plan { display: flex; flex-direction: column; padding: 36px 34px 38px; background: #fff; border-radius: 28px; border: 1px solid rgba(47,74,66,.08); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: 0 34px 70px -38px rgba(47,74,66,.5); }
.plan-tag { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--eyebrow); margin-bottom: 14px; line-height: 1.4; }
.plan h3 { font-size: var(--fs-h3); color: var(--sage); margin-bottom: 12px; }
.plan-desc { color: var(--muted); font-size: var(--fs-body); line-height: var(--lh); }
.plan-price { margin: 24px 0 20px; padding: 18px 0; border-top: 1px solid rgba(47,74,66,.12); border-bottom: 1px solid rgba(47,74,66,.12); }
.plan-price strong { font-family: var(--serif); font-weight: 400; font-size: 44px; line-height: 1.1; color: #B2603B; }
.plan-price span { display: block; margin-top: 4px; color: var(--sage); font-size: 16px; font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--muted); }
.plan li .check { flex-basis: 22px; height: 22px; }
.plan li .check svg { width: 13px; height: 13px; }
.plan .btn { margin-top: auto; align-self: flex-start; }

/* rows (przeglądy) */
.rows { border-bottom: 1px solid rgba(47,74,66,.2); }
.row { display: grid; grid-template-columns: 110px minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; padding: 44px 0; border-top: 1px solid rgba(47,74,66,.2); transition: padding .5s var(--ease), background .4s; }
.row:hover { padding-left: 18px; }
.row-num { font-family: var(--serif); font-style: italic; color: #B2603B; font-size: 18px; line-height: 1.4; }
.row-title h2 { color: var(--sage); margin-bottom: 0; }
.row-title em { display: block; margin-top: 10px; font-family: var(--serif); font-size: 20px; line-height: 1.35; color: var(--eyebrow); }
.row-body { display: block; }
.row-body > p { color: var(--muted); margin-bottom: 14px; max-width: var(--measure); font-size: var(--fs-body); line-height: var(--lh); }

/* contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { display: flex; flex-direction: column; padding: 36px 30px; background: #fff; border-radius: 26px; border: 1px solid rgba(47,74,66,.08); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.contact-card:hover { transform: translateY(-8px); box-shadow: 0 34px 70px -38px rgba(47,74,66,.5); }
.ci { width: 54px; height: 54px; border-radius: 50%; background: var(--mint); color: var(--sage); display: grid; place-items: center; margin-bottom: 26px; transition: background .4s, color .4s; }
.contact-card:hover .ci { background: var(--sage); color: var(--bg); }
.ci svg { width: 26px; height: 26px; }
.contact-card h2 { font-family: var(--sans); font-weight: 600; font-size: var(--fs-h3); line-height: 1.3; color: var(--sage); margin-bottom: 10px; }
.contact-card p { color: var(--muted); margin-bottom: 22px; font-size: var(--fs-body); line-height: var(--lh); }
.contact-card strong { margin-top: auto; font-weight: 600; font-size: var(--fs-body); color: #B2603B; word-break: break-word; }
.contact-cards-sec { padding-top: 20px; }

/* ---------- footer ---------- */
.footer { background: var(--sage); color: rgba(250,247,242,.88); padding: 70px 0 30px; position: relative; z-index: 2; font-size: 16px; line-height: 1.6; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .brand { color: var(--bg); font-size: 30px; }
.footer .brand em { color: #F1B999; }
.footer-brand p { margin-top: 12px; }
.footer .muted { color: rgba(250,247,242,.72); }
.footer h4 { font-family: var(--sans); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); margin-bottom: 16px; font-weight: 600; }
.footer-grid a { display: block; padding: 4px 0; transition: color .3s, transform .3s var(--ease); }
.footer-grid a:not(.brand):hover { color: #fff; transform: translateX(4px); }
.footer-bottom { margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(250,247,242,.15); font-size: 14px; color: rgba(250,247,242,.72); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
/* elementy interaktywne wymagają własnych przejść po animacji wejścia */
.path-card.reveal.in, .tile.reveal.in, .card.reveal.in, .plan.reveal.in, .contact-card.reveal.in, .row.reveal.in, .hero-book.reveal.in { transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s, background .4s, padding .5s var(--ease), opacity 1s var(--ease); transition-delay: 0s; }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .nav { --nav-h: clamp(64px, 8vw, 72px); width: min(720px, 94vw); }
  .brand { font-size: clamp(21px, 2.8vw, 25px); }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px; background: rgba(250,247,242,.98); border-radius: 26px; box-shadow: 0 24px 60px -20px rgba(47,74,66,.4);
    border: 1px solid rgba(47,74,66,.08); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { display: flex; align-items: center; min-height: 44px; padding: 12px 18px; border-radius: 14px; font-size: 17px; }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-links a[aria-current="page"]:not(.nav-cta) { background: var(--mint); color: var(--sage); font-weight: 600; }
  .nav-links li.nav-cta a, .nav-links a.nav-cta { justify-content: center; padding: 14px 18px; font-size: 17px; }
  /* aktywny punkt dotyku podświetla tylko kliknięty link, bez przyklejania */
  .nav-links a:not(.nav-cta):active { background: var(--mint); }

  /* układ */
  .hero { grid-template-columns: 1fr; padding-top: 120px; }
  .portrait { max-width: 300px; order: -1; margin-bottom: -10px; }
  .page-hero-in.has-media { grid-template-columns: 1fr; }
  .hero-book { max-width: 380px; order: -1; }
  .paths, .contact-cards { grid-template-columns: 1fr; }
  .split, .about-grid, .ebook-grid { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .grid4, .cards.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cards.cols-3 { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 14px; padding: 36px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cursor-glow { display: none; }
}

/* mobile: H1 38px, H2 30px, tekst 16px */
@media (max-width: 767px) {
  :root { --measure: 100%; }
  .nav { --nav-h: clamp(60px, 16vw, 68px); width: min(100%, calc(100vw - 24px)); top: 12px; }
  .brand { font-size: clamp(20px, 5.6vw, 24px); }
  .section-head { margin-bottom: 36px; }
  .hero-lead { margin-top: 20px; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .nav-links .btn, .plan .btn { width: auto; }
  .plan .btn { align-self: stretch; width: 100%; }
  .path-card h3 { margin-top: 36px; }
}
@media (max-width: 640px) {
  .checks { grid-template-columns: 1fr; }
  .grid4 { grid-template-columns: 1fr; }
  .list-item { flex-direction: column; align-items: flex-start; gap: 10px; }
  .step { grid-template-columns: 44px 1fr; gap: 14px; }
  .step-num { font-size: 28px; }
  .page-hero { padding-top: 130px; }
  .footer-grid { grid-template-columns: 1fr; }
  .plan { padding: 30px 24px 32px; }
  .card { padding: 28px 24px 30px; }
  .faq-item summary { font-size: 18px; }
  .faq-item p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, [data-split] .word > span { opacity: 1 !important; transform: none !important; }
}

/* ====================================================================
   SEKCJA LASU (parallax) – tylko strona główna
   Warstwy z prawdziwych zdjęć (alfa wycięte luminancją mgły):
   slońce > promienie > linia lasu w mgle > mgła > świerki > mgła
             > pnie/pierwszy plan > podłoże > mgła przejściowa
   Animujemy wyłącznie transform i opacity.
   ==================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.forest {
  position: relative; z-index: 2; isolation: isolate; overflow: hidden;
  height: clamp(700px, 120vh, 1160px);
  /* optymistyczny świt: ciepły krem/brzoskwinia -> złote światło -> miękka zieleń */
  background: linear-gradient(180deg, #FAF7F2 0%, #FBF0DF 8%, #F3E6CF 18%, #E2E4D2 32%, #C5D6C6 48%, #93B5A0 66%, #5E8674 84%, #3A5F50 100%);
}

/* warstwa bazowa */
.fl { position: absolute; pointer-events: none; will-change: transform; }
.fl img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }

.fl-sun { inset: 0; z-index: 1; }
.fl-rays { inset: 0; z-index: 2; }
/* daleka linia lasu – sama sylwetka, mgła wycięta (png/webp z alfą) */
.fl-far { left: -6%; right: -6%; top: 21%; height: 46%; z-index: 3; }
.fl-far img { object-position: center 72%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%); -webkit-mask-composite: source-in; mask-composite: intersect; }
.fl-fog-a { left: 0; right: 0; top: 42%; height: 22%; z-index: 4; overflow: hidden; }
/* średni plan – świerki wyłaniające się z mgły */
.fl-mid { left: -8%; right: -8%; top: 34%; height: 72%; z-index: 5; }
.fl-mid img { object-position: center 84%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 14%, #000 78%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 14%, #000 78%, transparent 100%); -webkit-mask-composite: source-in; mask-composite: intersect; }
.fl-fog-b { left: 0; right: 0; top: 56%; height: 26%; z-index: 6; overflow: hidden; }
/* pierwszy plan – ciemne pnie po bokach, jasny tunel na środku zostaje pusty */
.fl-near { left: -4%; right: -4%; top: -16%; bottom: -16%; z-index: 10; }
.fl-near img { object-fit: cover; object-position: center center; -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 72%, transparent 97%), linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, #000 0%, #000 72%, transparent 97%), linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%); -webkit-mask-composite: source-in; mask-composite: intersect; }
.fl-floor { left: 0; right: 0; bottom: 0; height: 10%; z-index: 11; background: linear-gradient(180deg, rgba(24,45,35,0), rgba(24,45,35,.85) 45%, #182D23 100%); will-change: auto; }
.forest-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 12%; z-index: 14; pointer-events: none; background: linear-gradient(0deg, #FAF7F2 0%, rgba(250,247,242,.92) 16%, rgba(250,247,242,0) 100%); }

/* światło słoneczne: ciepły rozbłysk + promienie narastające w intensywności */
.sun { position: absolute; right: -6vw; top: -14%; width: min(86vw, 1100px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,240,210,1) 0%, rgba(255,218,160,.75) 22%, rgba(255,208,145,.3) 46%, rgba(255,205,140,0) 70%); animation: sunPulse 7s ease-in-out infinite alternate; }
.rays, .rays::after { position: absolute; inset: 0; content: ""; -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 48%, transparent 88%); mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 48%, transparent 88%); }
.rays { background: conic-gradient(from 192deg at 88% -6%, transparent 0deg, rgba(255,220,155,.6) 6deg, transparent 12deg, rgba(255,220,155,.5) 18deg, transparent 25deg, rgba(255,220,155,.55) 32deg, transparent 40deg, rgba(255,220,155,.38) 48deg, transparent 58deg); animation: raysGrow 7s ease-in-out infinite alternate; }
.rays::after { background: conic-gradient(from 200deg at 88% -6%, transparent 0deg, rgba(255,236,190,.5) 4deg, transparent 9deg, rgba(255,236,190,.4) 22deg, transparent 29deg, rgba(255,236,190,.45) 44deg, transparent 52deg); animation: raysGrow 5.5s ease-in-out infinite alternate-reverse; }
@keyframes sunPulse { from { opacity: .7; transform: scale(1); } to { opacity: 1; transform: scale(1.1); } }
@keyframes raysGrow { from { opacity: .35; } to { opacity: 1; } }

/* wiatr: gałęzie i pnie kołyszą się wyraźniej w dal (transform na img, parallax na .fl) */
.wind { transform-origin: 50% 100%; animation: windSway 6s ease-in-out infinite alternate; will-change: transform; }
.fl-mid .wind { animation-duration: 8s; animation-delay: -2s; }
.fl-near .wind { animation-duration: 5s; animation-delay: -1s; }
.fl-far .wind { animation-duration: 11s; animation-delay: -4s; }
@keyframes windSway {
  from { transform: skewX(-.7deg) translate3d(-.5%, 0, 0); }
  to { transform: skewX(.7deg) translate3d(.5%, 0, 0); }
}

/* mgła: pas 2x szerszy, powtarzalny wzór, przesuwany o dokładnie jeden okres */
.fog { position: absolute; top: 0; left: 0; width: 200%; height: 100%; background-repeat: repeat-x; background-size: 50% 100%;
  background-image:
    radial-gradient(ellipse 38% 46% at 28% 58%, rgba(255,255,255,.62), rgba(255,255,255,0) 72%),
    radial-gradient(ellipse 30% 40% at 72% 42%, rgba(250,240,228,.52), rgba(250,240,228,0) 72%),
    radial-gradient(ellipse 22% 30% at 52% 72%, rgba(255,255,255,.4), rgba(255,255,255,0) 70%);
  animation: fogDrift 130s linear infinite; }
.fl-fog-b .fog { animation-duration: 90s; animation-direction: reverse; opacity: .9; }
@keyframes fogDrift { to { transform: translate3d(-50%, 0, 0); } }

/* poza ekranem animacje stoją (oszczędność CPU/GPU) */
.forest:not(.is-visible) .sun, .forest:not(.is-visible) .rays, .forest:not(.is-visible) .rays::after,
.forest:not(.is-visible) .fog, .forest:not(.is-visible) .wind { animation-play-state: paused; }

/* treść – nad pierwszym planem, w jasnym tunelu; ciemna poświata dla kontrastu */
.forest-content { position: relative; z-index: 12; padding-top: clamp(72px, 12vh, 130px); text-align: center; }
.forest-content::before { content: ""; position: absolute; left: 50%; top: 4%; translate: -50% 0; width: min(880px, 92vw); height: 88%; background: radial-gradient(ellipse 70% 60% at 50% 42%, rgba(12,28,22,.48) 0%, rgba(12,28,22,.22) 48%, rgba(12,28,22,0) 78%); pointer-events: none; z-index: -1; }
.forest-title { font-size: clamp(2.75rem, 1.6rem + 3.8vw, 5rem); line-height: 1.05; color: #FFFFFF; text-shadow: 0 2px 28px rgba(8,22,16,.75), 0 1px 6px rgba(8,22,16,.6), 0 0 2px rgba(8,22,16,.4); max-width: 18ch; margin: 0 auto 16px; font-weight: 500; }
.forest-sub { font-family: var(--sans); font-weight: 700; font-size: clamp(1.2rem, 1rem + .7vw, 1.75rem); line-height: 1.4; color: #FFFFFF; text-shadow: 0 2px 20px rgba(8,22,16,.8), 0 1px 5px rgba(8,22,16,.7), 0 0 1.5px rgba(8,22,16,.5); max-width: none; margin: 0 auto 40px; letter-spacing: .015em; }
.forest-content .hero-actions { justify-content: center; margin-top: 0; gap: 14px; }
.forest-content .btn { padding: 18px 40px; font-size: clamp(1rem, .9rem + .5vw, 1.25rem); font-weight: 600; border-radius: 999px; }
.btn-glass { background: rgba(255,247,235,.94); border: 2px solid rgba(47,74,66,.55); color: var(--sage); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 10px 30px -8px rgba(20,45,35,.45); }
.btn-glass:hover { background: #fff; border-color: var(--sage); }
.forest-content .btn-primary { box-shadow: 0 12px 34px -10px rgba(20,45,35,.6); }

/* tablet: uproszczony efekt */
@media (max-width: 1024px) {
  .forest { height: clamp(620px, 100svh, 920px); }
  .fl-far { left: -10%; right: -10%; }
  .fl-mid { left: -14%; right: -14%; top: 32%; }
  .fl-near { left: -10%; right: -10%; }
}
/* telefon: mniej warstw, łagodniejsze animacje */
@media (max-width: 640px) {
  .forest { height: clamp(600px, 96svh, 780px); --minw: 860px; }
  .fl-far, .rays, .sun { display: none; }
  .fl-sun::after { content: ""; position: absolute; right: -30vw; top: -12%; width: 110vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,238,208,.9) 0%, rgba(255,210,150,0) 62%); }
  .fl-mid { left: -30%; right: -30%; top: 26%; height: 66%; }
  .fl-near { left: -34%; right: -34%; top: -10%; bottom: -10%; }
  .fl-fog-a { top: 36%; }
  .forest-content { padding-top: 76px; }
}

/* ====================================================================
   BANER E-BOOKA: wyskakujący w rogu, zamykalny, zapamiętany (localStorage)
   ==================================================================== */
.eb-popup {
  position: fixed; z-index: 60; right: 24px; bottom: 24px;
  width: min(400px, calc(100vw - 32px));
  display: flex; gap: 14px; align-items: stretch;
  padding: 14px; border-radius: 18px;
  background: rgba(250,247,242,.96);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(47,74,66,.14);
  box-shadow: 0 24px 60px -18px rgba(20,40,32,.35), 0 4px 14px -4px rgba(20,40,32,.12);
  animation: ebIn .55s cubic-bezier(.22,1,.36,1) both;
}
.eb-popup[hidden] { display: none; }
.eb-popup.eb-out { animation: ebOut .35s ease both; }
@keyframes ebIn { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes ebOut { to { opacity: 0; transform: translateY(16px) scale(.97); } }

.eb-close {
  position: absolute; top: 8px; right: 10px; z-index: 2;
  width: 32px; height: 32px; border: 0; border-radius: 50%;
  background: rgba(47,74,66,.08); color: var(--sage);
  font-size: 20px; line-height: 1; cursor: pointer;
  transition: background .2s, transform .2s;
}
.eb-close:hover { background: rgba(47,74,66,.16); transform: scale(1.06); }
.eb-close:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; }

.eb-img { flex: 0 0 96px; border-radius: 12px; overflow: hidden; align-self: center; }
.eb-img img { display: block; width: 100%; height: auto; object-fit: cover; }

.eb-body { flex: 1; min-width: 0; padding-right: 18px; }
.eb-kicker { margin: 0 0 2px; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.eb-title { margin: 0 0 6px; font-family: var(--serif, "DM Serif Display", serif); font-size: 1.25rem; line-height: 1.15; color: var(--sage); }
.eb-text { margin: 0 0 12px; font-family: var(--sans); font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.eb-cta { display: inline-flex; padding: 10px 20px; font-size: 14px; }

@media (max-width: 640px) {
  .eb-popup { right: 12px; left: 12px; bottom: 14px; width: auto; }
  .eb-img { flex-basis: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .eb-popup, .eb-popup.eb-out { animation: none; }
}

/* ---------- duże monitory: układ skaluje się w górę ---------- */
@media (min-width: 1500px) {
  :root {
    --fs-h1: clamp(2.25rem, 1.4rem + 2.6vw, 5rem);     /* do 80px */
    --fs-h2: clamp(1.75rem, 1.1rem + 1.7vw, 3.5rem);   /* do 56px */
    --fs-h3: clamp(1.5rem, 1.3rem + .6vw, 2rem);       /* do 32px */
    --fs-body: clamp(1rem, .95rem + .2vw, 1.25rem);    /* do 20px */
    --fs-btn: clamp(.9375rem, .9rem + .15vw, 1.125rem);
  }
  .wrap { width: min(1320px, 92vw); }
}
@media (min-width: 1800px) {
  :root {
    --fs-h1: clamp(2.25rem, 1.4rem + 2.6vw, 5.5rem);   /* do 88px */
    --fs-h2: clamp(1.75rem, 1.1rem + 1.7vw, 4rem);     /* do 64px */
    --fs-h3: clamp(1.5rem, 1.3rem + .6vw, 2.25rem);    /* do 36px */
    --fs-body: clamp(1rem, .95rem + .2vw, 1.375rem);   /* do 22px */
  }
  .wrap { width: min(1480px, 92vw); }
  .nav { width: min(1480px, 92vw); }
}