/* ==========================================================================
   Stomatologia na szpilkach - arkusz stylów
   Kolejność: fonty, zmienne, baza, komponenty, sekcje, animacje, RWD.
   Podejście mobile first: style bazowe = telefon, szersze ekrany w @media (min-width).
   ========================================================================== */

/* ---------- Fonty (lokalne, woff2) ---------- */
@font-face { font-family: "Questrial"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/questrial-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Questrial"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/questrial-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Zmienne ---------- */
:root {
  --grafit: #292C2D;
  --zloto: #B58B35;          /* akcenty i duże napisy */
  --zloto-jasne: #D2AC5C;    /* drobny tekst na ciemnym tle (kontrast AA) */
  --zloto-tekst: #7D5E1C;    /* drobny tekst na jasnym tle (kontrast AA) */
  --tlo: #F1F0EC;
  --szarosc: #C8CBC9;
  --szalwia: #A9C2B0;
  --dab: #C9A47C;
  --mgla: #E3E5E2;
  --biel: #FFFFFF;
  --tekst: #292C2D;
  --tekst-2: #4C5153;

  --font-h: "Questrial", "Century Gothic", "Avenir Next", Arial, sans-serif;
  --font-t: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --r: 20px;
  --r-s: 16px;
  --wrap: 1180px;
  --pad: 20px;
  --sec: clamp(72px, 11vw, 148px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(41,44,45,.05), 0 18px 48px -18px rgba(41,44,45,.22);
}

/* ---------- Baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--tlo); color: var(--tekst); font: 400 1.0625rem/1.65 var(--font-t); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--font-h); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.5rem; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: .2em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--zloto); color: #fff; }
:focus-visible { outline: 2px solid var(--zloto); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--zloto-jasne); }

.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--grafit); color: #fff; padding: 12px 18px; border-radius: 12px; transition: top .2s; }
.skip:focus { top: 12px; }

section { position: relative; padding-block: var(--sec); }
.white { background: var(--biel); }
.dark { background: var(--grafit); color: var(--tlo); }

.kicker { font: 500 .78rem/1.4 var(--font-t); letter-spacing: .26em; text-transform: uppercase; color: var(--zloto-tekst); margin-bottom: 18px; }
.dark .kicker { color: var(--zloto-jasne); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--tekst-2); max-width: 58ch; }
.dark .lead { color: #D9DAD6; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); }
.sec-head .lead { margin: 22px auto 0; }

/* ---------- Przyciski ---------- */
.btn { --bg: var(--grafit); --fg: #fff; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px; border: 1.5px solid var(--bg); border-radius: 999px; background: var(--bg); color: var(--fg);
  font: 500 1rem/1.2 var(--font-t); text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .35s, border-color .35s; will-change: transform; }
/* złota "fala" wypełniająca przycisk po najechaniu */
.btn::before { content: ""; position: absolute; inset: -2px; z-index: -1; background: var(--zloto-ciemne, #8F6B22); border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 14px 30px -12px rgba(143,107,34,.6); border-color: #8F6B22; }
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: .95rem; }
.btn--lg { min-height: 60px; padding: 18px 40px; font-size: 1.08rem; }
.btn--outline { --fg: var(--grafit); background: transparent; }
.btn--outline:hover { color: #fff; }
.btn--outline-light { --bg: var(--tlo); --fg: var(--tlo); background: transparent; border-color: rgba(241,240,236,.6); }
.btn--outline-light:hover { color: #fff; }
.btn--gold { --bg: var(--zloto-jasne); --fg: #1F2122; }
.btn--gold::before { background: #fff; }
.btn--gold:hover { border-color: #fff; box-shadow: 0 14px 34px -12px rgba(210,172,92,.7); }
.btn .ico { width: 22px; height: 22px; }
.ico { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico .fill { fill: currentColor; stroke: none; }
.btn[disabled] { cursor: progress; opacity: .8; }
.btn.is-loading .btn__label { opacity: .55; }
.btn.is-loading::after { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Pasek postępu przewijania ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--zloto), var(--zloto-jasne)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- 0. Nawigacja ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .35s, box-shadow .35s, backdrop-filter .35s; }
.nav.is-stuck { background: rgba(241,240,236,.86); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 rgba(41,44,45,.06), 0 12px 32px -20px rgba(41,44,45,.35); }
.nav__in { width: min(100% - 2 * var(--pad), 1320px); margin-inline: auto; height: 68px; display: flex; align-items: center; gap: 12px; }
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; font: 400 1.02rem/1 var(--font-h); letter-spacing: .08em; text-transform: uppercase; position: relative; z-index: 2; }
.nav__logo img { width: 34px; height: auto; }
.nav__logo small { display: block; font-size: .64em; letter-spacing: .3em; margin-top: 5px; color: var(--tekst-2); }
.nav__cta-long { display: none; }
.nav__cta { position: relative; z-index: 2; }
.nav__burger { position: relative; z-index: 2; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-content: center; gap: 7px; border-radius: 50%; }
.nav__burger span { display: block; width: 24px; height: 2px; background: var(--grafit); border-radius: 2px; transition: transform .35s var(--ease); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
/* menu pełnoekranowe na telefonie */
.nav__links { position: fixed; inset: 0; z-index: 1; background: var(--tlo); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 90px 24px 40px;
  visibility: hidden; opacity: 0; clip-path: circle(0 at calc(100% - 42px) 34px); transition: clip-path .6s var(--ease), opacity .3s, visibility 0s .6s; }
.nav.is-open .nav__links { visibility: visible; opacity: 1; clip-path: circle(150% at calc(100% - 42px) 34px); transition: clip-path .7s var(--ease), opacity .2s; }
.nav__links a:not(.btn) { font: 400 2rem/1.2 var(--font-h); text-decoration: none; padding: 10px 16px; }
.nav__cta-menu { margin-top: 22px; }
.nav.is-open .nav__cta { visibility: hidden; }

/* ---------- 1. Hero ---------- */
.hero { background: var(--tlo); min-height: 100svh; padding: 76px 0 56px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; overflow: hidden; isolation: isolate; }
.hero__dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero__glow { position: absolute; inset: 0; z-index: -3; background:
  radial-gradient(60% 46% at 50% 30%, #F8F7F4 0%, rgba(241,240,236,0) 70%),
  radial-gradient(38% 34% at 12% 86%, rgba(169,194,176,.34), rgba(169,194,176,0) 70%),
  radial-gradient(36% 34% at 90% 78%, rgba(201,164,124,.3), rgba(201,164,124,0) 70%); }
.hero__media { position: relative; z-index: -2; width: min(86vw, 40svh, 640px); aspect-ratio: 1; margin-bottom: -6px; flex: none; mix-blend-mode: multiply;
  /* miękkie krawędzie kadru: wideo wtapia się w tło, a napis pod sygnetem zostaje w pełni widoczny */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 10%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 10%, #000 88%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.hero__poster, .hero__poster img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity .6s; }
.hero__video.is-playing { opacity: 1; }
.hero__content { position: relative; width: min(100% - 2 * var(--pad), 900px); }
/* łagodny gradient pod tekstem, żeby nigdy nie zlewał się z logo */
.hero__content::before { content: ""; position: absolute; inset: -40px -40vw -80px; z-index: -1; background: linear-gradient(180deg, rgba(241,240,236,0), rgba(241,240,236,.92) 34%, var(--tlo)); pointer-events: none; }
.hero h1 { font-size: clamp(2.2rem, min(7.4vw, 8.2svh), 4.4rem); letter-spacing: -.02em; }
.hero__lead { margin: 22px auto 0; max-width: 46ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--tekst-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.hero__scroll { display: none; }

/* ---------- Pasek ról ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--szarosc); background: var(--tlo); padding: 18px 0; }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font: 400 clamp(1.1rem, 2.4vw, 1.6rem)/1 var(--font-h); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; color: var(--tekst-2); }
.marquee i { width: 8px; height: 8px; border-radius: 50%; background: var(--zloto); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Poświata za kursorem w ciemnych sekcjach ---------- */
[data-spot]::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(210,172,92,.16), transparent 70%); }
[data-spot].is-hover::after { opacity: 1; }

/* ---------- 2. Dlaczego ---------- */
.why { overflow: hidden; isolation: isolate; }
.why__bg { position: absolute; inset: -18% 0; z-index: -1; background: url("../img/tlo-zloto.webp") 100% center / cover no-repeat; opacity: .5; }
.why__in { display: grid; gap: 18px; }
.why__num { font: 400 clamp(7.5rem, 34vw, 19rem)/.82 var(--font-h); letter-spacing: -.05em; display: flex; align-items: flex-start;
  background: linear-gradient(100deg, #8F6B22 0%, var(--zloto) 30%, #F0D592 48%, var(--zloto) 62%, #8F6B22 100%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 7s linear infinite; font-variant-numeric: tabular-nums; }
.why__num i { font-style: normal; font-size: .42em; margin-top: .12em; letter-spacing: 0; }
@keyframes shine { to { background-position: -220% 0; } }
.why h2 { font-size: clamp(1.8rem, 4.2vw, 3.2rem); }
.why__text p { margin-top: 24px; max-width: 54ch; color: #D9DAD6; font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.why__text .why__src { font-size: .82rem; color: #A9ADAB; margin-top: 28px; }

/* ---------- 3. O projekcie ---------- */
.about__head { display: grid; gap: 28px; align-items: center; margin-bottom: clamp(36px, 6vw, 64px); }
.about__logo { width: min(46vw, 210px); justify-self: center; }
.cards3 { display: grid; gap: 18px; }
.card { position: relative; background: var(--mgla); border-radius: var(--r); padding: clamp(28px, 4vw, 44px) clamp(22px, 3vw, 36px); text-align: center; overflow: hidden;
  transform-style: preserve-3d; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s; }
.card:hover { box-shadow: var(--shadow); background: #ECEDEA; }
/* odblask podążający za kursorem */
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.75), transparent 65%); }
.card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card__icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; background: var(--biel); box-shadow: inset 0 0 0 1px var(--szarosc); transform: translateZ(30px); }
.card__icon svg { width: 36px; height: 36px; fill: none; stroke: var(--zloto); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--tekst-2); max-width: 30ch; margin-inline: auto; }
.about__foot { text-align: center; max-width: 52ch; margin: clamp(36px, 5vw, 60px) auto 0; font: 400 clamp(1.2rem, 2.2vw, 1.55rem)/1.4 var(--font-h); }

/* ---------- 4. Podcast: animacja startu ---------- */
.launch { position: relative; border-radius: clamp(20px, 3vw, 32px); padding: clamp(48px, 8vw, 96px) clamp(18px, 4vw, 56px); text-align: center; overflow: hidden; isolation: isolate; }
.launch__bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(50% 60% at 50% 0%, rgba(181,139,53,.28), transparent 70%),
  url("../img/tlo-zloto.webp") center / cover no-repeat; opacity: .85; }
.launch__title { font: 400 clamp(2.3rem, 8.4vw, 6.2rem)/1.02 var(--font-h); letter-spacing: -.02em; }
.launch__title .w { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(4deg); filter: blur(10px); transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s; transition-delay: calc(var(--i) * .22s); }
.launch.is-in .launch__title .w { opacity: 1; transform: none; filter: none; }
.launch__line { position: relative; width: min(100%, 560px); height: 24px; margin: 26px auto 44px; padding-right: 54px; }
.launch__line svg { width: 100%; height: 100%; overflow: visible; }
.launch__line path { fill: none; stroke: var(--zloto-jasne); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) 1s; }
.launch.is-in .launch__line path { stroke-dashoffset: 0; }
.launch__line img { position: absolute; right: 0; top: 50%; width: 42px; height: auto; transform: translateY(-62%) scale(.2) rotate(-25deg); opacity: 0; transition: transform .8s cubic-bezier(.3,1.6,.5,1) 2.4s, opacity .4s 2.4s; filter: drop-shadow(0 0 12px rgba(210,172,92,.7)); }
.launch.is-in .launch__line img { transform: translateY(-62%); opacity: 1; }
.countdown { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 720px; margin: 0 auto 40px; }
.countdown__card { background: rgba(241,240,236,.07); border: 1px solid rgba(241,240,236,.16); border-radius: var(--r-s); padding: 22px 8px 16px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); overflow: hidden; }
.countdown__num { display: block; font: 400 clamp(2.6rem, 7vw, 4.2rem)/1 var(--font-h); font-variant-numeric: tabular-nums; color: #fff; }
.countdown__num.tick { animation: tick .5s var(--ease); }
@keyframes tick { 0% { transform: translateY(-40%); opacity: 0; filter: blur(4px); } 100% { transform: none; opacity: 1; filter: none; } }
.countdown__lbl { display: block; margin-top: 8px; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--zloto-jasne); }
.launch.is-live .countdown { display: none; }

/* wersja po premierze (blok zakomentowany w HTML) */
.player { aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--grafit); box-shadow: var(--shadow); }
.player iframe { width: 100%; height: 100%; border: 0; }
.episodes__list { margin-top: 24px; }
.episode { display: block; text-decoration: none; background: var(--mgla); border-radius: var(--r); overflow: hidden; text-align: center; padding-bottom: 22px; transition: transform .4s var(--ease), box-shadow .4s; }
.episode:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.episode img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--szarosc); }
.episode h3 { font-size: 1.25rem; margin: 18px 18px 6px; }
.episode p { color: var(--tekst-2); font-size: .95rem; padding-inline: 18px; }
.platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.platforms a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border: 1.5px solid var(--szarosc); border-radius: 999px; text-decoration: none; }
.platforms .ico { width: 22px; height: 22px; }

/* ---------- 5-6. Sekcje dwukolumnowe ---------- */
.split__in { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split__media { position: relative; border-radius: var(--r); width: min(100%, 520px); justify-self: center; }
.split__media picture { display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--mgla); }
.split__media img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.split__media--portrait { width: min(84%, 440px); }
.split__frame { position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--zloto); border-radius: var(--r); z-index: -1; }
.split__media--portrait { isolation: isolate; }
.split__media--portrait img { object-position: 50% 0; }
.split__badge { position: absolute; right: -6px; bottom: 28px; background: var(--grafit); color: var(--tlo); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; padding: 12px 18px; border-radius: 999px; box-shadow: var(--shadow); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.split__text h2 { margin-bottom: 22px; }
.split__text .btn { margin-top: 32px; }
.values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.values li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; background: var(--biel); border: 1px solid var(--szarosc); border-radius: 999px; font-weight: 500; font-size: .98rem; }
.values svg { width: 26px; height: 26px; fill: none; stroke: var(--zloto); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.quote { margin: 34px 0 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--zloto); }
.quote p { font: 400 clamp(1.25rem, 2.2vw, 1.6rem)/1.4 var(--font-h); }
.quote footer { margin-top: 12px; font-size: .9rem; color: var(--tekst-2); }
.quote[hidden] { display: none; }

