/* WAWTURN — wersja 11. Kolory bez zmian: czerń (z umiarem), kość, glina i ich odcienie.
   Własny pomysł: klient znajduje firmę w mapach, klika „Witryna”, widzi złą stronę,
   a potem strona „robi zwrot” o 180° (WAW + TURN). Typy animacji jak w przykładzie
   (przypięte przewijanie, obroty zależne od przewijania, ruch w poziomie), treść i układ nasze.
   Fonty: Fraunces (nagłówki) + Inter (tekst) + systemowy mono, lokalnie z fonts/ (SIL OFL). */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/fraunces-latin-ext-full-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/fraunces-latin-full-normal.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: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url(fonts/fraunces-latin-ext-full-italic.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url(fonts/fraunces-latin-full-italic.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: 100 900; font-display: swap;
  src: url(fonts/inter-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/inter-latin-wght-normal.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; }

:root {
  /* trzy kolory bazowe */
  --black: #141414;
  --bone: #ebe8e1;
  --clay: #a9785e;

  /* odcienie: mieszanki tych samych trzech kolorów */
  --black-warm: #1f1a17;   /* czerń + odrobina gliny */
  --bone-light: #f3f1ec;   /* jaśniejsza kość */
  --bone-clay: #e2d6cb;    /* kość + glina */
  --clay-light: #c9a28c;   /* glina + kość */
  --clay-deep: #84563f;    /* glina + czerń */
  --river: #6f97a6;        /* rzeki na mapie: spokojny, przygaszony niebieski */

  --black-70: rgba(20, 20, 20, .72);
  --bone-70: rgba(235, 232, 225, .72);
  --line-on-bone: rgba(20, 20, 20, .12);
  --line-on-black: rgba(235, 232, 225, .14);
  --shadow-soft: 0 1px 2px rgba(20, 20, 20, .06), 0 14px 30px -18px rgba(20, 20, 20, .35);
  --shadow-lift: 0 2px 6px rgba(20, 20, 20, .08), 0 30px 60px -28px rgba(31, 26, 23, .55);

  /* delikatne ziarno (szum SVG), nakładane na powierzchnie */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");

  --max: 1240px;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
:root { interpolate-size: allow-keywords; }
html { scroll-behavior: smooth; background: var(--black); }
body {
  margin: 0; background: var(--bone); color: var(--black); counter-reset: sec;
  font-family: var(--sans); font-size: 1.1875rem; line-height: 1.6; letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::selection { background: var(--clay); color: var(--black); }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--bone); color: var(--black); padding: .6rem 1rem; border-radius: .4rem; font-weight: 600;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

.draft-badge {
  position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 60;
  background: var(--bone-light); color: var(--black); border: 1px solid var(--line-on-bone);
  padding: .45rem .9rem; border-radius: 999px; font-size: .78rem; white-space: nowrap; box-shadow: var(--shadow-lift);
}

/* Pasek postępu przewijania */
.progress { display: none; }
.js .progress {
  display: block; position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 70;
  background: linear-gradient(90deg, var(--clay-deep), var(--clay), var(--clay-light));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Nagłówek: szklana kapsuła ---------- */
.site-header {
  position: fixed; z-index: 50; top: .8rem; left: clamp(.6rem, 2.5vw, 2rem); right: clamp(.6rem, 2.5vw, 2rem);
  display: flex; align-items: center; gap: 1.6rem; padding: .55rem .55rem .55rem 1.4rem; border-radius: 999px;
  color: var(--bone); background: rgba(20, 20, 20, .32); border: 1px solid var(--line-on-black);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  transition: color .35s, background-color .35s, box-shadow .35s, border-color .35s, left .6s var(--ease), right .6s var(--ease), top .6s var(--ease), transform 1s var(--ease) .2s;
}
.js .site-header { transform: translateY(-150%); }
.js.loaded .site-header { transform: none; }
.site-header.is-scrolled { background: rgba(20, 20, 20, .62); }
.site-header.on-light { color: var(--black); background: rgba(243, 241, 236, .55); border-color: var(--line-on-bone); }
.site-header.on-light.is-scrolled { background: rgba(243, 241, 236, .82); box-shadow: var(--shadow-soft); }
@media (min-width: 901px) {
  .site-header.is-scrolled { left: max(1rem, calc(50% - 38rem)); right: max(1rem, calc(50% - 38rem)); top: .5rem; }
}
.wordmark { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; letter-spacing: .02em; text-decoration: none; line-height: 1; }
.wordmark span { font-style: italic; color: var(--clay); }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a { text-decoration: none; font-size: 1.02rem; position: relative; opacity: .78; transition: opacity .3s; }
.nav a:hover { opacity: 1; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.3rem; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; }

/* ---------- Przyciski i linki ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 550; white-space: nowrap;
  padding: .95rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  transition: transform .4s var(--ease), box-shadow .4s, background-position .6s var(--ease), color .3s, border-color .3s;
}
.btn > span { display: inline-block; transition: transform .45s var(--ease); }
.btn:hover > span { transform: translate(3px, -3px) rotate(45deg); }
.btn-accent {
  color: var(--black); background: linear-gradient(110deg, var(--bone-light), var(--bone) 45%, var(--clay-light)) 0 0 / 220% 100%;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .8);
}
.btn-accent:hover, .btn-dark:hover { background-position: 100% 0; }
.btn-dark, .on-light .btn-accent {
  color: var(--bone); background: linear-gradient(110deg, var(--black), var(--black-warm) 50%, var(--clay-deep)) 0 0 / 220% 100%;
  box-shadow: 0 12px 26px -16px rgba(20, 20, 20, .9);
}
.btn-small { padding: .55rem 1.2rem; font-size: 1rem; }
.link-line {
  text-decoration: none; font-weight: 550; padding-bottom: .25rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.link-line:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Typografia ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 3rem); }
.eyebrow {
  font-family: var(--mono); font-weight: 500; font-size: .84rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--clay-light); display: flex; align-items: center; gap: .8rem; margin-bottom: 1.4rem;
}
main section:not(.intro) .eyebrow { counter-increment: sec; }
main section:not(.intro) .eyebrow::before { content: "0" counter(sec) " //"; opacity: .6; }
.light .eyebrow, .dark .eyebrow { color: var(--black); opacity: .7; }
.eyebrow-live { align-items: flex-start; }
.eyebrow-live::before {
  content: ""; flex: none; margin-top: .42em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--clay-light);
  animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(201, 162, 140, .55); } 70%, 100% { box-shadow: 0 0 0 .7rem rgba(201, 162, 140, 0); } }

.h2, .hero-title, .contact-title { font-family: var(--serif); font-weight: 420; letter-spacing: -.012em; line-height: 1; font-variation-settings: "SOFT" 50; }
.h2 { font-size: clamp(2.9rem, 7.4vw, 6.4rem); margin-bottom: 2.6rem; }
.accent, .accent-ink {
  font-style: italic; color: var(--clay);
  background: linear-gradient(100deg, var(--clay-light), var(--clay) 55%, var(--clay-deep));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.light .accent, .dark .accent { background-image: linear-gradient(100deg, var(--clay), var(--clay-deep)); }
.lead { font-size: clamp(1.25rem, 2vw, 1.55rem); max-width: 40rem; color: var(--black-70); }
.note { margin-top: 2.4rem; font-size: 1rem; color: var(--black-70); }

/* linie nagłówków wysuwane spod maski z lekkim obrotem */
.line { display: block; overflow: hidden; padding: 0 .14em .26em 0; margin-bottom: -.12em; }
.line > span { display: inline-block; }
.line > .accent { padding-bottom: .22em; margin-bottom: -.22em; }
.js .line > span { transform: translateY(110%) rotate(5deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease); }
.js .is-in .line > span { transform: none; }
.js .line:nth-child(2) > span { transition-delay: .08s; }
.js .line:nth-child(3) > span { transition-delay: .16s; }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =====================================================================
   1. WSTĘP — „od wizytówki do strony”: mapa, pinezka, wizytówka,
   trzy złe wyniki i zwrot o 180° (przewijanie „przypięte”)
   ===================================================================== */
.intro {
  position: relative; color: var(--bone);
  background: var(--grain), radial-gradient(70vmax 50vmax at 70% 60%, rgba(169, 120, 94, .16), transparent 60%), linear-gradient(180deg, var(--black), var(--black-warm));
}
.intro-sticky { position: relative; height: 100svh; min-height: 40rem; overflow: hidden; }
.js .intro { height: 560svh; }
.js .intro-sticky { position: sticky; top: 0; min-height: 0; }
.intro-sticky::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(50vmax 40vmax at 72% 52%, rgba(201, 162, 140, .34), transparent 65%);
  transition: opacity 1.4s var(--ease);
}
.is-turn .intro-sticky::before { opacity: 1; }

/* siatka w tle: linie rysują się po wejściu, przy przewijaniu lekko się przybliża */
.map {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; color: rgba(235, 232, 225, .1);
  transform: scale(calc(1 + var(--p, 0) * .4)); transform-origin: 66% 52%;
}
.js .map path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--ease); }
.js.loaded .map path { stroke-dashoffset: 0; }
.js .streets path:nth-child(2n) { transition-delay: .15s; }
.js .streets path:nth-child(3n) { transition-delay: .3s; }

.hero-hud {
  position: absolute; z-index: 3; top: 5.6rem; left: clamp(1.1rem, 4vw, 3rem); right: clamp(1.1rem, 4vw, 3rem);
  display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; opacity: .55;
}
.hero-hud b { font-weight: 500; font-variant-numeric: tabular-nums; }
.js .hero-hud { opacity: 0; transition: opacity 1s var(--ease) .8s; }
.js.loaded .hero-hud { opacity: .55; }

/* tarcza zwrotu 0° → 180° */
.dial { display: none; }
.js .dial {
  display: block; position: absolute; z-index: 3; right: clamp(1.1rem, 4vw, 3rem); bottom: clamp(2.5rem, 7vh, 4rem);
  width: 5.6rem; aspect-ratio: 1; color: var(--clay-light);
}
.dial-ring {
  position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(235, 232, 225, .18);
  background: repeating-conic-gradient(from 0deg, rgba(235, 232, 225, .35) 0 1deg, transparent 1deg 15deg);
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%); mask: radial-gradient(circle, transparent 62%, #000 63%);
}
.dial-needle {
  position: absolute; left: 50%; top: 50%; width: 46%; height: 1.5px; background: currentColor; transform-origin: 0 50%;
  transform: rotate(calc(180deg + var(--deg, 0) * 1deg));
}
.dial-needle::before { content: ""; position: absolute; left: -4px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.dial b {
  position: absolute; left: 50%; top: calc(100% + .5rem); transform: translateX(-50%);
  font-family: var(--mono); font-weight: 500; font-size: .75rem; letter-spacing: .12em; font-variant-numeric: tabular-nums; color: var(--bone-70);
}

/* tekst pierwszego ekranu */
.intro-copy {
  position: absolute; z-index: 4; left: clamp(1.1rem, 4vw, 3rem); bottom: clamp(3rem, 10vh, 7rem); width: min(52%, 46rem);
  transition: opacity .6s var(--ease), transform .9s var(--ease), visibility .6s;
}
.js .intro.is-card .intro-copy { opacity: 0; transform: translateY(-8vh); visibility: hidden; }
.hero-title { font-size: clamp(3.2rem, 8.4vw, 8.6rem); margin-bottom: 1.8rem; }
.hero-title .line > span { white-space: nowrap; }
.js .hero-title .line > span {
  opacity: 0; filter: blur(14px); letter-spacing: .12em;
  transition: transform 1.3s var(--ease), opacity 1.1s var(--ease), filter 1.3s var(--ease), letter-spacing 1.5s var(--ease);
}
.js .hero-title.is-in .line > span { opacity: 1; filter: blur(0); letter-spacing: inherit; }
.js .hero-title .line:nth-child(2) > span { transition-delay: .14s; }
.js .hero-title .line:nth-child(3) > span { transition-delay: .28s; }
.hero-lead { max-width: 34rem; font-size: clamp(1.15rem, 1.6vw, 1.4rem); color: var(--bone-70); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; }
.scroll-hint { display: grid; gap: .1rem; font-size: .98rem; line-height: 1.3; }
.scroll-hint > span { position: relative; padding-right: 1.4rem; }
.scroll-hint > span::after { content: "↓"; position: absolute; right: 0; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }
.skip { font-size: .85rem; opacity: .55; text-decoration: underline; text-underline-offset: .2em; }
.skip:hover { opacity: 1; }

/* podpisy etapów */
.caps { display: none; }
.js .caps { display: block; list-style: none; margin: 0; padding: 0; position: absolute; z-index: 4; left: clamp(1.1rem, 4vw, 3rem); top: 50%; width: min(44vw, 40rem); }
.caps li {
  position: absolute; left: 0; top: 0; width: 100%;
  font-family: var(--serif); font-weight: 420; font-size: clamp(2.6rem, 5.4vw, 5.6rem); line-height: 1.02; letter-spacing: -.02em;
  opacity: 0; transform: translateY(-50%) rotateX(-70deg) translateY(30px); transform-origin: 50% 100%;
  transition: opacity .5s var(--ease), transform .9s var(--ease);
}
.caps li small {
  display: block; margin-bottom: 1.1rem; font-family: var(--mono); font-size: .8rem; letter-spacing: .16em; color: var(--clay-light);
}
.caps li small::after { content: " / 04"; opacity: .5; }
.caps em { font-style: italic; color: var(--clay-light); }
.caps li.past { transform: translateY(-50%) rotateX(70deg) translateY(-30px); transform-origin: 50% 0; }
.caps li.on { opacity: 1; transform: translateY(-50%); }
.js .intro { perspective: 1400px; }

/* „Tak może wyglądać Twoja strona.” */
.done { display: none; }
.js .done {
  display: block; position: absolute; z-index: 4; left: clamp(1.1rem, 4vw, 3rem); top: 50%; width: min(46vw, 42rem);
  opacity: 0; visibility: hidden; transform: translateY(-35%);
  transition: opacity .7s var(--ease), transform 1s var(--ease), visibility .7s;
}
.is-done .done { opacity: 1; visibility: visible; transform: translateY(-50%); }
.done-title { font-family: var(--serif); font-weight: 420; font-size: clamp(2.8rem, 5.6vw, 5.8rem); line-height: 1.02; letter-spacing: -.02em; margin-bottom: 1.8rem; }
.done-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }

/* scena */
.scene {
  position: absolute; z-index: 3; right: clamp(1rem, 5vw, 5rem); top: 53%; width: min(44vw, 640px); aspect-ratio: 673.8 / 636.0;
  transform: translateY(-50%); container-type: inline-size;
}
.pin {
  position: absolute; left: 67.31%; top: 45.75%; width: 6cqw; height: 6cqw; border-radius: 50% 50% 50% 0;
  background: linear-gradient(150deg, var(--clay-light), var(--clay-deep)); transform: translate(-50%, -100%) rotate(-45deg);
  transition: opacity .6s var(--ease), transform .9s var(--ease);
}
.pin i { position: absolute; inset: 32%; border-radius: 50%; background: var(--bone-light); }
.pin::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; border-radius: 50%;
  animation: ping 2.4s var(--ease) infinite;
}
.pin-label {
  position: absolute; left: calc(67.31% + 4.5cqw); top: calc(45.75% - 7.5cqw); font-family: var(--mono); font-size: 2.4cqw; letter-spacing: .14em;
  text-transform: uppercase; color: var(--bone-70); transition: opacity .5s;
}
/* mapa Polski: kontur i Wisła rysują się po wejściu, przy przewijaniu przybliżamy Warszawę */
.poland {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  transform-origin: 67.31% 45.75%; transform: scale(calc(1 + var(--p, 0) * .9));
  transition: opacity .9s var(--ease);
}
.pl-land { fill: rgba(235, 232, 225, .035); stroke: rgba(235, 232, 225, .6); stroke-width: 1.4; stroke-linejoin: round; }
.pl-river { fill: none; stroke: var(--river); stroke-width: 3; stroke-linecap: round; opacity: .9; }
.pl-cross line { stroke: var(--clay-light); stroke-width: 1; stroke-dasharray: 3 7; opacity: .4; }
.pl-cities circle { fill: var(--bone); opacity: .35; }
.pl-labels text {
  font-family: var(--sans); font-size: 12.5px; font-weight: 450; letter-spacing: .02em;
  fill: var(--bone); opacity: .42; dominant-baseline: middle;
}
.js .poland path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.8s var(--ease), fill 1.6s ease 1.6s; }
.js .pl-land { fill: transparent; }
.js .pl-wisla { transition-delay: .9s; }
.js.loaded .poland path { stroke-dashoffset: 0; }
.js.loaded .pl-land { fill: rgba(235, 232, 225, .035); }
.js .pl-cross, .js .pl-cities, .js .pl-labels { opacity: 0; transition: opacity 1.2s ease 1.8s; }
.js.loaded .pl-cross, .js.loaded .pl-cities, .js.loaded .pl-labels { opacity: 1; }
/* rzeźba terenu: miękki cień gór i poziomice, rysują się po konturze */
.rl-band { fill: none; stroke: var(--clay); stroke-width: 44; stroke-linecap: round; opacity: .22; }
.rl-line { fill: none; stroke: var(--clay-light); stroke-width: 1; stroke-linecap: round; }
.rl-0 { opacity: .75; } .rl-1 { opacity: .5; } .rl-2 { opacity: .34; } .rl-3 { opacity: .2; }
.rl-peak { fill: var(--clay-light); opacity: .85; }
.pl-odra { stroke-width: 2.6; opacity: .7; }
.js .pl-relief .rl-line { transition-delay: 1.1s; transition-duration: 3s; }
.js .rl-band { opacity: 0; transition: opacity 2s ease 1.4s; }
.js.loaded .rl-band { opacity: .22; }
.js .pl-peaks { opacity: 0; transition: opacity 1s ease 2.4s; }
.js.loaded .pl-peaks { opacity: 1; }
.js .pl-odra { transition-delay: 1.3s; }
.is-card .poland { opacity: .28; }
.js .intro:not(.loaded *) .pin { opacity: 0; transform: translate(-50%, -160%) rotate(-45deg); }
.is-card .pin { transform: translate(-50%, -100%) rotate(-45deg) scale(.6); opacity: 0; }
.is-card .pin-label { opacity: 0; }

