/* Creative Creatures: style z makiety (tools/wyciagnij.py), kolejność jak na stronach. Nie edytować ręcznie bez potrzeby:
   zmiany wyglądu najlepiej w makiecie albo w assets/css/wp.css (dodatki dla WordPressa). */
[hidden] { display: none !important; }

/* ---- z makiety: index.html ---- */
/* =========================================================
   Creative Creatures, kierunek A: "Jasna galeria"
   Jeden krój (Manrope), jeden motyw jasny.
   Kolor tylko w miejscach na zdjęcia realizacji.
   ========================================================= */
:root {
  color-scheme: light;

  /* UI: monochrom. --ink = odcień, w jakim logo (czarny, alfa 223) renderuje się na bieli */
  --paper: #FFFFFF;
  --paper-2: #F3F3F2;
  --ink: #202020;
  --ink-2: #575757;     /* 7.2:1 na bieli */
  --ink-3: #6B6B6B;     /* 5.3:1 na bieli, 4.8:1 na --paper-2 */
  --line: #DCDCDC;
  --line-strong: #202020;
  --gap-line: #8A8A8A;  /* przerywane podkreślenie luk do uzupełnienia */
  --on-ink: #FFFFFF;

  /* Kadry (jedyne miejsca z kolorem). Sceny przeniesione z kierunku B. */
  --vignette: rgb(0 0 0 / .2);
  /* Urządzenia */
  --dev-bezel: #0b0b0c;
  --dev-rim: #3a3a3d;
  --dev-alu-1: #d9dbdf;
  --dev-alu-2: #a3a6ac;
  --dev-alu-3: #55585e;
  --dev-notch: #74777d;
  --dev-glare: #ffffff12;
  --dev-shadow: #000000b0;
  --phone-body: #17171a;
  --phone-rim: #55555b;


  /* 01 Woda: błękity */
  --wa-1: #dbe9f1;
  --wa-2: #a9c5d7;
  --wa-3: #7ea3bc;
  --wa-4: #4a7393;
  --wa-table-1: #cfdde6;
  --wa-table-2: #a3bac9;
  --wa-table-3: #6a899f;
  --wa-edge: #eef5f9;
  --wa-reflect: #23354380;
  --wa-glass-hi: #ffffffb3;
  --wa-glass-lo: #ffffff1f;
  --wa-water: #8fb6d14d;
  --wa-scr-bg: #f6f9fb;
  --wa-scr-ink: #0f2a3d;
  --wa-scr-soft: #c8d5de;
  --wa-scr-panel: #d4e4ee;
  --wa-scr-panel-2: #e8f0f5;
  --wa-scr-btn: #0f5c8c;
  --wa-cart-1: #ffffff;
  --wa-cart-2: #c6d2da;
  --wa-cart-cap: #7d98ab;
  --wa-cart-shadow: #0f2a3d33;

  /* 02 Logopedia: ciepła żółć i zieleń */
  --lo-wall-1: #f5d06a;
  --lo-wall-2: #d9a337;
  --lo-wall-3: #8b6116;
  --lo-shadow: #5f430c;
  --lo-shelf-1: #e8cb9a;
  --lo-shelf-2: #c49f66;
  --lo-shelf-3: #7f6036;
  --lo-leaf-1: #6aa04e;
  --lo-leaf-2: #24502a;
  --lo-pot-1: #f6f1e8;
  --lo-pot-2: #c4baa9;
  --lo-book-1: #2e5a3a;
  --lo-book-2: #ebdec3;
  --lo-book-3: #c9b994;
  --lo-scr-bg: #fbf6ea;
  --lo-scr-ink: #2a2820;
  --lo-scr-soft: #e3d8c1;
  --lo-scr-btn: #efb52c;
  --lo-scr-img-1: #5f8f4c;
  --lo-scr-img-2: #e6c25c;
  --lo-scr-face: #e9c9a3;
  --lo-scr-body: #2f5a3a;

  /* 03 Wnętrza: oliwka i piasek */
  --sh-wall-1: #3a3f25;
  --sh-wall-2: #5c6241;
  --sh-wall-3: #6c724e;
  --sh-beam: #f1e4b759;
  --sh-table-1: #e6d8b6;
  --sh-table-2: #ccb88e;
  --sh-table-3: #9b845a;
  --sh-vase-1: #efdfbd;
  --sh-vase-2: #b8a37b;
  --sh-vase-3: #85724c;
  --sh-branch: #2a2716;
  --sh-scr-bg: #f4f0e6;
  --sh-scr-ink: #2e321d;
  --sh-scr-soft: #ded6c3;
  --sh-scr-sel: #5c6241;
  --sh-scr-cell: #e9e3d3;
  --sh-scr-img-wall: #6b7150;
  --sh-scr-img-floor: #cdbb93;
  --sh-scr-sofa: #e5d7b6;
  --sh-scr-art: #a59a6c;

  /* 04 Kosmetyki: róż */
  --ko-wall-1: #f8dade;
  --ko-wall-2: #e0a6b0;
  --ko-wall-3: #a5606d;
  --ko-floor-1: #eec5cb;
  --ko-floor-2: #d89ea8;
  --ko-floor-3: #b0707c;
  --ko-plinth-1: #f7e0e3;
  --ko-plinth-2: #e3b2ba;
  --ko-plinth-3: #b67884;
  --ko-glass-1: #fbd9df;
  --ko-glass-2: #d48a98;
  --ko-glass-3: #874353;
  --ko-cap: #1b1819;
  --ko-cap-hi: #4b4547;
  --ko-label: #fcf4f5;
  --ko-label-ink: #6b3844;
  --ko-shadow: #8a4b5880;
  --ko-jar-1: #fcf0f2;
  --ko-jar-2: #dcbfc5;

  /* Typografia: jedna rodzina, hierarchia skalą, grubością i interlinią */
  --font: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --fs-hero: clamp(3.4rem, 1.4rem + 9vw, 10.75rem);
  --fs-email: clamp(1.3rem, 4.2vw, 5rem);
  --fs-display: clamp(2rem, 0.9rem + 4.6vw, 5.5rem);
  --fs-xl: clamp(1.625rem, 0.95rem + 2.9vw, 3.75rem);
  --fs-l: clamp(1.375rem, 1.1rem + 1.1vw, 2.125rem);
  --fs-m: clamp(1.125rem, 1rem + 0.45vw, 1.375rem);
  --fs-base: 1.0625rem;
  --fs-s: 0.9375rem;
  --fs-xs: 0.75rem;

  --lh-hero: 0.92;
  --lh-display: 1;
  --lh-heading: 1.12;
  --lh-body: 1.55;

  --tr-hero: -0.03em;
  --tr-display: -0.022em;
  --tr-heading: -0.012em;
  --tr-label: 0.14em;

  --w-light: 300;
  --w-regular: 400;
  --w-medium: 500;
  --w-semi: 600;

  /* Rytm */
  --gap: clamp(16px, 1.8vw, 28px);
  --sp-section: clamp(5rem, 3rem + 8vw, 11rem);
  --sp-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  font-weight: var(--w-regular);
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, h3, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
::selection { background: var(--ink); color: var(--on-ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Luki do uzupełnienia: [w nawiasach] */
.gap {
  text-decoration-line: underline;
  text-decoration-style: dashed;
  text-decoration-color: var(--gap-line);
  text-decoration-thickness: max(1px, .035em);
  text-underline-offset: .16em;
}

/* „Przejdź do treści”: pierwszy w kolejności Tab, widoczny tylko z fokusem (23.11) */
.skip { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 12px 18px; background: var(--ink); color: var(--on-ink); font-size: var(--fs-s); text-decoration: none; transform: translateY(-160%); transition: transform .2s var(--ease); }
.skip:focus-visible { transform: none; outline: 2px solid var(--ink); outline-offset: 2px; }
main:focus { outline: none; }

/* Zewnętrzny wrapper z marginesem bocznym (kontrakt) */
.page {
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.wrap {
  max-width: 1520px;
  margin-inline: auto;
  padding-inline: clamp(0px, 2.2vw - 8px, 28px);
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
}

/* Etykiety: wersaliki z rozstrzeleniem, tylko tam, gdzie niosą informację */
.label {
  font-size: var(--fs-xs);
  line-height: 1.3;
  font-weight: var(--w-medium);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
}
.label--muted { color: var(--ink-3); }
.count { font-weight: var(--w-regular); color: var(--ink-3); letter-spacing: .06em; }
.clock { font-variant-numeric: tabular-nums; }

/* ---------- Przyciski ----------
   Prostokąt ze ściętym rogiem 45 stopni: echo nacięcia w literze "t" z logo. */
.btn {
  --notch: 10px;
  --btn-bg: var(--ink);
  --btn-fg: var(--on-ink);
  --btn-bd: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-s);
  font-weight: var(--w-medium);
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  left: -1px;
  bottom: -1px;
  width: var(--notch);
  height: var(--notch);
  background: linear-gradient(45deg,
    var(--paper) calc(50% - .5px),
    var(--btn-bd) calc(50% - .5px) calc(50% + .6px),
    transparent calc(50% + .6px));
  pointer-events: none;
}
.btn:hover { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.btn--ghost { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--on-ink); }
.btn--small { min-height: 44px; padding: 0 18px; }

.link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  text-decoration-color: var(--line);
  transition: text-decoration-color .2s var(--ease);
}
.link:hover { text-decoration-color: var(--ink); }

/* ---------- Sekcje: wspólny wiersz z etykietą ---------- */
.section { padding-block: var(--sp-section) 0; scroll-margin-top: var(--header-h); }
/* realizacje zaczynają się tuż pod hero, żeby pierwszy kadr był jak najwyżej */
#realizacje { padding-top: clamp(1.25rem, .5rem + 1.6vw, 2.25rem); }
#realizacje > .wrap > .sec-head { margin-bottom: clamp(20px, 2.2vw, 32px); }
.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line-strong);
  margin-bottom: var(--sp-block);
}
.sec-head__note { font-size: var(--fs-s); color: var(--ink-3); max-width: 52ch; }

/* ---------- Realizacje: montaż jak cięcia filmu ----------
   Kadr 21:9 na całą szerokość, potem 16:10 przesunięty w prawo,
   znów 21:9, potem 16:10 w lewo. Pod każdym kadrem "napisy". */
