/* UWAŻNIA — Pracownia Twórczości i Emocji
   Kolorystyka z logo: atrament, piasek, pomarańcz na kremowym tle */
:root {
  --cream: #f9efe7;
  --cream-2: #f3e6da;
  --paper: #fffaf5;
  --sand: #e2cdb2;
  --sand-dark: #c9ad8a;
  --orange: #e0803a;
  --orange-dark: #b9601f;
  --ink: #201e1c;
  --ink-soft: #57514b;
  --line: #e6d6c5;
  --radius: 14px;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--orange-dark); }
a:hover { color: var(--ink); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); letter-spacing: .02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

.eyebrow {
  font-size: .78rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 1rem; display: block;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* ozdobnik z logo: pomarańczowa kropka i fala z przecinającą się linią */
.stroke {
  display: block; width: 200px; max-width: 100%; aspect-ratio: 277 / 23;
  margin: 1.6rem 0;
  background: url("img/ornament.png") left center / contain no-repeat;
}
.stroke.center { margin-left: auto; margin-right: auto; background-position: center; }

/* ---------- nagłówek ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(249, 239, 231, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 54px; height: auto; }
.brand-name { font-family: var(--serif); font-size: 1.55rem; letter-spacing: .3em; line-height: 1; }
.brand-sub { display: block; font-family: var(--sans); font-size: .58rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }

.tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.tabs a, .tabs button {
  font: 500 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer;
  padding: 11px 11px; border-radius: 999px; white-space: nowrap; transition: background .2s, color .2s;
}
.tabs a:hover { background: var(--cream-2); }
.tabs a[aria-selected="true"] { background: var(--ink); color: var(--cream); }

.menu-toggle {
  display: none; background: none; border: 1px solid var(--ink); border-radius: 999px;
  padding: 9px 16px; font: 500 .78rem var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; color: var(--ink);
}

@media (max-width: 1180px) {
  .menu-toggle { display: block; }
  .tabs {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 10px 16px 18px;
  }
  .tabs.open { display: flex; }
  .tabs a { padding: 14px 12px; }
}

/* ---------- sekcje ---------- */
.panel { display: none; animation: fade .5s ease; }
.panel.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

section { padding: 72px 0; }
.hero { padding: 56px 0 40px; text-align: center; }
.hero img.logo { width: min(560px, 92%); margin: 0 auto 8px; }
.hero p.lead { max-width: 620px; margin: 0 auto; font-size: 1.12rem; color: var(--ink-soft); }

.lead { font-size: 1.15rem; color: var(--ink-soft); }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse > :first-child { order: 0; }
}
.img-soft { aspect-ratio: 4 / 5; object-fit: cover; max-height: 640px; border-radius: var(--radius); box-shadow: 0 18px 40px -22px rgba(60, 40, 20, .45); width: 100%; height: auto; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; position: relative;
}
.card .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--orange); margin-bottom: 16px; }
.card .dot.sand { background: var(--sand-dark); }
.card .dot.ink { background: var(--ink); }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.card.with-img { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card.with-img img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card.with-img .body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.card .meta { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .6rem; }
.card .more { margin-top: auto; }

.band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

blockquote {
  font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.35;
  margin: 0 auto; max-width: 780px; text-align: center; font-style: italic;
}
blockquote cite { display: block; font: 400 .8rem var(--sans); letter-spacing: .2em; text-transform: uppercase; font-style: normal; margin-top: 1rem; color: var(--ink-soft); }

ul.clean { list-style: none; padding: 0; margin: 0 0 1em; }
ul.clean li { padding: 8px 0 8px 26px; position: relative; border-bottom: 1px dashed var(--line); }
ul.clean li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 500 .82rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  padding: 17px 28px; border-radius: 999px; text-decoration: none; cursor: pointer;
  background: var(--ink); color: var(--cream); border: 1px solid var(--ink); transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--cream); }
.btn.orange { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn.orange:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.4rem; }