/* ---------- 7. Gospodarz ---------- */
.host { overflow: hidden; }
.host__in { display: grid; gap: clamp(36px, 6vw, 80px); align-items: center; }
.host__logo { width: min(64vw, 250px); margin: 8px 0 28px; }
.host__text .btn { margin-top: 34px; }
.host__media { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; width: min(100%, 480px); justify-self: center; }
.host__media picture, .host__media img { display: block; width: 100%; height: 112%; object-fit: cover; }
.host__media figcaption { position: absolute; left: 18px; bottom: 16px; padding: 9px 16px; border-radius: 999px; background: rgba(41,44,45,.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font: 400 .9rem/1 var(--font-h); letter-spacing: .14em; }

/* ---------- 8. Plany i e-book ---------- */
.plans__cards { display: grid; gap: 18px; }
.card--plan { background: var(--biel); padding-top: clamp(40px, 5vw, 56px); }
.card--plan:hover { background: var(--biel); }
.card--plan ul { display: grid; gap: 10px; margin-top: 18px; }
.card--plan li { padding: 12px 16px; border-radius: 12px; background: var(--tlo); font-weight: 500; }
.card__tag { display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px; background: var(--szalwia); color: #1F2A23; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.card--next .card__tag { background: var(--dab); color: #33240F; }
.ebook { margin-top: 18px; display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; background: var(--grafit); color: var(--tlo); border-radius: clamp(20px, 3vw, 32px); padding: clamp(36px, 6vw, 72px) clamp(22px, 5vw, 72px); overflow: hidden; position: relative; isolation: isolate; }
.ebook::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 10% 50%, rgba(181,139,53,.32), transparent 70%); }
.ebook .kicker { color: var(--zloto-jasne); }
.ebook h3 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 16px; }
.ebook__text > p:not(.kicker):not(.form-done) { color: #D9DAD6; max-width: 54ch; }
.ebook__book { perspective: 1400px; display: grid; place-items: center; padding: 10px 0; }
.book { --ry: -28deg; position: relative; width: clamp(170px, 42vw, 230px); aspect-ratio: 3 / 4.1; transform-style: preserve-3d; transform: rotateY(var(--ry)) rotateX(6deg); transition: transform .9s var(--ease); animation: bookFloat 7s ease-in-out infinite; }
.ebook:hover .book { --ry: -12deg; }
@keyframes bookFloat { 50% { translate: 0 -10px; } }
.book__cover { position: absolute; inset: 0; background: linear-gradient(135deg, #F7F6F2, #E6E3DA); color: var(--grafit); border-radius: 4px 10px 10px 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 18px; text-align: center; transform: translateZ(16px); box-shadow: inset 4px 0 0 rgba(41,44,45,.08), inset 0 0 0 1px rgba(41,44,45,.06); overflow: hidden; }
.book__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.75) 48%, transparent 60%); translate: -120% 0; animation: bookShine 6s ease-in-out infinite; }
@keyframes bookShine { 30%, 100% { translate: 120% 0; } }
.book__cover img { width: 30%; }
.book__title { font: 400 clamp(1.05rem, 2.6vw, 1.35rem)/1.15 var(--font-h); }
.book__sub { font-size: .52rem; letter-spacing: .26em; text-transform: uppercase; color: var(--zloto-tekst); }
.book__pages { position: absolute; top: 3px; bottom: 3px; right: 0; width: 32px; transform: translateX(15px) rotateY(90deg); background: repeating-linear-gradient(90deg, #fff 0 2px, #D9D6CC 2px 3px); }
.book__back { position: absolute; inset: 0; background: #D8D4C8; border-radius: 4px 10px 10px 4px; transform: translateZ(-16px); box-shadow: 30px 30px 60px rgba(0,0,0,.5); }
.ebook__form { margin-top: 26px; }
.ebook__row { display: grid; gap: 12px; align-items: end; }
.ebook .btn--primary { --bg: var(--zloto-jasne); --fg: #1F2122; }
.ebook .btn--primary::before { background: #fff; }
.ebook .btn--primary:hover { border-color: #fff; }
.ebook .btn.is-loading::after { border-color: rgba(31,33,34,.3); border-top-color: #1F2122; }

/* ---------- Formularze ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: 8px; }
.field label, .pills legend { font-weight: 500; font-size: .95rem; }
.field label small, .pills legend small { font-weight: 400; color: var(--tekst-2); }
.field input, .field textarea { width: 100%; min-height: 54px; padding: 14px 18px; border: 1.5px solid var(--szarosc); border-radius: var(--r-s); background: var(--biel); transition: border-color .25s, box-shadow .25s; }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.field input:hover, .field textarea:hover { border-color: #9EA3A0; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--zloto); box-shadow: 0 0 0 4px rgba(181,139,53,.2); }
.field input::placeholder { color: #8A8F8C; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #B3261E; }
.field__err { min-height: 0; margin: 0; font-size: .88rem; color: #A3211A; }
.field__err:empty { display: none; }
.field__count { text-align: right; font-size: .82rem; color: var(--tekst-2); font-variant-numeric: tabular-nums; }
.field__count.is-near { color: #A3211A; }
.ebook .field label { color: var(--tlo); }
.ebook .field input { background: rgba(241,240,236,.08); border-color: rgba(241,240,236,.35); color: #fff; }
.ebook .field input::placeholder { color: #B9BDBA; }
.ebook .field input:focus { border-color: var(--zloto-jasne); box-shadow: 0 0 0 4px rgba(210,172,92,.25); }
.ebook .field__err { color: #FFB4AB; }
.check { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; margin-top: 18px; font-size: .9rem; line-height: 1.5; color: var(--tekst-2); }
.ebook .check { color: #C9CCC9; }
.check input { appearance: none; -webkit-appearance: none; width: 26px; height: 26px; margin: 0; border: 1.5px solid #8A8F8C; border-radius: 8px; background: var(--biel); cursor: pointer; display: grid; place-content: center; transition: background .2s, border-color .2s; }
.check input::after { content: ""; width: 12px; height: 7px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg) scale(0); translate: 0 -1px; transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.check input:checked { background: var(--grafit); border-color: var(--grafit); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.ebook .check input { background: transparent; border-color: rgba(241,240,236,.6); }
.ebook .check input:checked { background: var(--zloto-jasne); border-color: var(--zloto-jasne); }
.ebook .check input:checked::after { border-color: #1F2122; }
.check.is-invalid input { border-color: #B3261E; box-shadow: 0 0 0 4px rgba(179,38,30,.15); }
.check label { cursor: pointer; }
.form-error { margin: 18px 0 0; padding: 14px 18px; border-radius: var(--r-s); background: #FCEEEC; color: #7A1812; font-size: .95rem; }
.form-error[hidden] { display: none; }
.form-error--target { display: none; margin: 0 0 22px; }
.form-error--target:target { display: block; }
/* komunikaty sukcesu: ukryte, pokazuje je klasa .is-on (JS) albo kotwica :target (bez JS) */
.form-done { display: none; }
.form-done.is-on, .form-done:target { display: block; animation: pop .7s var(--ease); }
.form-done.is-on ~ form, .form-done:target ~ form { display: none; }
.ebook .form-done { margin-top: 26px; padding: 18px 22px; border-radius: var(--r-s); background: rgba(241,240,236,.1); border: 1px solid rgba(210,172,92,.5); font-size: 1.1rem; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.form-done--big { text-align: center; padding: clamp(20px, 5vw, 56px) 0; }
.form-done--big p { font: 400 clamp(1.3rem, 2.6vw, 1.8rem)/1.35 var(--font-h); max-width: 26ch; margin: 22px auto 28px; }
.form-done--big strong { font-weight: 400; }
.tick { width: 76px; height: 76px; margin: 0 auto; fill: none; stroke: var(--zloto); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.tick circle { stroke-dasharray: 183; stroke-dashoffset: 183; animation: draw .9s var(--ease) .1s forwards; }
.tick path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s var(--ease) .8s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- 9. Formularz zgłoszeniowy ---------- */
.join__in { display: grid; gap: clamp(32px, 5vw, 72px); }
.join__head h2 { margin-bottom: 22px; }
.join__mark { display: none; }
.join__panel { background: var(--tlo); border-radius: clamp(20px, 3vw, 32px); padding: clamp(22px, 4.5vw, 52px); }
.form { display: grid; gap: 24px; }
.form__grid { display: grid; gap: 20px; }
.pills { border: 0; margin: 0; padding: 0; min-width: 0; }
.pills legend { padding: 0; margin-bottom: 12px; }
.pills__list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; cursor: pointer; max-width: 100%; }
.pill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 20px; border: 1.5px solid var(--szarosc); border-radius: 999px; background: var(--biel); font-size: .96rem; line-height: 1.25; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.pill span::before { content: ""; width: 0; height: 8px; border-radius: 50%; background: var(--zloto-jasne); transition: width .25s var(--ease); }
.pill:hover span { border-color: var(--grafit); transform: translateY(-2px); }
.pill input:checked + span { background: var(--grafit); border-color: var(--grafit); color: #fff; }
.pill input:checked + span::before { width: 8px; }
.pill input:focus-visible + span { outline: 2px solid var(--zloto); outline-offset: 3px; }
.pills.is-invalid .pill span { border-color: #B3261E; }
.form .btn--lg { justify-self: start; margin-top: 4px; }
.form .check { margin-top: 0; }

/* ---------- 10. FAQ ---------- */
.faq__in { display: grid; gap: clamp(28px, 5vw, 64px); }
.faq__list { display: grid; gap: 12px; }
.faq details { background: var(--biel); border-radius: var(--r-s); border: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: var(--szarosc); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; font: 400 clamp(1.1rem, 2vw, 1.3rem)/1.3 var(--font-h); border-radius: var(--r-s); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background:
  linear-gradient(var(--grafit), var(--grafit)) center / 14px 1.5px no-repeat,
  linear-gradient(var(--grafit), var(--grafit)) center / 1.5px 14px no-repeat, var(--tlo); transition: transform .45s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--mgla); }
.faq__a { padding: 0 24px 24px; color: var(--tekst-2); max-width: 64ch; }
/* płynne rozwijanie w przeglądarkach, które to obsługują; w pozostałych po prostu się otwiera */
@supports (interpolate-size: allow-keywords) {
  .faq details { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}

/* ---------- 11. Stopka ---------- */
.footer { padding-top: clamp(56px, 8vw, 96px); }
.footer__in { display: grid; gap: 40px; padding-bottom: clamp(40px, 6vw, 72px); }
.footer__brand img:first-child { width: 120px; }
.footer__brand p { margin: 20px 0 14px; color: #D9DAD6; font-size: .95rem; }
.footer__verdent { width: 130px; opacity: .9; }
.footer__h { font: 400 1.25rem/1.2 var(--font-h); margin-bottom: 18px; letter-spacing: 0; }
.footer li + li { margin-top: 6px; }
.footer a { display: inline-block; padding: 6px 0; text-decoration: none; color: #E6E7E3; background: linear-gradient(var(--zloto-jasne), var(--zloto-jasne)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease), color .3s; overflow-wrap: anywhere; }
.footer a:hover { background-size: 100% 1px; color: #fff; }
.footer__bar { border-top: 1px solid rgba(241,240,236,.14); padding: 22px 0; font-size: .85rem; color: #B4B8B5; }

/* ==========================================================================
   Animacje wejścia (tylko gdy działa JS i użytkownik nie wyłączył animacji)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .card.reveal.is-in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
  .js .card.reveal.is-done { transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s; transition-delay: 0s; }

  /* nagłówki: słowo po słowie, z rozmyciem */
  .js [data-split] .w { display: inline-block; opacity: 0; transform: translateY(.6em); filter: blur(8px); transition: opacity .8s var(--ease), transform .9s var(--ease), filter .8s; transition-delay: calc(var(--i) * .06s); }
  .js [data-split].is-in .w { opacity: 1; transform: none; filter: none; }

  /* zdjęcia: odsłonięcie maską */
  .js .clip-reveal { clip-path: inset(12% 12% 12% 12% round 20px); opacity: 0; transition: clip-path 1.3s var(--ease), opacity .8s; }
  .js .clip-reveal.is-in { clip-path: inset(0 0 0 0 round 20px); opacity: 1; }
  .js .split__media--portrait.clip-reveal.is-in { clip-path: inset(-30px -30px -30px -30px); }

  [data-float] { animation: floaty 8s ease-in-out infinite; }
  @keyframes floaty { 50% { transform: translateY(-12px) rotate(1.5deg); } }

  /* hero: wejście elementów pod nagłówkiem */
  .js .hero .kicker, .js .hero__lead, .js .hero__cta { opacity: 0; transform: translateY(18px); animation: heroIn 1s var(--ease) forwards; }
  .js .hero .kicker { animation-delay: .1s; }
  .js .hero__lead { animation-delay: .75s; }
  .js .hero__cta { animation-delay: .95s; }
  @keyframes heroIn { to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee__track { animation: none; }
  .launch__title .w, .launch__line img { opacity: 1; transform: none; filter: none; }
  .launch__line img { transform: translateY(-62%); }
  .launch__line path { stroke-dashoffset: 0; }
  .tick circle, .tick path { stroke-dashoffset: 0; }
  .hero__video { display: none; }
}
/* bez JS: animacja startu pokazana od razu */
html:not(.js) .launch__title .w, html:not(.js) .launch__line img { opacity: 1; transform: translateY(-62%); filter: none; }
html:not(.js) .launch__line path { stroke-dashoffset: 0; }
/* wideo w hero: gdy skrypt je uruchamia, plakat z gotowym logo chowamy (animacja zaczyna od pustego tła) */
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .js .hero:not(.no-video) .hero__poster { opacity: 0; }
}

/* ==========================================================================
   RWD
   ========================================================================== */
@media (max-width: 399px) {
  .nav__logo { font-size: .84rem; letter-spacing: .04em; gap: 8px; }
  .nav__logo img { width: 28px; }
  .nav__in { gap: 6px; }
}
@media (min-width: 480px) {
  .ebook__row { grid-template-columns: 1fr auto; }
  .ebook__row .btn { min-height: 54px; margin-bottom: 0; }
  .ebook__row .field__err { position: absolute; }
  .ebook__row .field { position: relative; }
}
@media (min-width: 600px) {
  .countdown { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .form__grid { grid-template-columns: 1fr 1fr; }
  .plans__cards { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  :root { --pad: 32px; }
  .nav__in { height: 80px; }
  .nav__cta-long { display: inline; }
  .nav__cta-short { display: none; }
  .hero { padding-top: 88px; }
  .hero__media { width: min(84vw, 45svh, 680px); margin-bottom: -28px; }
  .hero__scroll { display: block; position: absolute; left: 50%; bottom: 14px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(41,44,45,.45); border-radius: 14px; }
  .hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--zloto); animation: wheel 1.8s var(--ease) infinite; }
  @keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
  .hero { padding-bottom: 68px; }
  .cards3 { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .about__head { grid-template-columns: 1fr auto; }
  .about__logo { width: 190px; }
  .footer__in { grid-template-columns: 1.3fr 1fr .8fr; }
}
@media (min-width: 900px) {
  .why__bg { opacity: .9; }
  .why__in { grid-template-columns: auto 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
  .why__num { font-size: clamp(11rem, 21vw, 19rem); }
  .split__in { grid-template-columns: 1fr 1fr; }
  .split--rev .split__media { order: 2; }
  .split__media { width: 100%; }
  .split__media--portrait { width: min(100%, 440px); }
  .host__in { grid-template-columns: 1fr 1fr; }
  .ebook { grid-template-columns: auto 1fr; }
  .join__in { grid-template-columns: .8fr 1.2fr; align-items: start; }
  .join__head { position: sticky; top: 120px; }
  .join__mark { display: block; width: 180px; margin-top: 56px; opacity: .12; }
  .faq__in { grid-template-columns: .7fr 1.3fr; align-items: start; }
  .faq h2 { position: sticky; top: 120px; }
}
@media (min-width: 1024px) {
  .nav__burger { display: none; }
  .nav__logo { margin-right: 0; }
  .nav__links { position: static; flex-direction: row; visibility: visible; opacity: 1; clip-path: none; background: none; padding: 0; gap: 4px; margin-inline: auto; transition: none; }
  .nav__links a:not(.btn) { font: 500 .95rem/1 var(--font-t); padding: 12px 14px; border-radius: 999px; position: relative; }
  .nav__links a:not(.btn)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1.5px; background: var(--zloto); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease); }
  .nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
  .nav__cta-menu { display: none; }
}