.reel {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: clamp(80px, 10vw, 168px);
}
.cut { grid-column: 1 / -1; }
.cut--right { grid-column: 5 / -1; }
.cut--left { grid-column: 1 / span 8; }
.work__link { display: block; text-decoration: none; color: inherit; }
.work__link:focus-visible { outline-offset: 8px; }
.credits {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: var(--gap);
  row-gap: 10px;
  margin-top: clamp(16px, 1.8vw, 24px);
  align-items: end;
}
.credits__no { grid-column: 1 / -1; }
.credits__name {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  letter-spacing: var(--tr-display);
  font-weight: var(--w-regular);
  text-wrap: balance;
}
.credits__meta {
  padding-bottom: .35em;
  text-align: right;
  font-size: var(--fs-s);
  line-height: 1.5;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.credits__meta dd:first-of-type { color: var(--ink); }
@media (max-width: 1080px) {
  .cut--right { grid-column: 3 / -1; }
  .cut--left { grid-column: 1 / span 10; }
}
@media (max-width: 760px) {
  .cut--right, .cut--left { grid-column: 1 / -1; }
  .credits { grid-template-columns: minmax(0, 1fr); }
  .credits__meta { text-align: left; }
}

/* ---------- Kadr ("zdjęcie"): scena przycięta jak object-fit: cover ---------- */
.shot {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  container-type: size;
  background: var(--paper-2);
}
.shot--wide { aspect-ratio: 21 / 9; }
.shot--frame { aspect-ratio: 16 / 10; }
.shot::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 5;
  background: radial-gradient(ellipse 75% 75% at 50% 45%, transparent 58%, var(--vignette) 100%);
  pointer-events: none;
}
.grain {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  mix-blend-mode: overlay;
  opacity: .45;
  pointer-events: none;
  z-index: 6;
}
.shot__tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 7;
  padding: 3px 8px 4px;
  background: var(--paper);
  color: var(--ink);
  font-size: var(--fs-xs);
  letter-spacing: .02em;
}
@media (max-width: 760px) {
  .shot--wide, .shot--frame { aspect-ratio: 4 / 5; }
  /* kadr 4:5 pokazuje środek sceny: zbliżamy laptop i rekwizyt, żeby oba weszły w kadr */
  .shot--water .wa-laptop { --x: 46%; --y: 33.7%; --w: 36%; }
  .shot--water .wa-glass { left: 66.5%; }
  .shot--water .wa-reflect { left: 26%; width: 40%; }
  .shot--show .sh-laptop { --x: 46.5%; --y: 32%; --w: 36%; }
  .shot--show .sh-vase { left: 66.6%; }
  .shot--show .sh-branch { left: 69.5%; }
  .shot--show .sh-branch--2 { left: 69.9%; }
  .shot--show .sh-branch--3 { left: 70.7%; }
}
.stage {
  --ratio: 1.6;
  --sx: 50%;
  position: absolute; top: 50%; left: var(--sx);
  width: max(100cqw, calc(100cqh * var(--ratio)));
  aspect-ratio: var(--ratio);
  translate: calc(var(--sx) * -1) -50%;
  container-type: inline-size;
}
.stage * { display: block; position: absolute; }
.stage .screen *, .stage .laptop__lid, .stage .laptop__base { position: relative; }
.stage .screen { position: relative; }

/* Laptop, widok z przodu */
.laptop { left: var(--x); top: var(--y); width: var(--w); translate: -50% 0; isolation: isolate; }
.laptop::after {
  content: ""; position: absolute; z-index: -1;
  left: -12%; right: -12%; bottom: -5%; height: 11%;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, var(--dev-shadow), transparent 72%);
  filter: blur(.5cqw);
}
.laptop__lid {
  aspect-ratio: 16 / 10.4;
  padding: 1.9% 1.9% 2.4%;
  background: var(--dev-bezel);
  border-radius: 2.4% / 3.6%;
  box-shadow: inset 0 0 0 .1cqw var(--dev-rim);
}
.laptop__lid::after {
  content: ""; position: absolute; inset: 1.9% 1.9% 2.4%; z-index: 2;
  background: linear-gradient(116deg, var(--dev-glare) 0 36%, transparent 36.4%);
}
.laptop__base {
  width: 116%; margin-left: -8%;
  aspect-ratio: 116 / 2.6;
  background: linear-gradient(180deg, var(--dev-alu-1) 0%, var(--dev-alu-2) 46%, var(--dev-alu-3) 100%);
  border-radius: .2cqw .2cqw 50% 50% / .2cqw .2cqw 100% 100%;
}
.laptop__base::before {
  content: ""; position: absolute; left: 43%; right: 43%; top: 0; height: 40%;
  background: var(--dev-notch); border-radius: 0 0 40% 40% / 0 0 100% 100%;
}

/* Telefon, widok z przodu */
.phone {
  left: var(--x); top: var(--y); width: var(--w); translate: -50% 0; isolation: isolate;
  aspect-ratio: 9 / 19.4;
  padding: 3.6%;
  background: linear-gradient(90deg, var(--phone-rim), var(--phone-body) 7%, var(--phone-body) 93%, var(--phone-rim));
  border-radius: 15% / 7%;
}
.phone::before {
  content: ""; position: absolute; z-index: 3; left: 37%; right: 37%; top: 3.6%; height: 2.4%;
  background: var(--dev-bezel); border-radius: 999px;
}
.phone::after {
  content: ""; position: absolute; z-index: -1; left: -26%; right: -26%; bottom: -2.2%; height: 5%;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, var(--dev-shadow), transparent 72%);
  filter: blur(.4cqw);
}
.phone .screen { width: 100%; height: 100%; border-radius: 11.5% / 5.3%; }
.phone .screen::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(112deg, var(--dev-glare) 0 40%, transparent 40.4%);
}

/* Szkielet strony na ekranie: jednostka --k skaluje się z ekranem */
.screen {
  --k: 1cqw;
  width: 100%; height: 100%; overflow: hidden;
  container-type: inline-size;
  background: var(--scr-bg);
  border-radius: .25cqw;
}
.sk-nav {
  left: calc(5 * var(--k)); right: calc(5 * var(--k)); top: calc(3 * var(--k));
  position: absolute !important;
  display: flex !important; align-items: center; gap: calc(3.2 * var(--k));
}
.sk-nav i { width: calc(6 * var(--k)); height: calc(1 * var(--k)); border-radius: 9px; background: var(--scr-soft); }
.sk-nav i:first-child {
  width: calc(9 * var(--k)); height: calc(2.2 * var(--k)); border-radius: calc(.3 * var(--k));
  background: var(--scr-ink); margin-right: auto;
}
.sk-nav i:last-child { width: calc(2.6 * var(--k)); height: calc(2.6 * var(--k)); border-radius: 50%; background: var(--scr-ink); }
.sk-h { height: calc(3.3 * var(--k)); width: 90%; border-radius: calc(.4 * var(--k)); background: var(--scr-ink); }
.sk-h + .sk-h { margin-top: calc(1.3 * var(--k)); }
.sk-h--short { width: 60%; }
.sk-t { height: calc(1.05 * var(--k)); width: 82%; border-radius: 9px; background: var(--scr-soft); margin-top: calc(1.4 * var(--k)); }
.sk-h + .sk-t { margin-top: calc(3 * var(--k)); }
.sk-t--short { width: 56%; }
.sk-btn { width: calc(15 * var(--k)); height: calc(4.2 * var(--k)); border-radius: 99px; background: var(--scr-btn); margin-top: calc(3.2 * var(--k)); }

/* 01 Woda */
.wa-backdrop {
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 30% 18%, var(--wa-1) 0%, transparent 70%),
    linear-gradient(180deg, var(--wa-2) 0%, var(--wa-3) 44%, var(--wa-4) 74%);
}
.wa-caustics {
  left: 0; top: 0; width: 100%; height: 74%;
  mix-blend-mode: soft-light; opacity: .95;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 34% 30%, var(--ink) 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 60% 70% at 34% 30%, var(--ink) 20%, transparent 78%);
  filter: blur(.12cqw);
}
.wa-table {
  left: 0; right: 0; top: 72.4%; bottom: 0;
  background: linear-gradient(180deg, var(--wa-table-1) 0%, var(--wa-table-2) 32%, var(--wa-table-3) 100%);
  box-shadow: inset 0 .22cqw 0 var(--wa-edge);
}
.wa-reflect {
  left: 23%; width: 46%; top: 73.2%; height: 16%;
  background: linear-gradient(180deg, var(--wa-reflect), transparent 90%);
  filter: blur(.6cqw);
}
.wa-laptop { --x: 46%; --y: 27.2%; --w: 42%; }
.wa-glass {
  left: 71%; top: 51%; width: 7.4%; height: 22%;
  border-radius: 4% 4% 14% 14% / 2% 2% 6% 6%;
  background:
    linear-gradient(90deg, var(--wa-glass-hi) 0 5%, var(--wa-glass-lo) 18%, transparent 46%, var(--wa-glass-lo) 74%, var(--wa-glass-hi) 92%, var(--wa-glass-lo));
  box-shadow: inset 0 -.5cqw .8cqw var(--wa-glass-lo);
}
.wa-glass::before {
  content: ""; position: absolute; left: 3%; right: 3%; top: 26%; bottom: 3%;
  border-radius: 0 0 12% 12% / 0 0 6% 6%;
  background: linear-gradient(180deg, var(--wa-glass-hi) 0 2%, var(--wa-water) 6%, var(--wa-water));
}
.wa-glass::after {
  content: ""; position: absolute; left: -30%; right: -30%; bottom: -14%; height: 18%;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, var(--wa-reflect), transparent 72%);
  filter: blur(.4cqw);
}
.scr-shop {
  --scr-bg: var(--wa-scr-bg); --scr-ink: var(--wa-scr-ink); --scr-soft: var(--wa-scr-soft); --scr-btn: var(--wa-scr-btn);
}
.shop-hero {
  left: calc(5 * var(--k)); right: calc(5 * var(--k)); top: calc(9 * var(--k)); height: calc(27 * var(--k));
  position: absolute !important;
  display: grid !important; grid-template-columns: 1.1fr 1fr; align-items: center;
  padding: 0 calc(4 * var(--k));
  background: var(--wa-scr-panel);
  border-radius: calc(.6 * var(--k));
}
.shop-items { display: flex !important; align-items: flex-end; justify-content: center; gap: calc(2.4 * var(--k)); align-self: end; padding-bottom: calc(3.4 * var(--k)); }
.cart {
  width: calc(5 * var(--k)); height: calc(15 * var(--k));
  border-radius: calc(1.2 * var(--k)) calc(1.2 * var(--k)) calc(.7 * var(--k)) calc(.7 * var(--k));
  background: linear-gradient(90deg, var(--wa-cart-2), var(--wa-cart-1) 40%, var(--wa-cart-1) 58%, var(--wa-cart-2));
  box-shadow: calc(.6 * var(--k)) calc(.8 * var(--k)) calc(1.4 * var(--k)) var(--wa-cart-shadow);
}
.cart::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 16%;
  border-radius: inherit; background: var(--wa-cart-cap);
}
.cart--tall { height: calc(19 * var(--k)); }
.shop-grid {
  left: calc(5 * var(--k)); right: calc(5 * var(--k)); top: calc(39 * var(--k));
  position: absolute !important;
  display: grid !important; grid-template-columns: repeat(4, 1fr); gap: calc(2 * var(--k));
}
.tile {
  aspect-ratio: 1 / 1.36;
  background:
    linear-gradient(var(--wa-scr-ink), var(--wa-scr-ink)) 0 96% / 34% 4.5% no-repeat,
    linear-gradient(var(--wa-scr-soft), var(--wa-scr-soft)) 0 84% / 74% 4% no-repeat,
    linear-gradient(var(--wa-scr-panel-2), var(--wa-scr-panel-2)) 0 0 / 100% 72% no-repeat;
}
.tile::before {
  content: ""; position: absolute; left: 42%; width: 16%; top: 14%; height: 46%;
  border-radius: calc(.8 * var(--k));
  background: linear-gradient(90deg, var(--wa-cart-2), var(--wa-cart-1) 45%, var(--wa-cart-2));
}