/* ---------- formularze ---------- */
label { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], textarea, select {
  width: 100%; font: 400 1rem var(--sans); color: var(--ink);
  padding: 14px 16px; border: 1px solid var(--sand-dark); border-radius: 10px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(224, 128, 58, .18); }
.field { margin-bottom: 18px; }
.field .err { color: #a3361a; font-size: .85rem; margin-top: 4px; display: none; }
.field.invalid input { border-color: #a3361a; }
.field.invalid .err { display: block; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; text-transform: none; letter-spacing: 0; color: var(--ink); margin-bottom: 12px; }
.check input { margin-top: 5px; accent-color: var(--orange); width: 18px; height: 18px; flex: none; }

/* ---------- stopka ---------- */
footer { background: var(--ink); color: var(--cream); padding: 56px 0 36px; font-size: .95rem; }
footer a { color: var(--sand); }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
footer .brand-name { color: var(--cream); }
footer .brand-sub { color: var(--sand); }
footer .small { color: #a79e95; font-size: .8rem; margin-top: 36px; border-top: 1px solid #3a3633; padding-top: 18px; }
@media (max-width: 720px) { footer .cols { grid-template-columns: 1fr; } }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* maźnięcia farbą pod tekstem (zdjęcia z warsztatów); obraz i krycie ustawiane przez --swash / --swash-op */
.swash, .contact-text { position: relative; isolation: isolate; padding: 40px 36px; }
.swash { margin-bottom: 2.4rem; }
.swash::before, .contact-text::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--swash, url("img/foto/kontakt-mazniecie.jpg")) center / cover no-repeat;
  opacity: var(--swash-op, .5);
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 52%, #000 25%, transparent 100%);
          mask-image: radial-gradient(ellipse 60% 55% at 50% 52%, #000 25%, transparent 100%);
  pointer-events: none;
}
.swash .lead, .contact-text .lead { color: var(--ink); }
@media (max-width: 600px) { .swash, .contact-text { padding: 28px 18px; } }

/* kolaż faktur: zachodzące na siebie, lekko obrócone wycinki zdjęć */
.collage-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.collage-split > :first-child { min-width: 0; }
.collage { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 52px; }
.collage figure { margin: 0; position: relative; transform: rotate(var(--r, 0deg)); transition: transform .4s ease; }
.collage > figure:hover, .collage > figure:focus-within { transform: rotate(0deg) scale(1.04); z-index: 50 !important; }
.collage img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border: 6px solid var(--paper); border-radius: 4px;
  box-shadow: 0 14px 30px -16px rgba(60, 40, 20, .5);
}
.collage figcaption {
  position: absolute; left: 14px; top: 14px; z-index: 1; background: rgba(249,239,231,.92);
  padding: 4px 10px; border-radius: 999px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
}
.collage--5 figure:nth-child(1) { grid-column: 1 / 6;  grid-row: 1 / 8;  --r: -2deg; z-index: 1; }
.collage--5 figure:nth-child(2) { grid-column: 5 / 9;  grid-row: 2 / 6;  --r: 1.5deg; z-index: 2; }
.collage--5 figure:nth-child(3) { grid-column: 9 / 13; grid-row: 1 / 6;  --r: -1deg; z-index: 1; }
.collage--5 figure:nth-child(4) { grid-column: 3 / 8;  grid-row: 7 / 10; --r: 1deg; z-index: 3; }
.collage--5 figure:nth-child(5) { grid-column: 8 / 12; grid-row: 5 / 10; --r: -2.5deg; z-index: 4; }
.collage--3 figure:nth-child(1) { grid-column: 1 / 8;  grid-row: 1 / 7;  --r: -1.5deg; z-index: 1; }
.collage--3 figure:nth-child(2) { grid-column: 6 / 13; grid-row: 2 / 6;  --r: 2deg; z-index: 2; }
.collage--3 figure:nth-child(3) { grid-column: 3 / 9;  grid-row: 6 / 11; --r: -.5deg; z-index: 3; }
.collage--4 figure:nth-child(1) { grid-column: 1 / 5;  grid-row: 1 / 9;  --r: -1.5deg; z-index: 1; }
.collage--4 figure:nth-child(2) { grid-column: 4 / 8;  grid-row: 2 / 7;  --r: 1.5deg;  z-index: 2; }
.collage--4 figure:nth-child(3) { grid-column: 7 / 10; grid-row: 1 / 6;  --r: -1deg;   z-index: 3; }
.collage--4 figure:nth-child(4) { grid-column: 9 / 13; grid-row: 3 / 9;  --r: 2deg;    z-index: 4; }
.collage--dense { grid-auto-rows: 46px; }
.collage--dense figure:nth-child(1) { grid-column: 1 / 5; grid-row: 1 / 7; --r: -2deg; z-index: 1; }
.collage--dense figure:nth-child(2) { grid-column: 3 / 6; grid-row: 4 / 10; --r: 1.5deg; z-index: 2; }
.collage--dense figure:nth-child(3) { grid-column: 4 / 8; grid-row: 1 / 5; --r: -1deg; z-index: 3; }
.collage--dense figure:nth-child(4) { grid-column: 6 / 9; grid-row: 4 / 9; --r: 2deg; z-index: 4; }
.collage--dense figure:nth-child(5) { grid-column: 8 / 11; grid-row: 1 / 6; --r: -1.5deg; z-index: 5; }
.collage--dense figure:nth-child(6) { grid-column: 10 / 13; grid-row: 2 / 7; --r: 1deg; z-index: 6; }
.collage--dense figure:nth-child(7) { grid-column: 9 / 12; grid-row: 6 / 11; --r: -2deg; z-index: 7; }
.collage--dense figure:nth-child(8) { grid-column: 1 / 3; grid-row: 7 / 11; --r: 1deg; z-index: 8; }
.collage--dense figure:nth-child(9) { grid-column: 5 / 9; grid-row: 8 / 12; --r: -1deg; z-index: 9; }
.collage--dense figure:nth-child(10) { grid-column: 11 / 13; grid-row: 7 / 12; --r: 2deg; z-index: 10; }
.collage--8 { grid-auto-rows: 46px; }
.collage--8 figure:nth-child(1) { grid-column: 1 / 6; grid-row: 1 / 8; --r: -2deg; z-index: 1; }
.collage--8 figure:nth-child(2) { grid-column: 5 / 9; grid-row: 2 / 6; --r: 1.5deg; z-index: 2; }
.collage--8 figure:nth-child(3) { grid-column: 9 / 13; grid-row: 1 / 6; --r: -1deg; z-index: 3; }
.collage--8 figure:nth-child(4) { grid-column: 3 / 8; grid-row: 7 / 11; --r: 1deg; z-index: 4; }
.collage--8 figure:nth-child(5) { grid-column: 8 / 12; grid-row: 5 / 10; --r: -2.5deg; z-index: 5; }
.collage--8 figure:nth-child(6) { grid-column: 1 / 4; grid-row: 8 / 12; --r: 1.5deg; z-index: 6; }
.collage--8 figure:nth-child(7) { grid-column: 10 / 13; grid-row: 8 / 12; --r: -1deg; z-index: 7; }
.collage--8 figure:nth-child(8) { grid-column: 6 / 9; grid-row: 9 / 13; --r: 2deg; z-index: 8; }
@media (max-width: 820px) {
  .collage-split { grid-template-columns: 1fr; gap: 28px; }
  .collage { grid-auto-rows: 40px; }
}
/* telefon: ten sam układ co na komputerze, przeskalowany do szerokości ekranu */
@media (max-width: 600px) {
  .collage { grid-auto-rows: auto; }
  .collage--3 { grid-template-rows: repeat(10, 1fr); aspect-ratio: 1 / 1; }
  .collage--4 { grid-template-rows: repeat(8, 1fr);  aspect-ratio: 11 / 10; }
  .collage--5 { grid-template-rows: repeat(9, 1fr);  aspect-ratio: 6 / 5; }
  .collage--8 { grid-template-rows: repeat(12, 1fr); aspect-ratio: 1 / 1; }
  .collage--dense { grid-template-rows: repeat(11, 1fr); aspect-ratio: 6 / 5; }
  .collage img { border-width: 3px; border-radius: 3px; box-shadow: 0 8px 18px -10px rgba(60, 40, 20, .5); }
  .collage figcaption { left: 7px; top: 7px; padding: 2px 7px; font-size: .56rem; letter-spacing: .12em; }
}
@media (prefers-reduced-motion: reduce) { .collage figure { transition: none; } }

/* podgląd całego zdjęcia z kolażu */
.collage figure { cursor: zoom-in; }
.collage figure:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  padding: calc(env(safe-area-inset-top, 0px) + 56px) 16px calc(env(safe-area-inset-bottom, 0px) + 24px);
  background: rgba(32, 30, 28, .92); animation: fade .25s ease;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; max-height: 100%; }