.turn { position: absolute; left: 13%; top: 4%; width: 74%; height: 90%; perspective: 1600px; transform-origin: 73.4% 46.4%; transition: opacity .7s var(--ease), filter .7s, transform 1s var(--ease); }
.js .intro:not(.is-card) .turn { opacity: 0; transform: scale(.12); }
.is-bad .turn { opacity: .22; filter: blur(3px); transform: scale(.94); }
.turn-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 1.5s cubic-bezier(.7, 0, .2, 1); }
.is-turn .turn-in { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; border-radius: 3cqw; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .85); }

.biz { display: flex; flex-direction: column; gap: 1.4cqw; padding-bottom: 5cqw; background: var(--bone-light); color: var(--black); }
.biz-photo {
  height: 44%; margin-bottom: 2cqw;
  background: var(--grain), radial-gradient(circle at 30% 30%, rgba(243, 241, 236, .65), transparent 22%), radial-gradient(80% 60% at 75% 85%, rgba(201, 162, 140, .7), transparent 60%), linear-gradient(150deg, var(--clay-deep), #2b1e17 60%, var(--black));
}
.biz-name { padding: 0 5cqw; font-family: var(--serif); font-weight: 450; font-size: 7cqw; line-height: 1.05; letter-spacing: -.015em; }
.biz-meta { padding: 0 5cqw; font-size: 3cqw; color: var(--black-70); }
.biz-meta b { color: var(--clay-deep); font-weight: 600; }
.biz-actions { display: flex; gap: 2cqw; margin-top: auto; padding: 0 5cqw; }
.biz-actions > span {
  padding: 1.6cqw 3.2cqw; border-radius: 99px; border: 1px solid rgba(20, 20, 20, .18); font-size: 2.9cqw; font-weight: 600;
  transition: background-color .4s, color .4s, border-color .4s, transform .4s var(--ease);
}
.is-click .biz-www, .is-bad .biz-www { background: var(--clay); border-color: var(--clay); transform: scale(1.08); }

.site { transform: rotateY(180deg); display: grid; align-content: start; gap: 2cqw; padding: 4cqw 5cqw; background: var(--bone-light); color: var(--black); }
.site-bar { display: flex; align-items: center; gap: 2.4cqw; padding-bottom: 2cqw; border-bottom: 1px solid rgba(20, 20, 20, .12); }
.site-bar b { font-family: var(--mono); font-weight: 600; font-size: 2.2cqw; letter-spacing: .14em; }
.site-bar i { display: block; width: 6cqw; height: .5cqw; border-radius: 1cqw; background: currentColor; opacity: .25; }
.site-bar i:first-of-type { margin-left: auto; }
.site-bar span { font-size: 2.2cqw; font-weight: 600; padding: .8cqw 2cqw; border-radius: 99px; background: var(--black); color: var(--bone); }
.site-kicker { margin-top: 2cqw; font-family: var(--mono); font-size: 2.3cqw; letter-spacing: .14em; text-transform: uppercase; color: var(--clay-deep); }
.site-h { font-family: var(--serif); font-weight: 420; font-size: 9.5cqw; line-height: .95; letter-spacing: -.02em; }
.site-h em { color: var(--clay); }
.site-btn { justify-self: start; font-size: 2.8cqw; font-weight: 600; padding: 1.6cqw 3.2cqw; border-radius: 99px; background: var(--clay); }
.site-img { height: 20cqw; border-radius: 2cqw; background: var(--grain), radial-gradient(circle at 70% 30%, rgba(243, 241, 236, .55), transparent 25%), linear-gradient(200deg, var(--clay), var(--clay-deep) 60%, #2b1e17); }
.site-chips { display: flex; gap: 1.6cqw; }
.site-chips span { font-family: var(--mono); font-size: 2.2cqw; padding: .8cqw 1.8cqw; border-radius: 99px; border: 1px solid rgba(20, 20, 20, .16); }
.is-turn .site > * { animation: acc-in .8s var(--ease) both; animation-delay: calc(.7s + var(--k, 0) * .08s); }
.site > :nth-child(2) { --k: 1; } .site > :nth-child(3) { --k: 2; } .site > :nth-child(4) { --k: 3; } .site > :nth-child(5) { --k: 4; } .site > :nth-child(6) { --k: 5; }

/* kursor-strzałka, który klika „Witryna” (bez świecenia, porusza się sam) */
.pointer { display: none; }
.js .pointer {
  display: block; position: absolute; z-index: 5; left: 96%; top: 104%; width: 6cqw; opacity: 0;
  transition: left 1s var(--ease), top 1s var(--ease), opacity .5s;
}
.pointer svg { display: block; width: 100%; fill: var(--bone-light); stroke: var(--black); stroke-width: 1.2; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); }
.is-click .pointer { left: 72%; top: 85%; opacity: 1; }
.is-click .pointer svg { animation: press .5s var(--ease) 1s both; }
@keyframes press { 50% { transform: scale(.78); } }

/* trzy złe wyniki rozkładają się jak karty */
.bad { display: none; }
.js .bad {
  display: grid; align-content: start; gap: 2cqw; position: absolute; z-index: 4; left: 50%; top: 50%; width: 46%; aspect-ratio: 4 / 3.2;
  padding: 3cqw; border-radius: 2cqw; color: var(--black); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .9);
  opacity: 0; transform: translate(-50%, -50%) scale(.3);
  transition: transform 1s var(--ease), opacity .5s var(--ease);
}
.is-bad .bad { opacity: 1; transform: translate(calc(-50% + var(--fx)), calc(-50% + var(--fy))) rotate(var(--fr)); }
.is-bad .bad-2 { transition-delay: .08s; } .is-bad .bad-3 { transition-delay: .16s; }
.bad-1 { --fx: -28cqw; --fy: -14cqw; --fr: -9deg; background: var(--bone-light); }
.bad-2 { --fx: 6cqw; --fy: -22cqw; --fr: 4deg; background: var(--bone-clay); }
.bad-3 { --fx: 22cqw; --fy: 16cqw; --fr: 10deg; background: #d9d4ca; }
.bad-url { font-family: var(--mono); font-size: 2.1cqw; padding: .8cqw 1.6cqw; border-radius: 99px; background: rgba(20, 20, 20, .07); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bad-warn { color: var(--clay-deep); }
.bad-1 b { font-family: var(--mono); font-weight: 600; font-size: 13cqw; line-height: 1; letter-spacing: -.04em; color: var(--clay-deep); margin-top: 2cqw; }
.bad-1 > span:last-child { font-size: 2.6cqw; color: var(--black-70); }
.bad-lines { display: grid; gap: 1.6cqw; margin-top: 1cqw; }
.bad-lines i { display: block; height: 2.4cqw; border-radius: 1cqw; background: rgba(20, 20, 20, .14); }
.bad-lines i:nth-child(2) { width: 70%; } .bad-lines i:nth-child(3) { width: 45%; }
.bad-lines.tiny { gap: 1cqw; } .bad-lines.tiny i { height: 1cqw; } .bad-lines.tiny i:nth-child(4) { width: 80%; }
.bad-tag { justify-self: start; font-family: var(--mono); font-size: 2.2cqw; letter-spacing: .1em; padding: .8cqw 1.8cqw; border-radius: .6cqw; border: 1px solid currentColor; opacity: .6; }
.bad-foot { margin-top: auto; font-family: var(--serif); font-size: 2.4cqw; opacity: .55; }

/* =====================================================================
   Sekcje jasne
   ===================================================================== */
.section { position: relative; padding: clamp(5rem, 12vw, 9rem) 0; }
.light { color: var(--black); background: linear-gradient(180deg, var(--bone-light), var(--bone) 60%); }
.dark { color: var(--black); background: var(--grain), radial-gradient(80vmax 50vmax at 0% 0%, rgba(169, 120, 94, .16), transparent 60%), var(--bone-clay); }
.section { --grid-c: rgba(20, 20, 20, .055); }
.section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid-c) 1px, transparent 1px), linear-gradient(90deg, var(--grid-c) 1px, transparent 1px);
  background-size: 72px 72px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 0%, #000 10%, transparent 75%);
          mask-image: radial-gradient(ellipse 85% 70% at 50% 0%, #000 10%, transparent 75%);
}
.section > .wrap { position: relative; z-index: 1; }
@keyframes acc-in { from { opacity: 0; transform: translateY(-10px); } }

/* =====================================================================
   2. DLA KOGO — karta: u góry „dziś”, pod spodem „po zwrocie”.
   Animacja tylko raz przy wejściu (karta wjeżdża, znak ↻ obraca się o 180°,
   dolna część się odsłania). Potem tekst stoi w miejscu.
   ===================================================================== */
.flips { list-style: none; margin: 3.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; align-items: stretch; }
.fcard {
  position: relative; display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; border-radius: 1.3rem; overflow: hidden;
  background: rgba(243, 241, 236, .9); border: 1px solid var(--line-on-bone); box-shadow: var(--shadow-soft);
}
.fcard-top, .fcard-bottom { position: relative; display: flex; flex-direction: column; gap: .8rem; padding: 1.7rem 1.8rem; }
.fcard-top { padding-bottom: 2.2rem; }
.fcard-bottom {
  padding-top: 2.3rem; color: var(--black);
  background: var(--grain), radial-gradient(70% 60% at 100% 0%, rgba(243, 241, 236, .35), transparent 60%), linear-gradient(150deg, var(--clay-light), var(--clay) 55%, var(--clay-deep));
}
.fcard-tag {
  position: absolute; right: 1.4rem; top: 1.4rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; padding: .3rem .6rem; border: 1px solid currentColor; border-radius: .3rem; opacity: .5;
}
.fcard-num { font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.fcard h3 { font-family: var(--serif); font-weight: 450; font-size: clamp(1.55rem, 2.2vw, 2rem); line-height: 1.1; letter-spacing: -.01em; }
.fcard-top h3 { margin-top: 1rem; }
.fcard p { color: var(--black-70); }
.fcard-bottom p { color: rgba(20, 20, 20, .82); }
.fcard-pkg { margin-top: auto; align-self: flex-start; padding: .45rem .95rem; border-radius: 99px; background: var(--black); color: var(--bone); font-size: .92rem; font-weight: 600; }
.fcard-turn {
  position: relative; z-index: 2; justify-self: start; margin: -1.4rem 0 -1.4rem 1.6rem;
  width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--black); color: var(--bone); font-size: 1.25rem; line-height: 1; box-shadow: 0 8px 18px -8px rgba(20, 20, 20, .6);
}
.js .fcard { transition-delay: calc(var(--n) * .12s); }
.js .fcard .fcard-bottom { clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease); transition-delay: calc(.45s + var(--n) * .12s); }
.js .fcard.is-in .fcard-bottom { clip-path: inset(0 0 0 0); }
.js .fcard .fcard-turn { opacity: 0; transform: rotate(-180deg) scale(.5); transition: transform 1s var(--ease), opacity .5s; transition-delay: calc(.3s + var(--n) * .12s); }
.js .fcard.is-in .fcard-turn { opacity: 1; transform: none; }