/* 02 Logopedia */
.lo-wall {
  inset: 0;
  background: radial-gradient(ellipse 62% 78% at 58% 30%, var(--lo-wall-1) 0%, var(--lo-wall-2) 48%, var(--lo-wall-3) 100%);
}
.lo-dapple {
  left: -4%; top: -6%; width: 64%; height: 80%;
  background:
    radial-gradient(ellipse 12% 7% at 22% 30%, var(--lo-shadow) 0 60%, transparent 100%),
    radial-gradient(ellipse 9% 14% at 38% 18%, var(--lo-shadow) 0 60%, transparent 100%),
    radial-gradient(ellipse 14% 8% at 50% 42%, var(--lo-shadow) 0 60%, transparent 100%),
    radial-gradient(ellipse 8% 12% at 16% 58%, var(--lo-shadow) 0 60%, transparent 100%),
    radial-gradient(ellipse 11% 6% at 66% 22%, var(--lo-shadow) 0 60%, transparent 100%),
    radial-gradient(ellipse 7% 10% at 72% 50%, var(--lo-shadow) 0 60%, transparent 100%),
    radial-gradient(ellipse 10% 7% at 34% 70%, var(--lo-shadow) 0 60%, transparent 100%);
  mix-blend-mode: multiply; opacity: .5;
  filter: blur(1cqw);
}
.lo-shelf {
  left: 0; right: 0; top: 75%; bottom: 0;
  background: linear-gradient(180deg, var(--lo-shelf-1) 0%, var(--lo-shelf-2) 26%, var(--lo-shelf-3) 100%);
  box-shadow: 0 -.6cqw 1.2cqw var(--lo-shadow);
}
.lo-phone { --x: 51%; --y: 25%; --w: 14.6%; }
.lo-phone::after { left: -40%; right: -40%; }
.lo-pot {
  left: 27%; top: 60%; width: 10.5%; height: 16.4%;
  border-radius: 4% 4% 16% 16% / 3% 3% 12% 12%;
  background: linear-gradient(90deg, var(--lo-pot-2) 0%, var(--lo-pot-1) 36%, var(--lo-pot-1) 52%, var(--lo-pot-2) 100%);
  box-shadow: 1.2cqw .8cqw 1.6cqw var(--lo-shadow);
}
.lo-plant { left: 19%; top: 18%; width: 27%; height: 46%; filter: blur(.1cqw); }
.lo-plant i {
  width: 34%; height: 56%;
  border-radius: 0 100% 0 100%;
  background: linear-gradient(150deg, var(--lo-leaf-1), var(--lo-leaf-2) 80%);
  box-shadow: .6cqw .8cqw 1.2cqw var(--lo-shadow);
}
.lo-plant i:nth-child(1) { left: 34%; top: 0; rotate: -6deg; }
.lo-plant i:nth-child(2) { left: 8%; top: 22%; rotate: -52deg; }
.lo-plant i:nth-child(3) { left: 58%; top: 20%; rotate: 38deg; }
.lo-plant i:nth-child(4) { left: 20%; top: 44%; rotate: -24deg; width: 30%; }
.lo-plant i:nth-child(5) { left: 50%; top: 46%; rotate: 20deg; width: 30%; }
.lo-books { left: 64%; top: 64%; width: 17%; height: 12%; }
.lo-books i { left: 0; right: 0; border-radius: .2cqw; box-shadow: 1cqw .6cqw 1.4cqw var(--lo-shadow); }
.lo-books i:nth-child(1) { left: 6%; right: 2%; top: 0; height: 46%; background: linear-gradient(180deg, var(--lo-book-1) 0 70%, var(--lo-book-3) 70%); }
.lo-books i:nth-child(2) { top: 50%; height: 50%; background: linear-gradient(180deg, var(--lo-book-2) 0 76%, var(--lo-book-3) 76%); }
.scr-logo {
  --k: 1cqw;
  --scr-bg: var(--lo-scr-bg); --scr-ink: var(--lo-scr-ink); --scr-soft: var(--lo-scr-soft); --scr-btn: var(--lo-scr-btn);
}
.ph-top {
  left: 8cqw; right: 8cqw; top: 14cqw;
  position: absolute !important;
  display: flex !important; justify-content: space-between; align-items: center;
}
.ph-top i:first-child { width: 28cqw; height: 6cqw; border-radius: 1cqw; background: var(--scr-ink); }
.ph-top i:last-child { width: 9cqw; height: 4cqw; background: linear-gradient(var(--scr-ink), var(--scr-ink)) 0 0 / 100% 22% no-repeat, linear-gradient(var(--scr-ink), var(--scr-ink)) 0 100% / 100% 22% no-repeat; }
.ph-copy { left: 8cqw; right: 8cqw; top: 34cqw; position: absolute !important; }
.ph-copy .sk-h { height: 8.6cqw; border-radius: 1.2cqw; }
.ph-copy .sk-h + .sk-h { margin-top: 3.4cqw; }
.ph-copy .sk-t { height: 2.8cqw; margin-top: 4cqw; }
.ph-copy .sk-h + .sk-t { margin-top: 8cqw; }
.ph-copy .sk-btn { width: 48cqw; height: 12cqw; margin-top: 8cqw; }
.ph-img {
  left: 8cqw; right: 8cqw; top: 124cqw; height: 74cqw;
  position: absolute !important;
  border-radius: 5cqw;
  background:
    radial-gradient(circle at 50% 40%, var(--lo-scr-face) 0 15%, transparent 15.6%),
    radial-gradient(ellipse 34% 30% at 50% 92%, var(--lo-scr-body) 0 98%, transparent 100%),
    radial-gradient(ellipse 70% 60% at 30% 20%, var(--lo-scr-img-2), transparent 70%),
    linear-gradient(170deg, var(--lo-scr-img-2), var(--lo-scr-img-1));
}

/* 03 Wnętrza */
.sh-wall {
  inset: 0;
  background: linear-gradient(100deg, var(--sh-wall-1) 0%, var(--sh-wall-2) 42%, var(--sh-wall-3) 56%, var(--sh-wall-1) 100%);
}
.sh-beam { inset: 0; filter: blur(1.2cqw); mix-blend-mode: screen; }
.sh-beam::before {
  content: ""; position: absolute; inset: 0;
  clip-path: polygon(14% 0, 34% 0, 66% 74%, 46% 74%);
  background: linear-gradient(160deg, var(--sh-beam), transparent 90%);
}
.sh-beam::after {
  content: ""; position: absolute; inset: 0;
  clip-path: polygon(38% 0, 44% 0, 76% 74%, 70% 74%);
  background: linear-gradient(160deg, var(--sh-beam), transparent 90%);
}
.sh-table {
  left: 0; right: 0; top: 70.6%; bottom: 0;
  background: linear-gradient(180deg, var(--sh-table-1) 0%, var(--sh-table-2) 34%, var(--sh-table-3) 100%);
  box-shadow: 0 -.5cqw 1.4cqw var(--sh-wall-1);
}
.sh-stone { left: 0; top: 70.6%; width: 100%; height: 29.4%; }
.sh-laptop { --x: 49%; --y: 25.6%; --w: 42%; }
.sh-vase {
  left: 74.5%; top: 50%; width: 7.2%; height: 21.4%;
  border-radius: 34% 34% 20% 20% / 14% 14% 8% 8%;
  background: linear-gradient(90deg, var(--sh-vase-3) 0%, var(--sh-vase-1) 38%, var(--sh-vase-2) 74%, var(--sh-vase-3) 100%);
  box-shadow: 1.6cqw .6cqw 1.8cqw var(--sh-wall-1);
}
.sh-branch { left: 77.4%; top: 14%; width: .22cqw; height: 38%; background: var(--sh-branch); rotate: 9deg; transform-origin: 50% 100%; }
.sh-branch--2 { left: 77.8%; top: 22%; height: 30%; rotate: -14deg; }
.sh-branch--3 { left: 78.6%; top: 28%; height: 24%; rotate: 28deg; }
.scr-show {
  --scr-bg: var(--sh-scr-bg); --scr-ink: var(--sh-scr-ink); --scr-soft: var(--sh-scr-soft); --scr-btn: var(--sh-scr-sel);
}
.show-img {
  left: calc(5 * var(--k)); top: calc(9 * var(--k)); width: calc(42 * var(--k)); height: calc(48 * var(--k));
  position: absolute !important;
  border-radius: calc(.5 * var(--k));
  background: linear-gradient(180deg, var(--sh-scr-img-wall) 0 64%, var(--sh-scr-img-floor) 64%);
  overflow: hidden;
}
.show-img::before {
  content: ""; position: absolute; left: 14%; right: 14%; top: 46%; height: 22%;
  border-radius: calc(2 * var(--k)) calc(2 * var(--k)) calc(.5 * var(--k)) calc(.5 * var(--k));
  background: var(--sh-scr-sofa);
  box-shadow: 0 calc(1 * var(--k)) calc(2 * var(--k)) var(--sh-scr-ink);
}
.show-img::after {
  content: ""; position: absolute; left: 38%; width: 24%; top: 12%; height: 24%;
  background: var(--sh-scr-art);
}
.show-cal { left: calc(52 * var(--k)); right: calc(5 * var(--k)); top: calc(10 * var(--k)); position: absolute !important; }
.show-cal .sk-h { width: 64%; }
.cal {
  margin-top: calc(3 * var(--k));
  display: grid !important; grid-template-columns: repeat(7, 1fr); gap: calc(.8 * var(--k));
}
.cal i { aspect-ratio: 1; border-radius: calc(.3 * var(--k)); background: var(--sh-scr-cell); }
.cal i.on { background: var(--sh-scr-sel); }
.show-cal .sk-btn { width: 100%; height: calc(4.4 * var(--k)); border-radius: calc(.4 * var(--k)); }

/* 04 Kosmetyki */
.ko-wall {
  inset: 0;
  background: radial-gradient(ellipse 58% 72% at 42% 30%, var(--ko-wall-1) 0%, var(--ko-wall-2) 52%, var(--ko-wall-3) 100%);
}
.ko-floor {
  left: 0; right: 0; top: 60%; bottom: 0;
  background: linear-gradient(180deg, transparent 0%, var(--ko-floor-1) 18%, var(--ko-floor-2) 48%, var(--ko-floor-3) 100%);
}
.ko-cast {
  left: 47%; top: 21%; width: 12%; height: 38%;
  background: var(--ko-shadow);
  border-radius: 30% 30% 10% 10% / 10% 10% 4% 4%;
  transform: skewX(-26deg);
  transform-origin: 50% 100%;
  filter: blur(.7cqw);
  mix-blend-mode: multiply;
}
.ko-cast--jar { left: 63.5%; top: 55.5%; width: 9%; height: 12.5%; filter: blur(.6cqw); }
.ko-plinth {
  border-radius: 0 0 50% 50% / 0 0 12% 12%;
  background: linear-gradient(90deg, var(--ko-plinth-3) 0%, var(--ko-plinth-1) 36%, var(--ko-plinth-2) 64%, var(--ko-plinth-3) 100%);
  box-shadow: 2cqw 1.4cqw 2.6cqw var(--ko-shadow);
}
.ko-plinth::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 24%; translate: 0 -50%;
  border-radius: 50%;
  background: radial-gradient(ellipse 60% 70% at 40% 40%, var(--ko-plinth-1), var(--ko-plinth-2));
}
.ko-plinth--a { left: 30%; top: 58%; width: 24%; height: 32%; }
.ko-plinth--b { left: 55%; top: 68%; width: 17%; height: 22%; }
.ko-bottle { left: 36.6%; top: 22%; width: 10.6%; height: 37.6%; }
.ko-bulb {
  left: 33%; right: 33%; top: 0; height: 20%;
  border-radius: 46% 46% 12% 12% / 54% 54% 10% 10%;
  background: linear-gradient(90deg, var(--ko-cap), var(--ko-cap-hi) 36%, var(--ko-cap) 70%);
}
.ko-collar {
  left: 26%; right: 26%; top: 19%; height: 12%;
  border-radius: 8%;
  background: linear-gradient(90deg, var(--ko-cap), var(--ko-cap-hi) 30%, var(--ko-cap) 66%);
}
.ko-body {
  left: 0; right: 0; top: 30%; bottom: 0;
  border-radius: 14% 14% 10% 10% / 9% 9% 6% 6%;
  background: linear-gradient(90deg, var(--ko-glass-3) 0%, var(--ko-glass-2) 22%, var(--ko-glass-1) 40%, var(--ko-glass-2) 64%, var(--ko-glass-3) 100%);
}
.ko-label {
  left: 18%; right: 18%; top: 50%; height: 30%;
  background:
    linear-gradient(var(--ko-label-ink), var(--ko-label-ink)) 50% 32% / 30% 22% no-repeat,
    linear-gradient(var(--ko-label-ink), var(--ko-label-ink)) 50% 66% / 60% 5% no-repeat,
    linear-gradient(var(--ko-label-ink), var(--ko-label-ink)) 50% 78% / 40% 5% no-repeat,
    var(--ko-label);
}
.ko-jar { left: 58.4%; top: 57.6%; width: 10.2%; height: 11%; }
.ko-jar__lid {
  left: 0; right: 0; top: 0; height: 40%;
  border-radius: 10% 10% 4% 4% / 30% 30% 10% 10%;
  background: linear-gradient(90deg, var(--ko-cap), var(--ko-cap-hi) 30%, var(--ko-cap) 70%);
}
.ko-jar__body {
  left: 2%; right: 2%; top: 38%; bottom: 0;
  border-radius: 4% 4% 14% 14% / 6% 6% 22% 22%;
  background: linear-gradient(90deg, var(--ko-jar-2), var(--ko-jar-1) 40%, var(--ko-jar-2));
}