.lightbox img { max-width: min(92vw, 1100px); max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.lightbox figcaption { color: var(--cream); font-size: .9rem; text-align: center; max-width: 60ch; }
.lightbox-close, .lightbox-nav {
  position: absolute; background: rgba(249, 239, 231, .14); color: var(--cream); border: 0; cursor: pointer;
  width: 46px; height: 46px; border-radius: 50%; font: 300 1.8rem/46px var(--sans); text-align: center; padding: 0;
}
.lightbox-close { top: calc(env(safe-area-inset-top, 0px) + 12px); right: 12px; }
.lightbox-nav.prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-nav:hover, .lightbox-close:focus-visible, .lightbox-nav:focus-visible { background: var(--orange); outline: none; }
@media (max-width: 600px) { .lightbox-nav.prev, .lightbox-nav.next { top: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); transform: none; } .lightbox img { max-height: calc(100vh - 190px); } }

/* O nas: Poznajmy się – portrety Ani i Martyny */
.poznajmy { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.poznajmy-tekst { min-width: 0; max-width: 64ch; }
.poznajmy-foto { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 100px); display: grid; grid-template-columns: repeat(12, 1fr); }
.portret { margin: 0; position: relative; transform: rotate(var(--r, 0deg)); }
.portret img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; display: block;
  border: 7px solid var(--paper); border-radius: 4px; box-shadow: 0 18px 36px -18px rgba(60, 40, 20, .55);
}
.portret figcaption {
  position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%);
  background: var(--ink); color: var(--cream); padding: 6px 18px; border-radius: 999px;
  font: 400 1.15rem/1 var(--serif); letter-spacing: .08em; white-space: nowrap;
}
.portret:nth-child(1) { grid-column: 1 / 8; grid-row: 1; --r: -2deg; z-index: 1; }
.portret:nth-child(2) { grid-column: 6 / 13; grid-row: 1; margin-top: 56%; --r: 2deg; z-index: 2; }
.poznajmy-mysl {
  font: italic 400 clamp(1.35rem, 2.4vw, 1.7rem)/1.35 var(--serif); color: var(--ink);
  border-left: 3px solid var(--orange); padding: 4px 0 4px 18px; margin: 1.6rem 0;
}
.podpis { font: italic 400 1.5rem var(--serif); text-align: right; margin: .4rem 0 0; }
.poznajmy-tekst .stroke { margin-left: auto; }
@media (max-width: 820px) {
  .poznajmy { grid-template-columns: 1fr; gap: 40px; }
  .poznajmy-foto { position: static; grid-template-columns: 1fr 1fr; gap: 14px; }
  .portret:nth-child(1), .portret:nth-child(2) { grid-column: auto; margin-top: 0; }
  .portret:nth-child(2) { margin-top: 28px; }
  .portret figcaption { font-size: 1rem; padding: 5px 14px; }
}
.portret:nth-child(1) figcaption { left: 28%; }  /* podpis Ani na dole, przesunięty w lewo */
/* najechane zdjęcie (Ania / Martyna) wychodzi na wierzch – tylko na komputerze */
.portret { transition: transform .4s ease, z-index 0s .2s; }
@media (hover: hover) and (min-width: 821px) {
  .poznajmy-foto > .portret:hover { z-index: 10; transform: rotate(0deg) scale(1.03); transition: transform .4s ease, z-index 0s; }
}
@media (prefers-reduced-motion: reduce) { .portret { transition: none; } }
.portret { align-self: start; }  /* ramka = wysokość zdjęcia, podpis siedzi na dolnej krawędzi */
/* maźnięcie farbą pod portretami (jak pod innymi wpisami) */
.poznajmy-foto { isolation: isolate; }
.poznajmy-foto::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -12% -14% -10% -16%;
  background: url("img/foto/mazniecie-poznajmy.jpg") center / cover no-repeat;
  opacity: .75; transform: rotate(-4deg);
  -webkit-mask-image: radial-gradient(ellipse 55% 50% at 50% 50%, #000 30%, transparent 100%);
          mask-image: radial-gradient(ellipse 55% 50% at 50% 50%, #000 30%, transparent 100%);
}
@media (max-width: 820px) {
  .poznajmy-foto { position: relative; }
  .poznajmy-foto::before { inset: -14% -8% -12% -8%; }
}
.poznajmy-tekst { position: relative; z-index: 1; }   /* tekst zawsze nad maźnięciem */
@media (max-width: 820px) { .poznajmy-foto { margin-bottom: 26px; top: auto; } }
/* smugi turkus + złoto wyraźnie wychodzące poza ramki portretów */
#poznajmy-sie { overflow-x: clip; }
.poznajmy-foto::before {
  inset: -22% -34% -24% -30%;
  opacity: .85; transform: rotate(-9deg);
  -webkit-mask-image: radial-gradient(ellipse 62% 52% at 50% 52%, #000 48%, transparent 100%);
          mask-image: radial-gradient(ellipse 62% 52% at 50% 52%, #000 48%, transparent 100%);
}
@media (max-width: 820px) {
  .poznajmy-foto::before { inset: -26% -10% -28% -10%; transform: rotate(-6deg); }
}
/* komputer: duże maźnięcie (jak wcześniej) z szerokim, miękkim wygaszaniem na wszystkich brzegach – bez kółka i bez prostokąta */
@media (min-width: 821px) {
  .poznajmy-foto::before {
    inset: -16% -48% -42% -24%;
    opacity: .85; transform: rotate(-7deg);
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, rgba(0,0,0,.35) 12%, #000 30%, #000 62%, rgba(0,0,0,.35) 84%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.4) 14%, #000 32%, #000 64%, rgba(0,0,0,.35) 84%, transparent 100%);
    -webkit-mask-composite: source-in;
            mask-image:
      linear-gradient(to right, transparent 0%, rgba(0,0,0,.35) 12%, #000 30%, #000 62%, rgba(0,0,0,.35) 84%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.4) 14%, #000 32%, #000 64%, rgba(0,0,0,.35) 84%, transparent 100%);
            mask-composite: intersect;
  }
}
/* telefon: to samo miękkie wygaszanie brzegów co na komputerze (bez wyraźnej dolnej granicy) */
@media (max-width: 820px) {
  .poznajmy-foto::before {
    inset: -24% -12% -55% -12%;
    opacity: .85; transform: rotate(-5deg);
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, rgba(0,0,0,.5) 10%, #000 24%, #000 76%, rgba(0,0,0,.5) 90%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.45) 12%, #000 26%, #000 50%, rgba(0,0,0,.4) 72%, rgba(0,0,0,.12) 88%, transparent 100%);
    -webkit-mask-composite: source-in;
            mask-image:
      linear-gradient(to right, transparent 0%, rgba(0,0,0,.5) 10%, #000 24%, #000 76%, rgba(0,0,0,.5) 90%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.45) 12%, #000 26%, #000 50%, rgba(0,0,0,.4) 72%, rgba(0,0,0,.12) 88%, transparent 100%);
            mask-composite: intersect;
  }
}

/* link do Instagrama */
.social { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.social span { text-decoration: underline; text-underline-offset: 3px; }
.social:hover span { text-decoration-thickness: 2px; }
.ig-ikona { width: 20px; height: 20px; flex: none; }
footer .social { color: var(--sand); }

/* ikonki Instagram / Facebook w nagłówku */
.site-header .wrap > .brand { order: 0; margin-right: auto; }
.site-header .wrap > .tabs { order: 1; }
.site-header .wrap > .header-social { order: 2; }
.site-header .wrap > .menu-toggle { order: 3; }
.header-social { display: flex; align-items: center; gap: 2px; }
.header-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; color: var(--ink); transition: background .2s, color .2s;
}
.header-social a:hover, .header-social a:focus-visible { background: var(--cream-2); color: var(--orange-dark); outline: none; }
.header-social .ig-ikona { width: 21px; height: 21px; }
@media (max-width: 1180px) { .header-social { margin-right: 4px; } }
@media (max-width: 420px) {
  .header-social a { width: 34px; height: 34px; }
  .header-social .ig-ikona { width: 19px; height: 19px; }
  .site-header .wrap { gap: 8px; }
}
/* nagłówek z ikonkami: zakładki w jednej linii na komputerze, bez ścisku na telefonie */
.site-header .brand { flex-shrink: 0; }
.site-header .wrap { gap: 10px; }
@media (min-width: 1181px) {
  .tabs a { padding: 10px 9px; letter-spacing: .11em; font-size: .76rem; }
  .header-social a { width: 36px; height: 36px; }
}
@media (min-width: 1181px) and (max-width: 1320px) {
  .brand-sub { display: none; }
}
@media (max-width: 480px) {
  .brand-sub { display: none; }
  .brand img { width: 40px; }
  .brand-name { font-size: 1.2rem; letter-spacing: .22em; }
  .site-header .wrap { gap: 4px; }
  .tabs.lp-nav a { padding: 10px 12px; font-size: .72rem; letter-spacing: .1em; }
  .menu-toggle { padding: 8px 13px; }
}

/* dokumenty: regulamin i polityka prywatności */
.dokument { padding-block: 48px 72px; }
.dokument .wrap { max-width: 820px; }
.dokument h1 { margin-bottom: .2em; }
.dok-meta { color: var(--ink-soft); font-size: .92rem; }
.dokument section { padding: 0; margin-top: 2.2rem; scroll-margin-top: 100px; }
.dokument h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-bottom: .6rem; }
.dokument ol, .dokument ul { padding-left: 1.3em; margin: 0 0 1em; }
.dokument li { margin-bottom: .55em; }
.dokument ol ul { margin-top: .5em; }
.dok-spis { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 1.6rem 0 0; }
.dok-spis ol { columns: 2; column-gap: 32px; margin: 0; }
.dok-spis li { break-inside: avoid; margin-bottom: .35em; font-size: .95rem; }
@media (max-width: 640px) { .dok-spis ol { columns: 1; } }
.dok-wazne { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: var(--radius); padding: 18px 22px 8px; }
.tabela-wrap { overflow-x: auto; margin: 1rem 0; }
.dok-tabela { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .92rem; }
.dok-tabela th, .dok-tabela td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.dok-tabela th { font-weight: 500; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); background: var(--paper); }
.dok-powrot { margin-top: 2.6rem; font-size: .95rem; }
.do-uzupelnienia { background: #fff1b8; border-bottom: 1px dashed #c99a00; padding: 0 3px; border-radius: 2px; }
.do-uzupelnienia-blok { background: #fff8d6; border: 1px dashed #c99a00; border-radius: 8px; padding: 10px 14px; font-size: .92rem; }
.wersja-robocza { background: #fff8d6; border: 1px dashed #c99a00; border-radius: 10px; padding: 12px 16px; margin: 1.4rem 0 0; font-size: .92rem; }
.pole-info { font-size: .8rem; color: var(--ink-soft); margin: 6px 0 0; line-height: 1.5; }
.check a { color: var(--orange-dark); }