/* =====================================================================
   3. PAKIETY — karty „wstają” z pochylenia
   ===================================================================== */
.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; perspective: 1400px; }
.package {
  display: flex; flex-direction: column; gap: 1rem; min-height: 22rem; padding: 2rem; border-radius: 1.4rem;
  background: rgba(243, 241, 236, .62); border: 1px solid var(--line-on-bone); box-shadow: var(--shadow-soft);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.package-featured { color: var(--bone); background: var(--grain), radial-gradient(80% 70% at 90% 0%, rgba(169, 120, 94, .35), transparent 60%), linear-gradient(150deg, var(--black-warm), #0f0d0c); border-color: transparent; }
.package h3 { font-family: var(--serif); font-weight: 450; font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1.05; }
.package p { color: var(--black-70); }
.package-featured p { color: var(--bone-70); }
.pkg-letter {
  width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid currentColor;
  font-weight: 600; transition: transform .7s var(--ease), background-color .4s, color .4s, border-color .4s;
}
.package:hover .pkg-letter { transform: rotate(360deg); background: var(--clay); border-color: var(--clay); color: var(--black); }
.price { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line-on-bone); font-family: var(--mono); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.package-featured .price { border-top-color: var(--line-on-black); }
.price em { font-style: normal; text-transform: none; color: var(--clay-deep); margin-left: .4rem; }
.package-featured .price em { color: var(--clay-light); }
.js .tilt-in {
  opacity: 0; transform: rotateX(-42deg) translateY(70px); transform-origin: 50% 100%;
  transition: opacity .9s var(--ease), transform 1.2s var(--ease), box-shadow .5s; transition-delay: calc(var(--n) * .12s);
}
.js .tilt-in.is-in { opacity: 1; transform: none; }
.js .tilt-in.is-in:hover, .package:hover { transform: translateY(-6px); transition-delay: 0s; box-shadow: var(--shadow-lift); }

/* =====================================================================
   4. REALIZACJE — projekty jadą w bok i lekko się obracają
   ===================================================================== */
.works { position: relative; color: var(--bone); background: var(--grain), radial-gradient(60vmax 40vmax at 20% 100%, rgba(169, 120, 94, .18), transparent 60%), linear-gradient(180deg, var(--black-warm), var(--black)); }
.works-sticky { padding: clamp(5rem, 12vw, 8rem) 0; overflow: hidden; }
.js .works { height: 330svh; }
.js .works-sticky { position: sticky; top: 0; height: 100svh; padding: 6rem 0 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.works-head { width: 100%; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.works .h2 { font-size: clamp(2.5rem, 5.4vw, 5.2rem); margin-bottom: 0; }
.works-count { display: none; }
.js .works-count { display: grid; gap: .6rem; justify-items: end; font-family: var(--mono); font-size: .9rem; letter-spacing: .12em; color: var(--bone-70); }
.works-count b { font-weight: 500; color: var(--bone); font-size: 1.6rem; }
.works-bar { display: block; width: 10rem; height: 1px; background: var(--line-on-black); }
.works-bar i { display: block; height: 100%; background: var(--clay-light); transform-origin: 0 50%; transform: scaleX(var(--wp, 0)); }
.works-track { list-style: none; margin: 0; padding: 3rem clamp(1.1rem, 4vw, 3rem) 0; display: grid; gap: 4rem; }
.js .works-track { padding-left: calc((100vw - var(--ww)) / 2); padding-right: calc((100vw - var(--ww)) / 2); display: flex; width: max-content; gap: clamp(2rem, 5vw, 5rem); transform: translate3d(var(--wx, 0px), 0, 0); will-change: transform; perspective: 1600px; }
.works { --ww: min(76vw, 1040px); }
.work { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(1.5rem, 3vw, 2.6rem); align-items: center; width: var(--ww); }
.browser {
  border-radius: 1rem; overflow: hidden; background: var(--bone-light); color: var(--black); container-type: inline-size;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .85);
  transform: rotateY(calc(var(--off, 0) * -16deg)) scale(calc(1 - var(--offa, 0) * .08)); transition: transform .2s linear;
}
.browser-bar { display: flex; align-items: center; gap: 1.1cqw; padding: 1.4cqw 1.8cqw; background: var(--bone-clay); }
.browser-bar i { width: 1.3cqw; height: 1.3cqw; border-radius: 50%; background: rgba(20, 20, 20, .2); }
.browser-bar span { flex: 1; margin-left: 1.6cqw; padding: .5cqw 1.6cqw; border-radius: 99px; background: var(--bone-light); font-family: var(--mono); font-size: 1.7cqw; color: var(--black-70); }
.browser-body { aspect-ratio: 16 / 9.4; padding: 4cqw; position: relative; }
.demo { display: grid; align-content: start; gap: 3cqw; color: var(--bone); background: var(--grain), radial-gradient(70% 60% at 85% 0%, rgba(169, 120, 94, .3), transparent 60%), linear-gradient(160deg, #1d1816, var(--black)); }
.demo .site-bar { border-bottom-color: var(--line-on-black); }
.demo .site-bar span { background: var(--clay); color: var(--black); }
.demo .site-h { font-size: 7.5cqw; }
.demo .site-h em { color: var(--clay-light); }
.demo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; }
.demo-row i { aspect-ratio: 4 / 3; border-radius: 1.6cqw; background: var(--grain), radial-gradient(circle at 30% 28%, rgba(243, 241, 236, .5), transparent 25%), linear-gradient(150deg, var(--clay-deep), var(--black)); }
.demo-row i:nth-child(2) { background: var(--grain), linear-gradient(200deg, var(--clay), var(--clay-deep)); }
.soon, .free { display: grid; place-items: center; text-align: center; }
.soon { background: var(--bone-clay); font-family: var(--mono); font-size: 3cqw; letter-spacing: .2em; text-transform: uppercase; color: var(--black-70); }
.free { font-family: var(--serif); font-style: italic; font-size: 6cqw; line-height: 1.05; color: var(--clay-deep); outline: 2px dashed rgba(20, 20, 20, .2); outline-offset: -3cqw; }
.work-info { display: grid; gap: .8rem; justify-items: start; }
.work-num { font-family: var(--mono); font-size: .85rem; letter-spacing: .14em; color: var(--clay-light); }
.work-info h3 { font-family: var(--serif); font-weight: 420; font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1; letter-spacing: -.02em; }
.work-info p { color: var(--bone-70); }
.work-info .link-line, .work-info .btn { margin-top: .6rem; }
.work-note { font-size: .9rem; max-width: 22rem; opacity: .75; }

/* =====================================================================
   5. JAK PRACUJEMY — licznik obraca cyfry, linia rośnie
   ===================================================================== */
.steps-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.steps-side { position: sticky; top: 7rem; }
.odo { display: none; }
.js .odo {
  display: flex; align-items: flex-start; gap: .8rem; height: 1em; overflow: hidden;
  font-family: var(--serif); font-weight: 400; font-size: clamp(6rem, 13vw, 11rem); line-height: 1; color: var(--clay);
}
.odo-col { display: flex; flex-direction: column; transform: translateY(calc(var(--o, 0) * -1em)); transition: transform .9s var(--ease); }
.odo-col span { height: 1em; }
.odo small { align-self: flex-end; margin-bottom: .9rem; font-family: var(--mono); font-size: .9rem; letter-spacing: .14em; color: var(--black-70); }
.steps { list-style: none; margin: 0; padding: 0 0 0 2.6rem; position: relative; counter-reset: step; }
.steps::before, .steps::after { content: ""; position: absolute; left: .5rem; top: 2.2rem; bottom: 2.2rem; width: 1px; background: var(--line-on-bone); }
.steps::after { background: var(--clay); transform-origin: 50% 0; transform: scaleY(var(--sp, 1)); }
.js .steps::after { transform: scaleY(var(--sp, 0)); }
.step { position: relative; padding: 1.6rem 0 2.2rem; counter-increment: step; }
.step::before {
  content: ""; position: absolute; left: -2.6rem; top: 2.15rem; width: 1rem; height: 1rem; margin-left: .03rem; border-radius: 50%;
  background: var(--bone-light); border: 1px solid rgba(20, 20, 20, .3); transition: background-color .4s, border-color .4s;
}
.step h3 { font-family: var(--serif); font-weight: 450; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.1; margin-bottom: .5rem; }
.step h3::before { content: "0" counter(step) "  "; font-family: var(--mono); font-size: .8rem; letter-spacing: .14em; color: var(--clay-deep); vertical-align: .5em; white-space: pre; }
.step p { color: var(--black-70); max-width: 32rem; }
.js .step { opacity: .32; transition: opacity .6s var(--ease); }
.js .step.past, .js .step.on { opacity: 1; }
.step.on::before, .step.past::before { background: var(--clay); border-color: var(--clay); }
.step.on::before { animation: ping 2.4s var(--ease) infinite; }

/* =====================================================================
   Pasek z usługami
   ===================================================================== */
.marquee { background: var(--black); color: var(--bone); overflow: hidden; padding: clamp(2rem, 5vw, 3.5rem) 0; border-top: 1px solid var(--line-on-black); }
.marquee-track {
  display: flex; align-items: center; gap: 2.4rem; width: max-content; white-space: nowrap; will-change: transform;
  font-family: var(--serif); font-weight: 420; font-size: clamp(2.8rem, 8vw, 7rem); line-height: 1; text-transform: uppercase; letter-spacing: -.01em;
}
.marquee-track .o { color: transparent; -webkit-text-stroke: 1px var(--clay-light); font-style: italic; }
.marquee-track i { display: inline-block; font-style: normal; font-size: .45em; color: var(--clay); animation: spin 7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =====================================================================
   8. KONTAKT
   ===================================================================== */
.contact {
  position: relative; color: var(--bone); overflow: hidden; padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 9vw, 7rem);
  background: var(--grain), radial-gradient(70vmax 45vmax at 85% 110%, rgba(169, 120, 94, .22), transparent 60%), linear-gradient(180deg, var(--black), var(--black-warm));
}
.contact::before {
  content: ""; position: absolute; right: -20vmax; bottom: -30vmax; width: 80vmax; height: 80vmax; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, transparent 0 calc(4vmax - 1px), rgba(201, 162, 140, .12) calc(4vmax - 1px) 4vmax);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%); mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}
.contact-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 1.8rem; }
.contact-head { width: 100%; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.contact-title { font-size: clamp(2.4rem, 8vw, 7.6rem); }
.contact .lead, .contact .note { color: var(--bone-70); }
.big-arrow {
  flex: none; text-decoration: none; font-family: var(--serif); font-weight: 300; font-size: clamp(4rem, 11vw, 10rem); line-height: .8;
  color: var(--clay-light); transition: transform .7s var(--ease), color .3s;
}
.big-arrow:hover { transform: rotate(45deg) scale(1.08); color: var(--bone); }
.status {
  display: inline-flex; align-items: center; gap: .7rem; padding: .45rem .9rem; border-radius: 999px;
  border: 1px solid var(--line-on-black); background: rgba(235, 232, 225, .04);
  font-family: var(--mono); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-70);
}
.status i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--clay-light); animation: ping 2.4s var(--ease) infinite; }
.caret {
  display: inline-block; width: .08em; height: .8em; margin-left: .08em; vertical-align: -.04em;
  background: var(--clay-light); -webkit-text-fill-color: initial; animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.contact-list { list-style: none; margin: 1rem 0 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
.contact-list li { display: flex; align-items: baseline; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line-on-black); }
.contact-list span { font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; opacity: .55; min-width: 4.5rem; }
.contact-list a, .contact-list b { font-weight: 550; text-decoration: none; }
.contact-list a:hover { color: var(--clay-light); }

/* =====================================================================
   Stopka
   ===================================================================== */
.footer { background: var(--black); color: var(--bone-70); padding: 3rem clamp(1.1rem, 4vw, 3rem) 5rem; overflow: hidden; border-top: 1px solid var(--line-on-black); }
.footer-big {
  font-family: var(--serif); font-weight: 500; line-height: .85; letter-spacing: -.03em;
  font-size: 17vw; text-align: center; margin: 0 0 3rem; white-space: nowrap; overflow: hidden; padding-top: .06em;
}
.footer-big span {
  display: inline-block;
  background: linear-gradient(180deg, var(--bone) 30%, var(--clay) 85%, var(--clay-deep));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.js .footer-big span { transform: translateY(105%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * .07s); }
.js .footer-big.is-in span { transform: none; }
.footer-grid { max-width: var(--max); margin: 0 auto 3rem; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.footer .wordmark { color: var(--bone); }
.footer-claim { margin-top: .8rem; max-width: 18rem; }
.footer-nav { display: grid; gap: .45rem; }
.footer-nav a { text-decoration: none; width: fit-content; color: var(--bone); transition: color .3s, transform .4s var(--ease); }
.footer-nav a:hover { color: var(--clay-light); transform: translateX(4px); }
.footer-meta { display: grid; align-content: end; gap: .3rem; font-family: var(--mono); font-size: .85rem; letter-spacing: .06em; }
.footer-meta b { color: var(--bone); font-weight: 500; font-variant-numeric: tabular-nums; }
.footer-row { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; font-size: 1rem; max-width: var(--max); margin: 0 auto; padding-top: 1.6rem; border-top: 1px solid var(--line-on-black); }
.footer-row a:hover { color: var(--clay-light); }

/* =====================================================================
   Telefony
   ===================================================================== */
@media (max-width: 900px) {
  .wordmark { font-size: 1.35rem; flex-shrink: 0; }
  .site-header { flex-wrap: wrap; gap: .5rem; padding-left: 1.1rem; }
  .site-header .btn-small { margin-left: auto; padding: .5rem .95rem; font-size: .92rem; white-space: nowrap; }
  .burger {
    display: inline-grid; place-content: center; gap: 5px; width: 2.5rem; height: 2.5rem; border-radius: 50%;
    border: 1px solid currentColor; background: none; color: inherit; cursor: pointer; padding: 0;
  }
  .burger i { display: block; width: 1rem; height: 1.5px; background: currentColor; transition: transform .45s var(--ease); }
  .nav-open .burger i:first-of-type { transform: translateY(3.25px) rotate(45deg); }
  .nav-open .burger i:last-of-type { transform: translateY(-3.25px) rotate(-45deg); }
  .nav { display: none; order: 5; width: 100%; flex-direction: column; gap: 0; margin: 0; padding: .4rem .4rem .6rem; }
  .site-header.nav-open { border-radius: 1.4rem; background: rgba(20, 20, 20, .94); }
  .site-header.nav-open.on-light { background: rgba(243, 241, 236, .97); }
  .nav-open .nav { display: flex; }
  .nav a { font-family: var(--serif); font-size: 1.9rem; padding: .45rem 0; opacity: 1; border-bottom: 1px solid currentColor; border-bottom-color: rgba(128, 128, 128, .25); }
  .nav-open .nav a { animation: acc-in .5s var(--ease) both; }
  .nav-open .nav a:nth-child(2) { animation-delay: .05s; } .nav-open .nav a:nth-child(3) { animation-delay: .1s; }
  .nav-open .nav a:nth-child(4) { animation-delay: .15s; }
  .nav a::after { display: none; }

  /* wstęp */
  .hero-hud { top: 5rem; font-size: .66rem; }
  .intro-copy { left: clamp(1.1rem, 4vw, 3rem); right: clamp(1.1rem, 4vw, 3rem); width: auto; top: 7.4rem; bottom: auto; }
  .hero-title { font-size: clamp(2.9rem, 12.6vw, 4.6rem); margin-bottom: 1.3rem; }
  .hero-lead { font-size: 1.1rem; margin-bottom: 1.5rem; }
  .js .dial { display: none; }
  .js .caps { top: 8rem; width: auto; right: clamp(1.1rem, 4vw, 3rem); }
  .caps li { font-size: clamp(2.3rem, 10vw, 3.4rem); transform: rotateX(-70deg) translateY(30px); }
  .caps li.past { transform: rotateX(70deg) translateY(-30px); }
  .caps li.on { transform: none; }
  .js .done { top: 8rem; width: auto; right: clamp(1.1rem, 4vw, 3rem); transform: translateY(20px); }
  .is-done .done { transform: none; }
  .done-title { font-size: clamp(2.3rem, 10vw, 3.4rem); margin-bottom: 1.2rem; }
  .scene { right: auto; left: 50%; top: auto; bottom: 7svh; width: min(84vw, 50svh); transform: translateX(-50%); }
  html:not(.js) .scene { display: none; }
  .js .intro:not(.is-card) .scene { opacity: .5; }
  .scene { transition: opacity .6s var(--ease); }

  .flips, .packages { grid-template-columns: 1fr; }

  .js .works-sticky { padding-top: 5.4rem; justify-content: flex-start; }
  .works-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .js .works-count { justify-items: start; grid-auto-flow: column; align-items: center; gap: 1rem; }
  .works .h2 { font-size: clamp(2.2rem, 9.6vw, 3.4rem); }
  .works-track { padding-top: 1.6rem; }
  .works { --ww: 84vw; }
  .work { grid-template-columns: 1fr; gap: 1.2rem; }
  .work-info { gap: .5rem; }
  .work-info h3 { font-size: 2rem; }

  .steps-grid { grid-template-columns: 1fr; gap: 1rem; }
  .steps-side { position: static; }
  .js .odo { display: none; }

  .contact-head { flex-direction: column; align-items: flex-start; }
  .big-arrow { align-self: flex-end; }
  .contact-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Wąskie telefony: krótszy przycisk w nagłówku */
@media (max-width: 420px) {
  .site-header .btn-small { padding: .5rem .8rem; }
  .site-header .btn-small span { display: none; }
}

/* Bez ruchu: wszystkie animacje ciągłe zatrzymane */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pin::after, .caret, .marquee-track i, .eyebrow-live::before, .status i, .scroll-hint > span::after { animation: none !important; }
  .btn, .big-arrow, .package, .pkg-letter { transition: none; }
}