/* ---------- Archiwum ---------- */
.archive { margin-top: var(--sp-section); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th {
  text-align: left;
  font-size: var(--fs-xs);
  font-weight: var(--w-medium);
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
}
.table td {
  padding: 18px 16px 18px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}
.table td:last-child, .table th:last-child { text-align: right; padding-right: 0; }
.t-name { font-size: var(--fs-m); font-weight: var(--w-medium); letter-spacing: -0.01em; }
.t-scope { color: var(--ink-2); }
.t-year { color: var(--ink-3); font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .table th:nth-child(1) { width: 50%; }
  .table th:nth-child(2) { width: 38%; }
}
@media (max-width: 639px) {
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table, .table tbody { display: block; }
  .table tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 16px;
    padding-block: 16px;
    border-bottom: 1px solid var(--line);
  }
  .table tr:first-child { border-top: 1px solid var(--line); }
  .table td { display: block; padding: 0; border: 0; }
  .table .t-name { grid-column: 1 / -1; }
  .table td:last-child { text-align: right; }
}

/* ---------- Studio ---------- */
.studio__statement {
  font-size: var(--fs-xl);
  line-height: 1.08;
  letter-spacing: -0.016em;
  font-weight: var(--w-regular);
  max-width: 20ch;
}
.studio__intro { display: grid; gap: clamp(28px, 4vw, 56px); }
.studio__body { margin-top: var(--sp-block); display: grid; gap: var(--sp-block); }
.studio__text { font-size: var(--fs-m); line-height: 1.45; color: var(--ink-2); max-width: 34ch; }
.studio__text strong { color: var(--ink); font-weight: var(--w-medium); }
.facts { display: grid; gap: 0; }
.fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
}
.fact:last-child { border-bottom: 1px solid var(--line); }
.fact__num {
  font-size: var(--fs-display);
  line-height: 1;
  font-weight: var(--w-light);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.fact__label { color: var(--ink-2); font-size: var(--fs-s); text-align: right; }
@media (min-width: 900px) {
  .studio__intro {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: end;
  }
  .studio__statement { grid-column: 1 / span 7; }
  .studio__intro .studio__text { grid-column: 9 / span 4; padding-bottom: .4em; }
  .studio__body { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .facts { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); column-gap: var(--gap); }
  .fact { flex-direction: column; align-items: flex-start; gap: 14px; padding-block: 20px 0; }
  .fact:last-child { border-bottom: 0; }
  .fact__label { text-align: left; }
}

/* ---------- Kontakt ---------- */
.contact__title {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  letter-spacing: var(--tr-display);
  font-weight: var(--w-regular);
}
.email {
  display: inline-block;
  margin-top: clamp(20px, 3vw, 48px);
  font-size: var(--fs-email);
  line-height: 1;
  letter-spacing: var(--tr-hero);
  font-weight: var(--w-medium);
  text-decoration: none;
  overflow-wrap: anywhere;
  background: linear-gradient(var(--ink), var(--ink)) left 100% / 0 max(2px, .03em) no-repeat;
  padding-bottom: .06em;
  transition: background-size .35s var(--ease);
}
.email:hover { background-size: 100% max(2px, .03em); }
.email .gap { text-decoration-thickness: max(1px, .016em); text-underline-offset: .1em; }
.contact__row {
  margin-top: clamp(28px, 3.4vw, 48px);
  display: grid;
  gap: 20px;
  align-items: center;
}
.contact__alt { color: var(--ink-2); }
.contact__alt a { color: var(--ink); }

/* ---------- Stopka ---------- */
.footer { margin-top: var(--sp-section); padding-bottom: 24px; }
.footer__top {
  border-top: 1px solid var(--line-strong);
  padding-top: clamp(28px, 4vw, 56px);
  display: grid;
  gap: 40px;
}
.footer__logo img { width: min(100%, clamp(240px, 38vw, 560px)); }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.footer__cols .label { margin-bottom: 12px; }
.footer__cols li a {
  display: inline-block; padding-block: 6px; text-decoration: none;
  background: linear-gradient(var(--ink), var(--ink)) left calc(100% - 4px) / 0 1px no-repeat;
  transition: background-size .25s var(--ease);
}
.footer__cols li a:hover { background-size: 100% 1px; }
.footer__bottom {
  margin-top: clamp(40px, 6vw, 96px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: var(--fs-s);
  color: var(--ink-3);
}
@media (min-width: 900px) {
  .footer__top { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .footer__logo { grid-column: 1 / span 6; }
  .footer__cols { grid-column: 7 / span 6; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* bez kresek między sekcjami */
.sec-head { border-top: 0; padding-top: 0; }
.footer__top, .footer__bottom { border-top: 0; }
/* przyciski: wersja z pierwszej makiety (prostokąt z małym ściętym rogiem lewym dolnym, Adrian 27.10) */
/* ścięty róg naprawdę wycięty (clip-path), a nie zamalowany kolorem tła: pod przyciskiem bywa stwór */
.btn { clip-path: polygon(0 0, 100% 0, 100% 100%, var(--notch) 100%, 0 calc(100% - var(--notch))); }
/* ::before rysuje już tylko kreskę ramki po przekątnej, w całości po wewnętrznej stronie cięcia */
.btn::before { background: linear-gradient(45deg, transparent calc(50% - .05px), var(--btn-bd) calc(50% - .05px) calc(50% + 1.05px), transparent calc(50% + 1.05px)); }
/* clip-path ucina obrys poza przyciskiem, więc fokus z klawiatury rysujemy w środku, w kolorze napisu */
.btn:focus-visible { outline: 2px solid var(--btn-fg); outline-offset: -6px; }
/* placeholder grafik przezroczysty: przed wczytaniem widać tło strony; winieta dopiero razem z obrazem (.is-ready) */
#realizacje .shot, #realizacje .shot--photo { background: transparent; }
#realizacje .shot::before { opacity: 0; transition: opacity .6s var(--ease); }
#realizacje .shot.is-ready::before { opacity: 1; }
/* stopka: dokumenty (polityka prywatności, cookies) obok praw autorskich */
.footer__legal { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer__legal a { color: var(--ink-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; text-decoration-color: var(--line); }
.footer__legal a:hover { color: var(--ink); text-decoration-color: currentColor; }
/* stopka: jasnoszare tło na całą szerokość i szara rycina krajobrazu ze stadem stworów (Adrian, 1.11, szarości 2.11) */
.footer { position: relative; z-index: 1; padding-bottom: 0; }
.footer::before { content: ""; position: absolute; top: -80px; bottom: 0; z-index: -1; pointer-events: none; left: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); right: calc(-1 * max(16px, env(safe-area-inset-right, 0px))); background: linear-gradient(to bottom, var(--paper) 0%, var(--paper-2) 45%, var(--paper-2) 100%); }
/* panorama w stałych proporcjach (góra się nie przycina), na telefonie kadr trzyma się stwora */
.footer::after { content: ""; display: block; aspect-ratio: 36 / 11; pointer-events: none; margin: -40px calc(-1 * max(16px, env(safe-area-inset-right, 0px))) 0 calc(-1 * max(16px, env(safe-area-inset-left, 0px))); background: url(../img/footer-scene.webp) 58% bottom / cover no-repeat; }
/* telefon: stała wysokość (proporcje z min-height wymusiłyby szerokość ok. 850 px i przewijanie w bok) */
@media (max-width: 759px) { .footer::after { aspect-ratio: auto; height: 260px; margin-top: 8px; } }
/* stopka: zdjęcie zespołu przy stole zamiast ryciny (Adrian, 19.11), bez stwora (w hero jest sygnet). Proporcje 13 : 4
   (2880 x 886), na telefonie zostaje stała wysokość, a kadr 51,3% trzyma środek stołu na środku ekranu. Ziarno zdjęcia to szum SVG nad nim
   (hard-light; obraz ma pod to wyrównany kontrast), maska u góry to obwiednia alfy oryginału, więc zdjęcie razem z ziarnem
   przechodzi w tło stopki bez krawędzi */
.footer { --footer-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='.32 0 0 0 .34  .32 0 0 0 .34  .32 0 0 0 .34  0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); }
@media (max-resolution: 1.49dppx) { .footer { --footer-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='.22 0 0 0 .39  .22 0 0 0 .39  .22 0 0 0 .39  0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); } }
.footer::after { aspect-ratio: 13 / 4; background: var(--footer-grain) 0 0 / 256px 256px repeat, url(../img/footer-photo-clean.webp) 51.3% 100% / cover no-repeat; background-blend-mode: hard-light, normal; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.015) 2%, rgba(0,0,0,.044) 4%, rgba(0,0,0,.099) 6%, rgba(0,0,0,.192) 8%, rgba(0,0,0,.323) 10%, rgba(0,0,0,.472) 12%, rgba(0,0,0,.62) 14%, rgba(0,0,0,.75) 16%, rgba(0,0,0,.846) 18%, rgba(0,0,0,.917) 20%, rgba(0,0,0,.953) 22%, rgba(0,0,0,.985) 24%, #000 27%); mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.015) 2%, rgba(0,0,0,.044) 4%, rgba(0,0,0,.099) 6%, rgba(0,0,0,.192) 8%, rgba(0,0,0,.323) 10%, rgba(0,0,0,.472) 12%, rgba(0,0,0,.62) 14%, rgba(0,0,0,.75) 16%, rgba(0,0,0,.846) 18%, rgba(0,0,0,.917) 20%, rgba(0,0,0,.953) 22%, rgba(0,0,0,.985) 24%, #000 27%); }
@media (max-width: 759px) { .footer::after { aspect-ratio: auto; } }
/* kontakt mniejszy (Adrian, 1.11): nagłówek w skali t-xl zamiast display */
.contact__title { font-size: var(--fs-xl); line-height: 1.08; letter-spacing: -0.016em; }

/* ---- z makiety: index.html ---- */
/* Lenis 1.1.13, lenis.css (inline, bo zewnętrzne arkusze są blokowane) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }
/* fokus oddany po zamknięciu menu lub galerii bez ramki; ramka wraca przy Tab */
.focus-quiet:focus, .focus-quiet:focus-visible { outline: none !important; }

/* ---- z makiety: index.html ---- */
/* nad plamą kursora w przycisku (.cu-goo, 98), pod samym kółkiem kursora (.cu, 100) */
.pt { position: fixed; inset: 0; z-index: 99; pointer-events: none; visibility: hidden; }
html.pt-covered .pt, .pt.is-busy { visibility: visible; pointer-events: auto; }
.pt__ink { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* czysta czerń, nie grafit z --ink (Adrian, 28.10) */
.pt__ink path { fill: #000; }

/* ---- z makiety: index.html ---- */
.ck {
  position: fixed;
  left: max(16px, env(safe-area-inset-left, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  z-index: 55;
  width: min(420px, calc(100vw - 32px));
  padding: 22px 22px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .08);
  font-size: var(--fs-s);
  line-height: 1.5;
  color: var(--ink);
}
.ck--away { visibility: hidden; }
.ck__title { font-size: var(--fs-m); font-weight: var(--w-medium); letter-spacing: -0.01em; margin-bottom: 6px; }
.ck__text { color: var(--ink-2); }
.ck__text a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.ck__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.ck .btn { min-height: 40px; padding: 0 16px; }
.ck__more {
  margin-left: auto;
  padding: 8px 2px;
  border: 0;
  background: none;
  font: inherit;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
  cursor: pointer;
}
.ck__prefs { overflow: hidden; }
.ck__list { margin-top: 16px; border-top: 1px solid var(--line); }
.ck__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ck__name { font-weight: var(--w-medium); }
.ck__desc { grid-column: 1; color: var(--ink-2); }
.ck__switch-cell { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
/* przełącznik prostokątny, jak przyciski strony */
.ck__switch {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  display: block;
  width: 40px;
  height: 22px;
  margin: 2px 0 0;
  border: 1px solid var(--ink);
  background: var(--paper);
  cursor: pointer;
  transition: background-color .25s var(--ease);
}
.ck__switch::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  background: var(--ink);
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.ck__switch:checked { background: var(--ink); }
.ck__switch:checked::before { transform: translateX(18px); background: var(--paper); }
.ck__switch:disabled { opacity: .45; cursor: not-allowed; }
.ck__save { margin-top: 14px; }
@media (max-width: 599px) {
  .ck { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom, 0px)); width: auto; padding: 18px 16px 14px; }
}
/* stopka: przycisk zmiany zgody wygląda jak sąsiednie linki dokumentów */
.footer__cookie {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  text-decoration-color: var(--line);
  cursor: pointer;
}
.footer__cookie:hover { color: var(--ink); text-decoration-color: currentColor; }
@media (prefers-reduced-motion: reduce) {
  .ck__switch, .ck__switch::before { transition: none; }
}

/* ---- z makiety: index.html ---- */
:root {
  /* menu: wysokość napisów liczona tak, żeby 4 pozycje i stopka zmieściły się w oknie */
  --hd-fs: min(20vw, calc((100svh - 210px) / 4.9), 10.5rem);
  --hd-ease-css: cubic-bezier(.76, 0, .24, 1);
}

.hd {
  position: sticky;
  top: 0;
  z-index: 40;
  /* tło na całą szerokość okna mimo bocznego marginesu .page */
  margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px)));
  margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px)));
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .35s var(--ease);
}
.hd.is-scrolled { border-bottom-color: var(--line); }
/* matowe szkło po przewinięciu: to, co przejeżdża pod headerem (stwór, zdjęcia, tekst), widać rozmyte.
   Przy otwartym menu, w trybie oszczędnym (cc-lowfx z hero.html) i bez backdrop-filter zostaje zwykłe tło */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  html:not(.cc-lowfx) .hd.is-scrolled:not(.is-open) {
    background: color-mix(in srgb, var(--paper) 68%, transparent);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
    backdrop-filter: blur(18px) saturate(1.15);
  }
}
/* przy otwartym menu nagłówek leży na panelu: to samo tło, ścięty róg przycisków w kolorze panelu */
.hd.is-open {
  --paper: var(--paper-2);
  background: var(--paper-2);
  border-bottom-color: transparent;
}

.hd__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  min-height: var(--header-h);
}
.hd__logo { display: block; flex: none; }
.hd__logo img { width: clamp(108px, 9vw, 132px); }
.hd__actions { display: flex; align-items: center; gap: 8px; }

/* Przycisk menu: same trzy kreski, bez ramki i bez napisu (nazwa zostaje dla czytników).
   Spoczynek: kreski 100 / 62 / 34 % wyrównane do prawej. Hover: długości się przetasowują z opóźnieniem.
   Otwarte: górna i dolna składają się w X, środkowa ucieka w prawo. */
.hd-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.hd-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.hd-toggle__label {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hd-toggle__label > span:last-child { display: none; }
.hd-toggle[aria-expanded="true"] .hd-toggle__label > span:first-child { display: none; }
.hd-toggle[aria-expanded="true"] .hd-toggle__label > span:last-child { display: inline; }
.hd-toggle__icon { position: relative; display: block; width: 30px; height: 16px; }
.hd-toggle__icon > i {
  position: absolute;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform-origin: 50% 50%;
  transition:
    width .55s var(--hd-ease-css),
    transform .6s var(--hd-ease-css),
    opacity .35s ease;
}
.hd-toggle__icon > i:nth-child(1) { top: 0;    width: 100%; }
.hd-toggle__icon > i:nth-child(2) { top: 7px;  width: 62%; transition-delay: .05s; }
.hd-toggle__icon > i:nth-child(3) { top: 14px; width: 34%; transition-delay: .1s; }
@media (hover: hover) and (pointer: fine) {
  .hd-toggle[aria-expanded="false"]:hover .hd-toggle__icon > i:nth-child(1) { width: 34%; }
  .hd-toggle[aria-expanded="false"]:hover .hd-toggle__icon > i:nth-child(2) { width: 100%; }
  .hd-toggle[aria-expanded="false"]:hover .hd-toggle__icon > i:nth-child(3) { width: 62%; }
}
.hd-toggle[aria-expanded="true"] .hd-toggle__icon > i:nth-child(1) { width: 100%; transform: translateY(7px) rotate(45deg); }
.hd-toggle[aria-expanded="true"] .hd-toggle__icon > i:nth-child(2) { width: 0; opacity: 0; transform: translateX(12px); transition-delay: 0s; }
.hd-toggle[aria-expanded="true"] .hd-toggle__icon > i:nth-child(3) { width: 100%; transform: translateY(-7px) rotate(-45deg); transition-delay: .05s; }
@media (prefers-reduced-motion: reduce) {
  .hd-toggle__icon > i { transition: none; }
}

/* ---------- Panel menu ---------- */
.hd-menu {
  position: fixed;
  inset: 0;
  z-index: 39;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  background: var(--paper-2);
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
}
.hd-menu[data-state="open"],
.hd-menu[data-state="closing"] { visibility: visible; }

.hd-menu__inner {
  flex: 1 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(32px, 5vh, 64px);
  padding-top: clamp(8px, 3vh, 40px);
}
/* telefon: pozycje przy dolnej krawędzi, w zasięgu kciuka */
@media (max-width: 599px) {
  .hd-menu__inner { justify-content: flex-end; }
}

.hd-menu__list { border-top: 1px solid transparent; }
.hd-menu__item { position: relative; }
/* linia pod pozycją: rysuje się od lewej przy otwarciu */
.hd-menu__rule {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--line);
  transform-origin: 0 50%;
}
.hd-menu__link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: var(--gap);
  padding-block: .06em .2em;
  color: var(--ink);
  text-decoration: none;
  transition: color .3s var(--ease);
}
.hd-menu__link:focus-visible { outline-offset: 2px; }
/* maska: napis wjeżdża spod dolnej krawędzi wiersza */
.hd-menu__mask {
  display: block;
  overflow: hidden;
  padding-bottom: calc(var(--hd-fs) * .2);
}
.hd-menu__word {
  display: block;
  font-size: var(--hd-fs);
  line-height: .92;
  letter-spacing: var(--tr-hero);
  font-weight: var(--w-medium);
  white-space: nowrap;
  will-change: transform;
}
.hd-menu__note {
  display: none;
  padding-bottom: .4em;
  font-size: var(--fs-s);
  line-height: 1.4;
  color: var(--ink-3);
  text-align: right;
}
@media (min-width: 900px) {
  .hd-menu__note { display: block; }
}
/* hover tylko przygasza pozostałe pozycje; nic nie otwiera */
@media (hover: hover) and (pointer: fine) {
  .hd-menu__list:hover .hd-menu__link { color: var(--ink-3); }
  .hd-menu__list .hd-menu__link:hover { color: var(--ink); }
}

.hd-menu__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));
  font-size: var(--fs-s);
}
.hd-menu__social { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.hd-menu__foot a { display: inline-block; padding-block: 10px; }

/* cel przewinięcia dostaje fokus programowo; bez obwódki wokół całej sekcji */
[data-hd-target]:focus { outline: none; }

/* ---- z makiety: index.html ---- */
:root {
  /* ograniczenie wysokością okna: nagłówek, lead i przyciski mieszczą się na pierwszym ekranie */
  --hx-fs: min(clamp(2.88rem, 1.08rem + 7.56vw, 9.45rem), 13.68vw, 13.5vh);
}

.hx {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  padding-block: clamp(24px, min(4vw, 5vh), 72px) clamp(32px, min(4vw, 5vh), 64px);
  /* hero zajmuje cały pierwszy ekran: zdjęcia realizacji zaczynają się dopiero pod nim (Adrian, 27.10) */
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* width: 100%, bo w kolumnie flex margin-inline: auto z .wrap zwęziłby blok do szerokości treści */
/* bez z-index: osobna warstwa odcięłaby nagłówek (difference) od płótna sygnetu */
.hx__body { position: relative; width: 100%; }

.hx__title {
  font-size: var(--hx-fs);
  /* Manrope: ogonek g 0,26 em + kropka i 0,73 em, więc poniżej ok. 1 ogonek wchodzi w kropkę wiersza niżej */
  line-height: 1.02;
  letter-spacing: var(--tr-hero);
  font-weight: var(--w-medium);
}
.hx__line { display: block; white-space: nowrap; }
.hx__in { display: inline-block; }
/* wejście nagłówka (litery): oryginalny tekst zostaje w DOM (czytnik ekranu, zaznaczanie) i jest tylko przezroczysty,
   a nad nim leży nakładka z literami (aria-hidden). Po animacji nakładka znika, a tekst wraca bez żadnej zmiany układu.
   Litery stoją w pozycjach zmierzonych na prawdziwym tekście (kerning i ujemny letter-spacing zachowane). */
.hx__in.is-split { position: relative; color: transparent; -webkit-text-fill-color: transparent; }
.hx__fx { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; color: var(--blend-title); -webkit-text-fill-color: var(--blend-title); }
.hx__ch { position: absolute; white-space: pre; will-change: transform, opacity; }

.hx__lead {
  margin-top: max(24px, calc(var(--hx-fs) * .34));
  max-width: 34ch;
  font-size: var(--fs-m);
  line-height: 1.45;
  letter-spacing: -0.008em;
}
.hx__ctas {
  margin-top: clamp(24px, 2.4vw, 36px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 599px) {
  .hx__ctas .btn { flex: 1 1 auto; }
}
@media (min-width: 600px) {
  .hx__lead { max-width: none; }
  .hx__lead-2 { display: block; }
}

/* ---------- Sygnet CC (WebGL2) ----------
   Płótno maluje też papier (jest nieprzezroczyste) i leży w tej samej warstwie co tekst (.hx ma isolation), więc
   nagłówek i lead w trybie difference mieszają się z nim: na papierze wychodzi --ink, na czarnej wstędze jasny.
   Płótno idzie na całą szerokość okna i pod header (przyklejony, z-index 40, na górze bez tła), żeby ziarno i smugi
   nie miały krawędzi; w bok przycina je body (overflow-x: clip), więc .hx już nie przycina.
   Dół płótna gaśnie, żeby smugi nie kończyły się prostym cięciem nad realizacjami. */
:root {
  --gl-ink: #1B1B1B;
  --gl-hi: #FFFFFF;
  /* tekst hero leży zwykłą warstwą nad płótnem (Adrian 19.11: animacja nie może nachodzić na tekst), więc bez
     difference: kolor nagłówka i leadu to po prostu grafit; nazwa zmiennej zostaje, bo używa jej wejście liter */
  --blend-title: var(--ink);
}
.hx { overflow-x: visible; }
/* kreatury przez całą stronę (20.11): płótno przypięte do okna pod treścią (skrypt przenosi je na poziom <body>);
   treść strony leży nad nim, stopka (z-index 1, później w kodzie) też */
.hx__gl.is-page { position: fixed; inset: 0; top: 0; left: 0; width: 100%; height: 100%; -webkit-mask-image: none; mask-image: none; }
.page main { position: relative; z-index: 1; }
/* oko przy realizacjach nad treścią (pod headerem z-index 40), żeby karty stosu go nie zasłaniały */
.hx__gl.is-page.is-front { z-index: 2; }
.hx__gl {
  position: absolute;
  top: calc(-1 * var(--header-h) - 4px);   /* zapas: header bywa o piksel wyższy niż --header-h */
  bottom: 0;
  left: calc(50% - 50vw);
  z-index: 0;
  display: block;
  width: 100vw;
  height: calc(100% + var(--header-h) + 4px);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 96px), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 96px), transparent);
}
.hx__fallback {
  position: absolute;
  z-index: 0;
  right: 6vw;
  top: 50%;
  width: min(36vw, 50vh);
  translate: 0 -50%;
  color: var(--ink);
  pointer-events: none;
}
.hx__fallback svg { display: block; width: 100%; height: auto; }
.hx__title, .hx__lead { color: var(--blend-title); }
/* rozmycie przy przewijaniu (GSAP przez zmienne) idzie na dzieci .hx__body: filtr albo przezroczystość na samym
   .hx__body zamknęłyby nagłówek w osobnej warstwie i difference przestałby widzieć płótno */
.hx__body { --hx-blur: 0px; --hx-fade: 1; --hx-y: 0px; }
.hx__body > * { filter: blur(var(--hx-blur)); opacity: var(--hx-fade); translate: 0 var(--hx-y); }
/* na samej górze strony header bez tła (po przewinięciu szkło) */
.page .hd:not(.is-scrolled):not(.is-open) { background: transparent; }
/* telefon i mały tablet: sygnet u góry, tekst zaczyna się pod nim */
@media (max-width: 759px) {
  .hx { justify-content: flex-start; padding-top: 34svh; }
  .hx__fallback { right: 4vw; top: 6svh; width: 46vw; translate: none; }
}

/* ---- z makiety: index.html ---- */
/* Kadr ze zdjęciem: ta sama proporcja co kadry montażu (21:9, 16:10, na telefonie 4:5), zdjęcie przycięte jak cover */
.shot--photo { background: var(--paper-2); }
.shot--photo picture,
.shot--photo img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.shot--photo img { object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.work__link:hover .shot--photo img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .shot--photo img { transition: none; } }
/* kafelek z filmem (logo, plansze): na telefonie zostaje 16:9, bo kadr 4:5 uciąłby logo i hasło (Adrian, 19.11) */
@media (max-width: 759px) { .shot--frame.shot--film { aspect-ratio: 16 / 9; } }

/* ---- z makiety: index.html ---- */
/* kafelek z animacją: film kadrowany jak zdjęcie (cover), to samo powiększenie na hover */
        .shot--photo video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
        .work__link:hover .shot--photo video { transform: scale(1.03); }
        @media (prefers-reduced-motion: reduce) { .shot--photo video { transition: none; } }

/* ---- z makiety: index.html ---- */
.reel.is-stack { display: block; }
.reel.is-stack > .cut {
  position: sticky;
  width: calc((100% - 11 * var(--gap)) * 8 / 12 + 7 * var(--gap));
  margin-bottom: clamp(80px, 10vw, 168px);
}
.reel.is-stack > .cut:last-child { margin-bottom: 0; }
.reel.is-stack > .cut--right { margin-left: auto; }
/* karta: papier pod napisami zasłania kadr pod spodem; zasłona w kolorze papieru gęstnieje, gdy karta odchodzi w głąb */
.reel.is-stack > .cut > article {
  --stack-dim: 0;
  position: relative;
  /* zapas na ogonki liter tytułu (g, y): inaczej wystają poza kartę i zasłona ich nie obejmuje */
  padding-bottom: calc(var(--fs-display) * .3);
  background: var(--paper);
  transform-origin: 50% 0;
  will-change: transform;
}
.reel.is-stack > .cut > article::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 9;
  background: var(--paper);
  opacity: var(--stack-dim);
  pointer-events: none;
}
@media (max-width: 1080px) {
  .reel.is-stack > .cut { width: calc((100% - 11 * var(--gap)) * 10 / 12 + 9 * var(--gap)); }
}
@media (max-width: 760px) {
  .reel.is-stack > .cut { width: 100%; }
}

/* ---- z makiety: index.html ---- */
/* ---------- Usługi (zwijane przewijaniem) ----------
   Bez JS i przy prefers-reduced-motion: zwykła lista, wszystkie pozycje otwarte.
   Z JS (klasa .sv--live): strona przewija się normalnie, bez blokowania. Nagłówek "Usługi" i tytuł najwyższej
   pozycji przyklejają się pod headerem (natywny sticky), treść pozycji rozpływa się pod tytułem (maska z gradientem + opacity),
   a na końcu tytuł odjeżdża pod nagłówek i znika. Żadnych zmian wysokości, więc nic nie skacze. */
#uslugi .sec-head { margin-bottom: clamp(14px, 2vw, 28px); }
.sv__items { border-bottom: 1px solid var(--line); }
.sv__head { border-top: 1px solid var(--line); }
.sv__title {
  display: block;
  padding: clamp(12px, 1.6vw, 26px) 0;
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  letter-spacing: var(--tr-display);
  font-weight: var(--w-regular);
  color: var(--ink);
  text-decoration: none;
}
.sv__inner { display: grid; gap: 28px; padding-bottom: clamp(24px, 3.4vw, 52px); }
.sv__desc { font-size: var(--fs-m); line-height: 1.45; max-width: 32ch; }
.sv__list .label { margin-bottom: 10px; }
.sv__list li { padding-block: 10px; border-top: 1px solid var(--line); font-size: var(--fs-s); }
@media (min-width: 900px) {
  .sv__inner { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .sv__desc { grid-column: 1 / span 5; }
  .sv__list { grid-column: 7 / span 5; }
}
@media (max-width: 599px) {
  .sv__title { padding-block: 10px; }
  .sv__list li { padding-block: 7px; }
}

/* tryb "live": linia zwijania = dół nagłówka sekcji (top + wysokość + odstęp, liczone w JS jako --sv-line) */
.sv--live .sec-head { position: sticky; top: var(--header-h); z-index: 2; padding-top: 10px; }
.sv--live .sv__head { position: sticky; top: var(--sv-line, var(--header-h)); z-index: 1; }
.sv--live .sv__title { cursor: pointer; }
.sv--live .sv__head, .sv--live .sv__panel { will-change: opacity; }

/* ---------- Etapy: kreska atramentu ----------
   Wzdłuż etapów biegnie cienka kreska; przy przewijaniu wlewa się w nią atrament z kroplą na czele (motyw cieczy
   jak przy wypełnianiu przycisków). Kropla dochodzi do znacznika: znacznik wypełnia się z pyknięciem, etap przechodzi
   z szarego do czerni. Desktop poziomo, telefon pionowo. Bez JS etapy wyglądają na odhaczone (.st--live włącza grę). */
.st { grid-column: 1 / -1; margin-top: clamp(4px, 1vw, 12px); }
.st .label { margin-bottom: 14px; }
.st__list { position: relative; display: grid; gap: 18px; padding-left: 30px; }
.st__item { position: relative; display: grid; gap: 4px; align-content: start; }
/* znacznik: kwadrat ze ściętym rogiem jak przyciski; róg naprawdę wycięty (clip-path, przezroczysty).
   Pusty znacznik = ciemna warstwa + jasne wnętrze (::after) przycięte tym samym kształtem, więc obrys idzie też po ukosie */
.st__mark {
  position: absolute; left: -30px; top: .3em;
  width: 11px; height: 11px;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 3.5px 100%, 0 calc(100% - 3.5px));
  transition: background-color .3s var(--ease);
}
.st__mark::after {
  content: ""; position: absolute; inset: 1px;
  background: var(--paper);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 2.9px 100%, 0 calc(100% - 2.9px));
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.st__name { font-weight: var(--w-medium); color: var(--ink); transition: color .4s var(--ease); }
.st__what { font-size: var(--fs-s); line-height: 1.45; color: var(--ink-2); transition: color .4s var(--ease); }
.st--live .st__item:not(.is-on) .st__mark { background: var(--ink-3); }
.st--live .st__item:not(.is-on) .st__mark::after { opacity: 1; }
.st--live .st__item:not(.is-on) .st__name,
.st--live .st__item:not(.is-on) .st__what { color: var(--ink-3); }
.st--live .st__item.is-on .st__mark { animation: st-pop .5s cubic-bezier(.3, 1.7, .5, 1); }
@keyframes st-pop { from { transform: scale(.5); } to { transform: scale(1); } }
/* kreska (pozycja i długość z JS), atrament i kropla (tylko transform w każdej klatce) */
.st__rail { position: absolute; left: 0; top: 0; width: 0; height: 0; list-style: none; background: var(--line); pointer-events: none; }
.st__ink { position: absolute; left: 0; top: 0; background: var(--ink); transform-origin: 0 0; }
.st__drop { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); will-change: transform; }
.st:not(.st--live) .st__rail { display: none; }
@media (min-width: 900px) {
  .st__list { grid-template-columns: repeat(var(--st-n, 5), minmax(0, 1fr)); column-gap: var(--gap); padding-left: 0; padding-top: 30px; }
  .st__mark { left: 0; top: -30px; }
}
@media (prefers-reduced-motion: reduce) {
  .st__mark, .st__mark::after, .st__name, .st__what { transition: none; }
  .st--live .st__item.is-on .st__mark { animation: none; }
}

/* ---- z makiety: index.html ---- */
/* komputer: spis z lewej (5 z 12 kolumn) przyklejony pod headerem, treść usług z prawej w zwykłym przepływie */
.sv__index { display: none; }
@media (min-width: 900px) {
  .sv__layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .sv__index { display: block; grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 40px); }
  .sv__index ol { list-style: none; margin: 0; padding: 0; }
  .sv__index a {
    position: relative; display: block; padding-block: .14em;
    font-size: clamp(1.5rem, 0.8rem + 2.4vw, 3.1rem); line-height: 1.08; letter-spacing: var(--tr-display);
    color: var(--ink); text-decoration: none; opacity: .24; transition: opacity .55s var(--ease);
  }
  .sv__index a:hover, .sv__index a:focus-visible { opacity: .6; }
  .sv__index a.is-active { opacity: 1; }
  .sv__layout .sv__items { grid-column: 6 / -1; border-bottom: 0; }
  /* każda usługa ma swój kawałek przewijania, więc spis zdąży się przełączyć; tytuł w treści mniejszy (duży jest w spisie) */
  .sv__layout .sv__item { min-height: 72vh; padding-bottom: clamp(48px, 6vw, 96px); }
  .sv__layout .sv__head { position: static; }
  .sv__layout .sv__title { font-size: var(--fs-l); padding-block: clamp(14px, 1.4vw, 22px) clamp(18px, 2vw, 30px); pointer-events: none; }
  .sv__layout .sv__panel { opacity: 1; }
}
/* kropla na czele kreski etapów nie wystaje poza kreskę: 2 px grubości jak atrament, zaokrąglony koniec 2 px przed nim.
   Telefon: kreska pionowa, komputer: pozioma (zgodnie z układem listy etapów). */
.st__drop { left: -0.5px; top: -4px; width: 2px; height: 6px; border-radius: 1px; }
@media (min-width: 900px) { .st__drop { left: -4px; top: -0.5px; width: 6px; height: 2px; } }
@media (prefers-reduced-motion: reduce) {
  .sv__index a { transition: none; }
}

/* ---- z makiety: index.html ---- */
html.gl-lock { overflow: hidden; }
.gl {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: var(--paper);
  color: var(--ink);
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.gl[hidden] { display: none; }
/* galeria leży poza .page, więc margines boczny ustawia sama */
.gl .wrap {
  width: 100%;
  padding-left: max(16px, env(safe-area-inset-left, 0px), clamp(0px, 2.2vw - 8px, 28px));
  padding-right: max(16px, env(safe-area-inset-right, 0px), clamp(0px, 2.2vw - 8px, 28px));
}
.gl__top, .gl__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.gl__top { padding-block: clamp(16px, 2.4vw, 28px) clamp(10px, 1.6vw, 18px); align-items: flex-start; }
.gl__bottom { padding-block: clamp(12px, 1.8vw, 20px) clamp(16px, 2.4vw, 28px); }
.gl__meta { display: grid; gap: 6px; min-width: 0; }
.gl__title { margin: 0; font-size: var(--fs-xl); line-height: 1; letter-spacing: -0.02em; font-weight: var(--w-regular); }
.gl__scope { margin: 0; font-size: var(--fs-s); color: var(--ink-3); }
.gl__side { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.gl__count { margin: 0; font-size: var(--fs-s); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.gl__count span:first-child { color: var(--ink); }
.gl__count span:last-child { color: var(--ink-3); }

.gl__viewport { position: relative; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.gl__viewport.is-drag { cursor: grabbing; }
.gl__track { position: absolute; top: 0; bottom: 0; left: 0; display: flex; align-items: center; gap: clamp(12px, 2vw, 32px); will-change: transform; }
.gl__slide { flex: none; margin: 0; position: relative; overflow: hidden; background: transparent; opacity: .32; transition: opacity .6s cubic-bezier(.2, .7, .2, 1); }
.gl__slide.is-active { opacity: 1; }
.gl__slide img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.gl__slide video { display: block; width: 100%; height: 100%; object-fit: cover; background: transparent; }
/* film bez kontrolek nie łapie wskaźnika: przeciąganie karuzeli działa także na nim */
.gl__slide video:not([controls]) { pointer-events: none; }

.gl__bar { position: relative; flex: 1; max-width: 320px; height: 1px; background: var(--line); overflow: hidden; }
.gl__bar span { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.gl__nav { display: flex; gap: 8px; }

.gl-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.gl-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.gl-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.gl-btn[disabled] { opacity: .3; cursor: default; }
.gl__close { border-color: transparent; }
.gl__close i { position: absolute; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.gl__close i:first-child { transform: rotate(45deg); }
.gl__close i:last-child { transform: rotate(-45deg); }

@media (max-width: 599px) {
  .gl__title { font-size: var(--fs-l); }
  .gl__bar { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gl__slide, .gl__bar span { transition: none; }
}

/* ---- z makiety: index.html ---- */
/* slajd z opisem projektu (pierwszy w galerii, gdy realizacja ma opis): kolumna tekstu wyśrodkowana w pionie */
.gl__slide--about { background: transparent; }
.gl__about { box-sizing: border-box; height: 100%; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; justify-content: center; gap: clamp(12px, 1.4vw, 20px); padding-right: clamp(8px, 2vw, 32px); }
.gl__lead { margin: 0; max-width: 22ch; font-size: var(--fs-l); line-height: 1.18; letter-spacing: -0.012em; color: var(--ink); }
.gl__para { margin: 0; max-width: 44ch; font-size: 1rem; line-height: 1.55; color: var(--ink-2); }
.gl__facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 6px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: var(--fs-s); max-width: 44ch; }
.gl__facts dt { color: var(--ink-3); }
.gl__facts dd { margin: 0; color: var(--ink); }
.gl__facts a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
@media (max-width: 759px) { .gl__para { font-size: .9375rem; } }

/* ---- z makiety: index.html ---- */
.studio__statement .sw { transition: none; }
/* paralaksa: zdjęcie wyższe od kadru o 14%, przesuwane w pionie */
#realizacje .shot--photo picture { top: -7%; bottom: -7%; height: auto; will-change: transform; }
.hx__body > * { will-change: filter, opacity, translate; }
/* tryb oszczędny (cc-lowfx z hero.html): bez rozmycia, zostaje tylko wygaszanie i przesunięcie */
html.cc-lowfx .hx__body > * { filter: none !important; }

/* ---- z makiety: index.html ---- */
/* kurtyna nad winietą (.shot::before, z 5) i ziarnem (.grain, z 6), żeby zasłaniała czystym kolorem tła */
.shot__veil { position: absolute; inset: 0; z-index: 7; background: var(--paper); transform-origin: 50% 0; pointer-events: none; }
/* kreska listy rysowana w miejscu obramowania; po animacji wraca zwykłe obramowanie */
.sv__list li.ln-on { position: relative; border-top-color: transparent; }
.ln { position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--line); transform-origin: 0 50%; pointer-events: none; }
.footer__logo.is-masked { overflow: hidden; }

/* ---- z makiety: index.html ---- */
.cu { display: none; }

html.cu-on .cu {
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  width: 0;
  height: 0;
  pointer-events: none;
  /* biel + difference: na bieli kółko jest czarne, czarny tekst w kółku robi się biały */
  mix-blend-mode: difference;
  transform: translate3d(-200px, -200px, 0);
}
html.cu-on .cu.is-view { mix-blend-mode: normal; }

.cu__dot,
.cu__label {
  position: absolute;
  left: -40px;
  top: -40px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
}
.cu__dot {
  background: var(--paper);
  opacity: 0;
  transform: scale(.35);                       /* 80 px x .35 = 28 px */
  transition: transform .45s var(--ease), opacity .25s var(--ease);
}
.cu.is-visible .cu__dot { opacity: 1; }
.cu.is-link .cu__dot { transform: scale(1); }
.cu.is-down .cu__dot { transform: scale(.28); }
.cu.is-link.is-down .cu__dot { transform: scale(.88); }
.cu.is-view .cu__dot { background: var(--ink); transform: scale(1.2); transition-property: transform, opacity; }

.cu__label {
  display: grid;
  place-items: center;
  color: var(--on-ink);
  font-size: var(--fs-s);
  font-weight: var(--w-medium);
  letter-spacing: -0.005em;
  opacity: 0;
  transform: scale(.6);
  transition: transform .45s var(--ease), opacity .2s var(--ease);
}
.cu.is-view.is-visible .cu__label { opacity: 1; transform: scale(1); }

/* natywny kursor znika tylko wtedy, gdy kółko działa */
html.cu-on,
html.cu-on * { cursor: none !important; }

/* ---------- Wsysanie: kółko wpada w przycisk albo link ----------
   1) kółko lekko się nadyma (.is-swell), 2) znika w elemencie (.is-absorbed),
   3) przycisk: kolor rozlewa się kołem od punktu wejścia; link: podkreślenie rośnie od punktu wejścia.
   Przy wyjściu odwrotnie: kolor ścieka do punktu wyjścia, a kółko z niego wyskakuje. */
.cu.is-swell .cu__dot { transform: scale(.52); transition-duration: .16s; }
.cu.is-absorbed .cu__dot { transform: scale(0); transition: transform .26s cubic-bezier(.55, 0, .75, .2), opacity .2s; }

html.cu-on .cu-fillable { position: relative; overflow: hidden; }
/* ścięty róg (::before) leży nad wlanym kolorem, więc w trybie oszczędnym nie zmienia się w czarny trójkąt */
html.cu-on .cu-fillable::before { z-index: 3; }
/* przy myszy przyciski nie odwracają się same na hover: robi to wlany kolor */
html.cu-on .btn:hover { --btn-bg: var(--ink); --btn-fg: var(--on-ink); }
html.cu-on .btn--ghost:hover { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.cu-fill {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: var(--paper);
  /* difference z bielą: czarny przycisk robi się biały z czarnym napisem, obrysowany odwrotnie */
  mix-blend-mode: difference;
  clip-path: circle(0px at 50% 50%);
}

/* przy myszy linki tekstowe tracą swoje podkreślenia: linia pojawia się tylko z wessanego kółka */
html.cu-on footer a:not(.btn):not(.footer__logo),
html.cu-on .hd-menu__social a,
html.cu-on a.link,
html.cu-on a.email { text-decoration: none; background-image: none; }
/* duży adres e-mail: cieńsza linia, przy samej podstawie liter */
html.cu-on a.email.cu-u::after { bottom: 0; height: max(2px, .03em); }
.cu__label { white-space: nowrap; }
html.cu-on .cu-u { position: relative; text-decoration: none; }

/* Siorbanie (gooey SVG): kulka i plama w przycisku to białe kształty pod filtrem metaball,
   warstwa w trybie difference, więc wygląda jak ciecz, która odwraca kolory pod sobą.
   Pod kurtyną przejścia (.pt, 99): inaczej plama klikniętego przycisku świeci na czarnym ekranie. */
.cu-goo { position: fixed; left: 0; top: 0; z-index: 98; pointer-events: none; mix-blend-mode: difference; overflow: visible; display: none; }
.cu-goo.is-on { display: block; }
.cu.is-goo .cu__dot { opacity: 0 !important; transition: none !important; }
html.cu-on .cu-u::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.14em;
  height: max(1px, .07em);
  background: currentColor;
  transform: scaleX(0);
  transform-origin: var(--cu-ox, 50%) 50%;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1);
  pointer-events: none;
}
html.cu-on .cu-u.cu-u--on::after { transform: scaleX(1); }
html.cu-on .cu-u.cu-u--out::after { transition-duration: .4s; transition-timing-function: cubic-bezier(.5, 0, .75, .3); }

@media (prefers-reduced-motion: reduce) {
  .cu__dot, .cu__label { transition-duration: .01ms; }
  html.cu-on .cu-u::after { transition-duration: .01ms; }
}

/* ---- z makiety: kontakt.html ---- */
.kt { padding-block: clamp(40px, 7vw, 120px) clamp(24px, 4vw, 64px); }
.kt__grid { display: grid; gap: clamp(40px, 6vw, 96px); }
@media (min-width: 900px) {
  .kt__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .kt__intro { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 32px); }
  .kt__form, .kt__done { grid-column: 7 / span 6; }
}
.kt__title {
  margin-top: 18px;
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  letter-spacing: var(--tr-display);
  font-weight: var(--w-regular);
}
.kt__lead { margin-top: clamp(18px, 2vw, 28px); max-width: 34ch; font-size: var(--fs-m); line-height: 1.45; color: var(--ink-2); }
.kt__ways { margin-top: clamp(32px, 4vw, 56px); display: grid; gap: 20px; }
.kt__ways .label { margin-bottom: 6px; }
.kt__ways dd { font-size: var(--fs-l); letter-spacing: -0.01em; }
.kt__ways a { color: var(--ink); text-decoration: none; }

/* pola: sama linia pod spodem, etykieta nad polem */
.kt__form { display: grid; gap: clamp(26px, 3vw, 36px); }
.kt__form[hidden] { display: none; }
.kt__field { display: grid; gap: 8px; }
.kt__label { font-size: var(--fs-s); color: var(--ink-2); }
.kt__label em { font-style: normal; color: var(--ink-3); }
.kt__input {
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  /* kreska w spoczynku --gap-line (3,5:1): granica pola potrzebuje co najmniej 3:1 (WCAG 1.4.11), --line miała 1,4:1 */
  border-bottom: 1px solid var(--gap-line);
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: var(--fs-m);
  color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.kt__input::placeholder { color: var(--ink-3); }
.kt__input:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
.kt__input:focus-visible { outline: none; }
textarea.kt__input { min-height: 140px; resize: vertical; line-height: 1.5; }
.kt__input[aria-invalid="true"] { border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
.kt__error { display: flex; gap: 8px; align-items: baseline; font-size: var(--fs-s); color: var(--ink); }
.kt__error[hidden] { display: none; }
.kt__error::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 16px; height: 16px; background: var(--ink); color: var(--paper); font-size: 11px; font-weight: var(--w-medium); line-height: 1; }
.kt__row { display: grid; gap: clamp(26px, 3vw, 36px); }
@media (min-width: 600px) { .kt__row { grid-template-columns: 1fr 1fr; column-gap: var(--gap); } }

/* wybór: kafelki w stylu przycisków (prostokąt ze ściętym rogiem), pod spodem prawdziwy checkbox/radio */
.kt__set { border: 0; padding: 0; margin: 0; min-width: 0; }
.kt__set legend { padding: 0; margin-bottom: 12px; font-size: var(--fs-s); color: var(--ink-2); }
.kt__set legend em { font-style: normal; color: var(--ink-3); }
.kt__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kt__chip { position: relative; }
.kt__chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
/* obrys z dwóch warstw: tło kafelka to kolor ramki, jasne wnętrze (::before) jest o 1 px mniejsze; obie warstwy
   przycięte tym samym kształtem, więc ramka idzie też po ukosie ściętego rogu, a sam róg jest przezroczysty */
.kt__chip span {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  background: var(--ink-3);
  font-size: var(--fs-s);
  color: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.kt__chip span::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  background: var(--paper);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 7.4px 100%, 0 calc(100% - 7.4px));
  transition: background-color .2s var(--ease);
}
.kt__chip:hover span { background: var(--ink); }
.kt__chip input:checked + span { background: var(--ink); color: var(--on-ink); }
.kt__chip input:checked + span::before { background: var(--ink); }
.kt__chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: -5px; }
.kt__chip input:checked:focus-visible + span { outline-color: var(--on-ink); }

/* zgoda: kwadratowy znacznik */
.kt__consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: var(--fs-s); color: var(--ink-2); }
/* zgoda: kwadrat ze ściętym rogiem jak przyciski (róg przezroczysty, obrys z dwóch warstw: ciemna + jasne wnętrze) */
.kt__consent input {
  -webkit-appearance: none; appearance: none;
  position: relative;
  width: 20px; height: 20px; margin: 1px 0 0;
  border: 0; background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  display: grid; place-items: center; cursor: pointer;
}
.kt__consent input::after {
  content: ""; position: absolute; inset: 1px;
  background: var(--paper);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 5.4px 100%, 0 calc(100% - 5.4px));
}
.kt__consent input::before {
  content: ""; position: relative; z-index: 1;
  width: 10px; height: 10px; background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 3px 100%, 0 calc(100% - 3px));
  transform: scale(0); transition: transform .2s cubic-bezier(.3, 1.6, .5, 1);
}
.kt__consent input:checked::before { transform: scale(1); }
/* ramka fokusu zostałaby ucięta razem z rogiem, więc przy Tab obrys robi się grubszy */
.kt__consent input:focus-visible { outline: none; }
.kt__consent input:focus-visible::after { inset: 3px; clip-path: polygon(0 0, 100% 0, 100% 100%, 4.2px 100%, 0 calc(100% - 4.2px)); }
.kt__consent a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.kt__consent .kt__error { grid-column: 2; }
.kt__send { justify-self: start; }

/* podziękowanie po wysłaniu */
.kt__done { display: grid; gap: 18px; align-content: start; }
.kt__done[hidden] { display: none; }
.kt__done .kt__done-title { font-size: var(--fs-xl); line-height: 1.1; letter-spacing: -0.02em; word-spacing: .05em; color: var(--ink); max-width: 22ch; }
.kt__again { justify-self: start; margin-top: 8px; }
@media (prefers-reduced-motion: reduce) {
  .kt__input, .kt__chip span, .kt__chip span::before, .kt__consent input::before { transition: none; }
}

/* ---- z makiety: kontakt.html ---- */
.kt__form { gap: clamp(36px, 4vw, 52px); }
.kt__row { gap: clamp(28px, 3vw, 36px); }
.kt__field { gap: 10px; }
.kt__label, .kt__set legend { font-size: 1rem; line-height: 1.35; font-weight: var(--w-medium); color: var(--ink); }
.kt__label em, .kt__set legend em { font-weight: var(--w-regular); color: var(--ink-3); }
.kt__set legend { margin-bottom: 14px; }
.kt__input {
  padding: 14px 16px 15px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--ink-3);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  font-size: 1.125rem;
  line-height: 1.4;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.kt__input::placeholder { color: var(--ink-3); opacity: 1; }
.kt__input:hover { border-bottom-color: var(--ink); }
.kt__input:focus,
.kt__input[aria-invalid="true"] { border-bottom-color: var(--ink); box-shadow: inset 0 -2px 0 0 var(--ink); }
textarea.kt__input { min-height: 168px; line-height: 1.5; }
.kt__chips { gap: 10px; }
.kt__chip span { min-height: 44px; padding: 0 18px; font-size: 1rem; }
.kt__consent { font-size: 1rem; line-height: 1.5; }

/* ---- z makiety: kontakt.html ---- */
.studio__statement .sw { transition: none; }
/* paralaksa: zdjęcie wyższe od kadru o 14%, przesuwane w pionie */
#realizacje .shot--photo picture { top: -7%; bottom: -7%; height: auto; will-change: transform; }
.hx__body { will-change: filter, opacity, transform; }
/* tryb oszczędny (cc-lowfx z hero.html): bez rozmycia, zostaje tylko wygaszanie i przesunięcie */
html.cc-lowfx .hx__body { filter: none !important; }

/* ---- z makiety: polityka-prywatnosci.html ---- */
.doc { padding-block: clamp(40px, 7vw, 120px) clamp(56px, 7vw, 120px); }
.doc__grid { display: grid; gap: 32px; }
.doc__toc { display: none; }
@media (min-width: 1100px) {
  .doc__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .doc__toc { display: block; grid-column: 1 / span 3; position: sticky; top: calc(var(--header-h) + 40px); }
  .doc__body { grid-column: 5 / span 7; }
}
.doc__toc .label { margin-bottom: 14px; }
.doc__toc ol { display: grid; gap: 2px; }
.doc__toc a { display: block; padding-block: 5px; font-size: var(--fs-s); line-height: 1.35; color: var(--ink-3); text-decoration: none; transition: color .3s var(--ease); }
.doc__toc a:hover, .doc__toc a.is-active { color: var(--ink); }
.doc__body { max-width: 38rem; }   /* ok. 65 znaków w wierszu przy 17 px: wygodne czytanie (Adrian: „w miarę wąsko”) */
.doc__title { margin-top: 16px; font-size: var(--fs-xl); line-height: 1.04; letter-spacing: -0.02em; font-weight: var(--w-regular); }
.doc__date { margin-top: 16px; font-size: var(--fs-s); color: var(--ink-3); }
.doc__lead { margin-top: clamp(24px, 3vw, 40px); font-size: var(--fs-m); line-height: 1.5; color: var(--ink); }
.doc h2 { margin: clamp(44px, 5vw, 68px) 0 14px; font-size: clamp(1.25rem, 1.05rem + .6vw, 1.625rem); line-height: 1.25; letter-spacing: -0.01em; font-weight: var(--w-medium); scroll-margin-top: calc(var(--header-h) + 28px); }
.doc h2 .doc__no { color: var(--ink-3); font-weight: var(--w-regular); margin-right: .5em; font-variant-numeric: tabular-nums; }
/* treść: tylko akapity bez klasy i punkty list (etykieta, data i lead mają własne wielkości) */
.doc__body p:not([class]), .doc__body li { font-size: 1.0625rem; line-height: 1.7; color: var(--ink-2); }
.doc__body p + p, .doc__body ul + p, .doc__body p + ul, .doc__body table + p, .doc__body p + .doc__act { margin-top: .9em; }
.doc__body ul { padding-left: 1.15em; list-style: disc; }
.doc__body ul li::marker { color: var(--ink-3); }
.doc__body li + li { margin-top: .45em; }
.doc__body strong { color: var(--ink); font-weight: var(--w-medium); }
.doc__body a:not(.btn) { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.doc__body code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; color: var(--ink); }
/* tabela cookies: na telefonie wiersze jako karty z podpisami */
.doc__table { width: 100%; margin-top: 1em; border-collapse: collapse; font-size: var(--fs-s); line-height: 1.5; }
.doc__table th { text-align: left; font-weight: var(--w-medium); color: var(--ink-3); padding: 0 16px 10px 0; border-bottom: 1px solid var(--ink-3); }
.doc__table td { vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
@media (max-width: 759px) {
  .doc__table thead { display: none; }
  .doc__table tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .doc__table td { display: grid; grid-template-columns: 7.5em 1fr; gap: 10px; padding: 3px 0; border: 0; }
  .doc__table td::before { content: attr(data-label); color: var(--ink-3); }
}
.doc__act { margin-top: 1.2em; }
/* 404 */
.e404 > .wrap { width: 100%; }   /* margin auto w siatce zwęziłby kontener do treści */
.e404 { min-height: calc(100svh - var(--header-h) - 120px); display: grid; align-content: center; padding-block: clamp(56px, 9vw, 140px); }
.e404__title { margin-top: 18px; max-width: 14ch; font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--tr-display); font-weight: var(--w-regular); }
.e404__lead { margin-top: clamp(18px, 2vw, 28px); max-width: 40ch; font-size: var(--fs-m); line-height: 1.5; color: var(--ink-2); }
.e404__act { margin-top: clamp(28px, 3vw, 44px); display: flex; flex-wrap: wrap; gap: 10px; }
