/* aplaprint.com — z zaakceptowanego prototypu concept-05 (D-021): ciemna hala + papierowe sekcje z dowodami;
   pomarańcz = Ty (sprzedawca), stal = APLA. Jeden świat wizualny z wyboru (bez trybu jasnego). Fonty lokalne. */
:root {
  color-scheme: dark;
  --ink: #0d0e11; --ink-2: #17181c; --paper: #efe8dc; --paper-ink: #16161a;
  --accent: #ff5a1f; --steel: #7d9cc0; --muted: #a7a39b; --muted-paper: #5f5a52;
  --line: rgba(255,255,255,.12); --line-paper: rgba(22,22,26,.14);
  --display: "Roboto Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --body: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", Consolas, "Courier New", monospace;
  --wrap: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: #f4f1ec; font-family: var(--body); font-size: 16px; line-height: 1.55; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; text-wrap: balance; }
h1 { font-size: clamp(48px, 8.4vw, 120px); line-height: .88; letter-spacing: -.035em; }
h2 { font-size: clamp(34px, 5.2vw, 70px); line-height: .92; letter-spacing: -.03em; }
h3 { font-size: clamp(21px, 2.1vw, 28px); line-height: 1.05; letter-spacing: -.01em; }
.it { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.02em; color: var(--accent); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.lede { max-width: 62ch; font-size: clamp(17px, 1.4vw, 19px); color: #d9d4cc; margin: 22px 0 0; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 22px; border: 0; background: var(--accent); color: #140a05; font: 700 15px/1 var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { background: #ff7442; }
.btn.ghost { background: transparent; color: #f4f1ec; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.paper .btn.ghost { color: var(--paper-ink); box-shadow: inset 0 0 0 1.5px rgba(22,22,26,.4); }
a:focus-visible, .btn:focus-visible, button:focus-visible { outline: 3px solid var(--steel); outline-offset: 3px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.pill { display: inline-block; padding: 4px 9px; font: 500 11px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; border: 1px solid currentColor; }
.pill.live { color: #8fd19e; } .pill.new { color: #f2c66d; } .pill.pilot { color: #c6b7f2; }
.paper .pill.live { color: #2f7a43; } .paper .pill.new { color: #96650b; } .paper .pill.pilot { color: #5b47a6; }

/* nagłówek */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(13,14,17,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.logo { width: 92px; }
.top nav { display: flex; gap: 20px; margin-left: auto; font-size: 14px; color: #cfcac2; }
.top nav a { text-decoration: none; white-space: nowrap; }
.top nav a:hover, .top nav a[aria-current] { color: #fff; }
.top nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--accent); }
.langs { display: flex; gap: 6px; font: 500 12px/1 var(--mono); }
.langs a { text-decoration: none; padding: 6px 7px; color: var(--muted); text-transform: uppercase; }
.langs a[aria-current] { color: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.top .btn { padding: 11px 16px; font-size: 14px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: #fff; font: 600 14px var(--body); padding: 9px 12px; cursor: pointer; }
@media (max-width: 1180px) {
  .top nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0; background: var(--ink); border-bottom: 1px solid var(--line); padding: 8px clamp(16px, 4vw, 40px) 16px; }
  .top nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .top.open nav { display: flex; }
  .menu-btn { display: inline-block; }
  .top .btn.head-cta { display: none; }
}

/* sekcje */
section { padding-block: clamp(64px, 9vw, 120px); border-bottom: 1px solid var(--line); }
.paper { background: var(--paper); color: var(--paper-ink); border-bottom-color: var(--line-paper); }
.paper .lede { color: #3a3832; }
.paper .eyebrow { color: #c2410c; }
.paper .it { color: #c2410c; }
.hero { position: relative; overflow: hidden; padding: 0; }
.hero-img { position: absolute; inset: 0; background: center right / cover no-repeat; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,14,17,.97) 0%, rgba(13,14,17,.82) 48%, rgba(13,14,17,.35) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(72px, 11vw, 150px); }
.proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 40px 0 0; padding: 0; list-style: none; font: 500 13px/1.3 var(--mono); color: #cfcac2; letter-spacing: .04em; }
.proof li::before { content: "■ "; color: var(--accent); }
.page-hero .wrap { padding-block: clamp(56px, 8vw, 110px); }
.page-hero h1 { font-size: clamp(42px, 7vw, 96px); }

/* karty sposobów */
.ways { display: grid; gap: 1px; background: var(--line); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 48px; border: 1px solid var(--line); }
.way { background: var(--ink); padding: 28px 24px 26px; display: grid; gap: 14px; align-content: start; text-decoration: none; transition: background .15s; }
.way:hover { background: var(--ink-2); }
.way-num { display: flex; justify-content: space-between; align-items: center; font: 500 12px/1 var(--mono); color: var(--muted); letter-spacing: .1em; }
.way p { margin: 0; color: #d4cfc7; font-size: 15px; }
.way .for { color: var(--muted); font-size: 14px; }
.way .more { font: 600 14px var(--body); color: var(--accent); }
.scale { display: flex; justify-content: space-between; margin-top: 12px; font: 500 12px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* kto co robi */
.who { margin-top: 44px; }
.who-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 20px; }
.who-tab { background: transparent; border: 1px solid var(--line-paper); color: var(--paper-ink); font: 600 14px var(--body); padding: 10px 14px; cursor: pointer; }
.who-tab[aria-selected="true"] { background: var(--paper-ink); color: var(--paper); }
.legend { display: flex; gap: 18px; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; }
.legend .l-you::before { background: var(--accent); } .legend .l-apla::before { background: var(--steel); }
.strip { display: grid; grid-template-columns: repeat(7, minmax(110px, 1fr)); gap: 4px; overflow-x: auto; }
.stage { padding: 14px 12px; min-height: 108px; display: grid; align-content: space-between; gap: 10px; color: #111; transition: background .25s; }
.stage.you { background: var(--accent); } .stage.apla { background: var(--steel); }
.stage b { font: 500 11px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.stage span { font: 700 15px/1.2 var(--body); }
.stage small { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.strip-wrap { overflow-x: auto; }
.caption { max-width: 72ch; margin: 18px 0 0; color: #3a3832; }
@media (prefers-reduced-motion: reduce) { .stage, .way { transition: none; } html { scroll-behavior: auto; } }

/* siatki i treść */
.split { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.tech { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line-paper); border: 1px solid var(--line-paper); margin-top: 40px; }
.tech div { background: var(--paper); padding: 20px; display: grid; gap: 4px; }
.tech b { font: 700 17px var(--body); } .tech span { color: var(--muted-paper); font-size: 14px; }
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: s; }
.steps li { background: var(--ink); padding: 18px 20px; display: grid; grid-template-columns: 48px 1fr; gap: 4px 12px; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font: 500 13px var(--mono); color: var(--accent); }
.steps b { font: 700 17px var(--body); } .steps span { color: var(--muted); font-size: 15px; }
.paper .steps { background: var(--line-paper); border-color: var(--line-paper); } .paper .steps li { background: var(--paper); } .paper .steps span { color: var(--muted-paper); }
figure { margin: 0; } figcaption { font: 500 12px/1.4 var(--mono); color: var(--muted); margin-top: 10px; letter-spacing: .03em; }
.paper figcaption { color: var(--muted-paper); }
.photo img, .screen { border: 1px solid var(--line); }
.facts { display: grid; gap: 1px; background: var(--line-paper); border: 1px solid var(--line-paper); margin-top: 36px; }
.facts div { background: var(--paper); padding: 18px 20px; display: grid; grid-template-columns: 140px 1fr; gap: 16px; }
.facts b { font: 700 15px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: #c2410c; }
@media (max-width: 560px) { .facts div { grid-template-columns: 1fr; gap: 4px; } }
.bullets { margin: 18px 0 0; padding-left: 20px; color: #d4cfc7; display: grid; gap: 6px; }
.paper .bullets { color: #3a3832; }
.endpoint { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.endpoint b { font: 500 12px var(--mono); color: var(--accent); }
pre.code { background: #0a0b0d; border: 1px solid var(--line); padding: 20px; overflow-x: auto; font: 500 13px/1.6 var(--mono); color: #cfd8e3; margin: 0; }
.code .k { color: #f2c66d; } .code .s { color: #8fd19e; } .code .c { color: var(--muted); }
.store-mock { background: #fff; color: #111; border: 1px solid var(--line); }
.store-mock .bar { display: flex; justify-content: space-between; padding: 12px 16px; background: #1b1d22; color: #fff; font: 700 13px var(--body); }
.store-mock .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; }
.store-mock .prod { display: grid; gap: 6px; font-size: 13px; }
.store-mock .prod img { aspect-ratio: 1; object-fit: cover; background: #f2f2f2; }
.store-mock .url { padding: 8px 14px; background: #ececec; font: 500 12px var(--mono); color: #555; }
.looks { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.looks span { font: 600 13px var(--body); padding: 8px 12px; border: 1px solid var(--line-paper); }
.contact-card { border: 1px solid var(--line); padding: 26px; display: grid; gap: 10px; }
.contact-card a.mail { font: 900 clamp(24px, 3vw, 36px)/1 var(--display); text-transform: lowercase; color: var(--accent); text-decoration: none; word-break: break-all; }
.note { display: none; margin: 10px 0 0; padding: 8px 11px; max-width: 70ch; background: #fff3b0; color: #2a2400; font: 500 12.5px/1.45 var(--body); }
body.notes-on .note { display: block; }
.notes-panel { display: none; }
body.notes-on .notes-panel { display: block; position: fixed; right: 12px; bottom: 12px; z-index: 50; max-width: 360px; background: #fff3b0; color: #2a2400; padding: 14px 16px; font-size: 13px; box-shadow: 0 8px 30px rgba(0,0,0,.4); }
.notes-panel ul { margin: 6px 0 0; padding-left: 18px; }

footer.site { padding-block: 44px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: grid; gap: 18px; grid-template-columns: 1fr auto; align-items: end; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 16px; }
footer.site nav a { text-decoration: none; } footer.site nav a:hover { color: #fff; }
@media (max-width: 760px) { footer.site .wrap { grid-template-columns: 1fr; } }

/* Jak wygląda współpraca: pytania */
.faq { display: grid; gap: 0; margin-top: 24px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font: 700 17px/1.35 var(--body); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 20px var(--mono); color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 0; color: #d4cfc7; max-width: 62ch; }
.step-row { padding-block: clamp(48px, 7vw, 96px); }
.step-row .screen { width: 100%; }

/* sekcja „Co dostajesz” pod hero (szkic 04.10) */
.value-h2 { font-size: clamp(30px, 3.6vw, 48px); }
.value-list { grid-template-columns: 1fr; margin-top: 28px; }
.value-list b { font-size: 20px; } .value-list span { font-size: 16px; }

/* „Z bliska” (10.10): makro nadruków — kadr dojeżdża do nadruku przy przewijaniu, klik = pełny ekran */
.closeup { background: #08090b; }
.cu-grid { display: grid; gap: 6px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 44px; }
.cu-tile { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-2); }
.cu-home .cu-tile.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.cu-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .6s; }
.cu-tile:hover img { transform: scale(1.06); }
.cu-label { position: absolute; left: 0; bottom: 0; padding: 8px 12px; background: rgba(8,9,11,.82); font: 500 11px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #f4f1ec; }
.cu-label::before { content: "■ "; color: var(--accent); }
@supports (animation-timeline: view()) {
  .cu-tile img { animation: cu-zoom linear both; animation-timeline: view(); animation-range: entry 0% cover 55%; }
  @keyframes cu-zoom { from { transform: scale(1.4); filter: brightness(.55); } to { transform: scale(1); filter: none; } }
  .cu-tile:hover img { animation: none; transform: scale(1.06); }
}
@media (max-width: 860px) {
  .cu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cu-home .cu-tile.big { grid-row: auto; aspect-ratio: 4 / 5; }
}
.cu-box { width: auto; max-width: 96vw; max-height: 94vh; padding: 0; border: 0; background: #000; color: #f4f1ec; overflow: hidden; }
.cu-box::backdrop { background: rgba(0,0,0,.88); }
.cu-box img { width: auto; max-width: 96vw; max-height: 86vh; object-fit: contain; background: #000; }
.cu-cap { margin: 0; padding: 10px 14px; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.cu-box button { position: absolute; background: rgba(8,9,11,.75); color: #fff; border: 1px solid var(--line); font: 600 20px/1 var(--body); width: 44px; height: 44px; cursor: pointer; }
.cu-close { top: 10px; right: 10px; } .cu-prev { left: 10px; top: 45%; } .cu-next { right: 10px; top: 45%; }
@media (prefers-reduced-motion: reduce) { .cu-tile img { animation: none !important; transition: none; } }

/* nagłówek podstrony z tłem (10.10: Produkcja — karuzela z góry, cz-b) */
.page-hero.has-bg { position: relative; overflow: hidden; }
.page-hero.has-bg .hero-img { left: 40%; background-position: right center; background-size: cover; opacity: .75; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 62% 55%, #000 35%, transparent 100%); mask-image: radial-gradient(ellipse 60% 70% at 62% 55%, #000 35%, transparent 100%); }
.page-hero.has-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,14,17,1) 0%, rgba(13,14,17,.96) 50%, rgba(13,14,17,.55) 72%, rgba(13,14,17,.15) 100%); }
.page-hero.has-bg .wrap { position: relative; z-index: 1; }
@media (max-width: 860px) { .page-hero.has-bg .hero-img { left: 0; opacity: .35; -webkit-mask-image: none; mask-image: none; } .page-hero.has-bg::after { background: rgba(13,14,17,.88); } }
/* pas pod nagłówkiem Produkcji: 3 automaty z góry (10.10) */
.hall-band { padding: 0; background: #000; }
.hall-band img { width: 100%; height: clamp(220px, 34vw, 520px); object-fit: cover; }
/* U nas na hali (10.10): 4 kadry cz-b */
.hall-grid { display: grid; gap: 6px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 20px; }
.hall-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #000; }
@media (max-width: 860px) { .hall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Produkcja: co znakujemy (10.10) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.chips li { padding: 9px 14px; border: 1px solid var(--line-paper); font: 600 14px var(--body); }
.hall-note { margin: 12px 0 0; font: 500 12px/1.4 var(--mono); color: var(--muted-paper); }

/* Metody znakowania: tabela porównawcza (10.10) */
.cmp-wrap { overflow-x: auto; margin-top: 32px; border: 1px solid var(--line-paper); background: var(--paper); }
.cmp { width: 100%; min-width: 820px; border-collapse: collapse; table-layout: fixed; }
.cmp th, .cmp td { padding: 16px 18px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line-paper); }
.cmp thead th { padding: 0; border-left: 1px solid var(--line-paper); vertical-align: top; }
.cmp thead th:first-child { border-left: 0; width: 19%; }
.cmp thead img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cmp thead th:not(.cmp-corner) > span { display: block; padding: 16px 18px 14px; font: 900 clamp(20px, 1.8vw, 26px)/1 var(--display); text-transform: uppercase; letter-spacing: -.01em; color: var(--paper-ink); }
.cmp tbody th { font: 500 12px/1.35 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-paper); font-weight: 500; }
.cmp tbody td { border-left: 1px solid var(--line-paper); }
.cmp tr.txt td { font-size: 15px; line-height: 1.45; color: #3a3832; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.dots { display: inline-flex; gap: 6px; vertical-align: middle; }
.dots i { width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid #c2410c; }
.dots.d1 i:nth-child(-n+1), .dots.d2 i:nth-child(-n+2), .dots.d3 i { background: #c2410c; }
.cmp-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 14px 0 0; font: 500 12px var(--mono); color: var(--muted-paper); }
.cmp-legend span { display: inline-flex; align-items: center; gap: 8px; }
.services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } }

/* Zespół: zdjęcie z lewej, opis z prawej (10.10) */
.team { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 36px; }
.person { display: grid; grid-template-columns: 200px minmax(0, 1fr); background: #f7f3ec; border: 1px solid var(--line-paper); }
.p-photo { aspect-ratio: 1 / 1; overflow: hidden; background: #cdcdcd; }
.p-photo img { width: 100%; height: 100%; object-fit: cover; }
.p-initials { display: grid; place-items: center; background: var(--paper-ink); color: var(--paper); font: 900 64px/1 var(--display); letter-spacing: .02em; }
.p-body { padding: 26px 28px; display: grid; gap: 8px; align-content: center; }
.p-role { margin: 0; font: 500 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #c2410c; }
.person h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1; color: var(--paper-ink); }
.p-markets { margin: 0; font-size: 16px; color: #3a3832; }
.p-mail { margin-top: 10px; font: 600 16px var(--body); color: var(--paper-ink); text-decoration: none; border-bottom: 1.5px solid #c2410c; justify-self: start; padding-bottom: 2px; }
.p-mail:hover { color: #c2410c; }
@media (max-width: 1000px) { .team { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .person { grid-template-columns: 120px minmax(0, 1fr); } .p-body { padding: 16px 18px; } .p-initials { font-size: 40px; } }
.bullets.brief { font-size: 17px; gap: 10px; }

/* Tak powstaje Twój merch (11.10): ludzie przy pracy, wchodzą przy przewijaniu */
.people { background: #0a0b0d; }
.pp-grid { display: grid; gap: 10px; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 21vw, 300px); margin-top: 40px; grid-auto-flow: dense; }
.pp { position: relative; margin: 0; overflow: hidden; background: #111; grid-column: span 4; }
.pp:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.pp:nth-child(2) { grid-column: span 5; }
.pp:nth-child(3) { grid-column: span 5; }
.pp:nth-child(4) { grid-column: span 4; }
.pp:nth-child(5) { grid-column: span 4; }
.pp:nth-child(6) { grid-column: span 4; }
.pp:nth-child(7) { grid-column: span 12; }
.pp img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pp:nth-child(7) { grid-row: span 1; }
.pp:nth-child(7) img { object-position: center 35%; }
.pp:hover img { transform: scale(1.04); }
.pp figcaption { position: absolute; left: 0; bottom: 0; padding: 8px 12px; background: rgba(8,9,11,.82); font: 500 11px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #f4f1ec; margin: 0; }
.pp figcaption::before { content: "■ "; color: var(--accent); }
@supports (animation-timeline: view()) {
  .pp { animation: pp-in linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  .pp.pp0 { --dx: -60px; } .pp.pp1 { --dx: 0px; --dy: 60px; } .pp.pp2 { --dx: 60px; }
  @keyframes pp-in { from { opacity: 0; transform: translate(var(--dx, 0), var(--dy, 40px)); } to { opacity: 1; transform: none; } }
}
@media (max-width: 860px) { .pp-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; } .pp, .pp:nth-child(n) { grid-column: span 1; grid-row: auto; } .pp:nth-child(1), .pp:nth-child(7) { grid-column: span 2; } }
@media (prefers-reduced-motion: reduce) { .pp { animation: none !important; } }

/* Okna na zdjęcie między sekcjami (11.10, jak printmatic.pl): zdjęcie przypięte do ekranu, strona przewija się nad nim */
/* Panel (11.10): pełne zdjęcie od krawędzi do krawędzi jako tło tekstu, przypięte do ekranu; sekcje przewijają się nad nim.
   Jeden komponent: hero, Produkcja, Kontakt, nagłówki podstron. position:fixed w clip-path działa też na iPhonie. */
.panel { position: relative; clip-path: inset(0); min-height: min(82vh, 820px); display: flex; align-items: center; padding-block: clamp(96px, 12vw, 160px); background: var(--ink); color: #f4f1ec; border-bottom: 0; }
.panel > .wrap { position: relative; z-index: 2; }
.panel-img { position: fixed; inset: 0; background: center / cover no-repeat; pointer-events: none; }
.panel::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(13,14,17,.9) 0%, rgba(13,14,17,.68) 36%, rgba(13,14,17,.15) 66%, rgba(13,14,17,0) 100%); }
.panel .lede { color: #e6e1d9; }
.panel-text { max-width: 640px; }
.hero.panel { min-height: min(92vh, 940px); padding: 0; }
.hero.panel .wrap { padding-block: clamp(72px, 9vw, 130px); }
.hero.panel .panel-img { background-position: 62% center; }
.hero.panel::after { background: linear-gradient(90deg, rgba(13,14,17,.74) 0%, rgba(13,14,17,.7) 32%, rgba(13,14,17,.2) 62%, rgba(13,14,17,0) 100%); }
.page-hero.panel::after { background: linear-gradient(90deg, rgba(13,14,17,.92) 0%, rgba(13,14,17,.78) 45%, rgba(13,14,17,.25) 80%, rgba(13,14,17,.1) 100%); }
.page-hero.panel { min-height: min(72vh, 720px); padding: 0; }
/* Produkcja: cała hala widoczna u góry (trzy automaty), tekst na dole na wolnej podłodze */
#production.panel { align-items: flex-end; min-height: min(92vh, 940px); }
#production.panel::after { background: linear-gradient(0deg, rgba(13,14,17,.9) 0%, rgba(13,14,17,.7) 30%, rgba(13,14,17,.1) 52%, rgba(13,14,17,0) 100%); }
#production .panel-text { max-width: 980px; }
#production.panel { padding-block: clamp(140px, 30vh, 320px) clamp(36px, 5vh, 64px); min-height: 100vh; }
#production .panel-text h2 { font-size: clamp(30px, 3.6vw, 52px); }
#production .panel-text .lede { max-width: 72ch; margin-top: 14px; }
#contact.panel::after { background: linear-gradient(90deg, rgba(13,14,17,.88) 0%, rgba(13,14,17,.6) 45%, rgba(13,14,17,.25) 100%); }
@media (max-width: 860px) {
  .panel { min-height: 0; }
  .panel::after, #contact.panel::after { background: linear-gradient(180deg, rgba(13,14,17,.82) 0%, rgba(13,14,17,.62) 100%); }
  .hero.panel .panel-img { background-position: 80% center; }
}
.win { position: relative; height: clamp(300px, 62vh, 680px); clip-path: inset(0); border-bottom: 1px solid var(--line); }
.win-img { position: fixed; inset: 0; background: center / cover no-repeat; pointer-events: none; }

/* „Jak to działa” na zdjęciu laptopa z konfiguratorem (11.10): kroki z rolą, tekst po lewej, laptop i koszulka po prawej */
#value .panel-text { max-width: 560px; }
.how-steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 22px; }
.how-steps li { display: grid; gap: 4px; padding-left: 18px; border-left: 2px solid var(--accent); }
.how-steps .how-who { font: 500 12px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.how-steps b { font: 800 22px/1.15 var(--display); text-transform: uppercase; letter-spacing: -.01em; color: #fff; }
.how-steps li > span:last-child { font-size: 16px; color: #e6e1d9; max-width: 46ch; }
#value.panel::after { background: linear-gradient(90deg, rgba(13,14,17,.94) 0%, rgba(13,14,17,.82) 36%, rgba(13,14,17,.2) 62%, rgba(13,14,17,0) 100%); }
#value.panel .panel-img { background-position: 70% center; }

/* Demo Sklepu partnerskiego (11.10): trzy prawdziwe sklepy demo kaskadą zamiast makiety */
.demo-shops { overflow: hidden; background: radial-gradient(ellipse 60% 70% at 78% 50%, rgba(255,90,31,.14), transparent 70%), var(--ink); }
.demo-shops .split { align-items: center; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); }
.shops-wrap { position: relative; }
.shops { position: relative; aspect-ratio: 1.32; }
.shop { position: absolute; width: 82%; margin: 0; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08); }
.shop img { display: block; width: 100%; height: auto; }
.shop-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #ececef; }
.shop-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c8c8ce; }
.shop-bar span { margin-left: 10px; font: 500 12px/1 var(--mono); color: #55555c; }
.shop.s1 { left: 0; top: 0; z-index: 1; }
.shop.s2 { left: 10%; top: 13%; z-index: 2; }
.shop.s3 { left: 20%; top: 26%; z-index: 3; }
.shops-cap { margin: 18px 0 0; font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@supports (animation-timeline: view()) {
  .shop { animation: shop-in linear both; animation-timeline: view(); animation-range: entry 5% cover 35%; }
  .shop.s2 { animation-range: entry 15% cover 42%; } .shop.s3 { animation-range: entry 25% cover 50%; }
  @keyframes shop-in { from { opacity: 0; transform: translateY(70px) scale(.96); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { .shop { animation: none !important; } }
@media (max-width: 860px) { .demo-shops .split { grid-template-columns: 1fr; } .shops { aspect-ratio: 1.08; margin-top: 12px; } .shop-bar { height: 20px; } }

/* Narożnik tabeli metod: legenda ocen zamiast pustego pola (11.10) */
.cmp thead th.cmp-corner { vertical-align: bottom; padding: 18px; background: rgba(22,22,26,.04); }
.cmp-corner p { margin: 0 0 12px; font: 500 12px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #c2410c; }
.cmp-corner .cmp-legend { display: grid; gap: 10px; margin: 0; font: 500 14px/1.2 var(--body); color: var(--paper-ink); }
.cmp-corner .cmp-legend > span { display: flex; align-items: center; gap: 10px; }

/* Usługi dodatkowe (11.10): „Gotowe do sprzedaży” - tło z pakowni + kafelki ze zdjęciami makro, wjeżdżające po kolei */
.svc-panel { min-height: min(78vh, 760px); }
.svc-panel::after { background: linear-gradient(90deg, rgba(13,14,17,.92) 0%, rgba(13,14,17,.7) 34%, rgba(13,14,17,.08) 60%, rgba(13,14,17,0) 100%); }
.svc-panel .panel-text { max-width: 520px; }
.svc-grid-wrap { background: var(--ink); padding-block: clamp(40px, 6vw, 80px); }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc { margin: 0; background: var(--ink-2); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.svc img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.svc:hover img { transform: scale(1.04); }
.svc > div { display: grid; gap: 6px; padding: 18px 20px 22px; }
.svc b { font: 800 20px/1.15 var(--display); text-transform: uppercase; letter-spacing: -.01em; color: #fff; }
.svc span { font-size: 15px; line-height: 1.5; color: #cfcac2; }
@supports (animation-timeline: view()) {
  .svc { animation: svc-in linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  .svc:nth-child(3n+2) { animation-range: entry 8% cover 36%; } .svc:nth-child(3n) { animation-range: entry 16% cover 42%; }
  @keyframes svc-in { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { .svc { animation: none !important; } .svc img { transition: none; } }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-panel .panel-img { background-position: 92% center; }

/* Narzędzia sprzedażowe (11.10): Kreator ofert krok po kroku + Zbieranie rozmiarów na telefonie */
.tsteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 40px; counter-reset: s; }
.tstep { margin: 0; background: #fff; border: 1px solid var(--line-paper); display: flex; flex-direction: column; overflow: hidden; }
.tstep-img { aspect-ratio: 4 / 3; overflow: hidden; background: #e9e4da; display: grid; place-items: center; }
.tstep-img.shot { padding: 18px; }
.tstep-img.shot img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 14px 34px rgba(22,22,26,.18); }
.tstep-img.photo img { width: 100%; height: 100%; object-fit: cover; }
.tstep-body { display: grid; gap: 6px; padding: 20px 22px 24px; }
.tstep-n { font: 500 12px/1 var(--mono); letter-spacing: .14em; color: #c2410c; }
.tstep b { font: 800 21px/1.15 var(--display); text-transform: uppercase; letter-spacing: -.01em; color: var(--paper-ink); }
.tstep-body > span:last-child { font-size: 15px; line-height: 1.5; color: #3a3832; }
@supports (animation-timeline: view()) {
  .tstep, .phone { animation: svc-in linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  .tstep:nth-child(2) { animation-range: entry 8% cover 36%; } .tstep:nth-child(3) { animation-range: entry 16% cover 42%; }
}
.tools-sizes { background: radial-gradient(ellipse 50% 70% at 75% 50%, rgba(255,90,31,.16), transparent 70%), var(--ink); }
.tools-sizes .how-steps b { font-size: 21px; }
.phone-wrap { display: grid; place-items: center; }
.phone { position: relative; width: min(330px, 78vw); aspect-ratio: 9 / 19; border-radius: 46px; padding: 12px; background: #1b1c20; box-shadow: 0 40px 90px rgba(0,0,0,.6), inset 0 0 0 2px #34353b; overflow: hidden; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 34px; }
.phone-notch { position: absolute; top: 20px; left: 50%; width: 92px; height: 24px; transform: translateX(-50%); border-radius: 14px; background: #000; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .tstep, .phone { animation: none !important; } }
@media (max-width: 960px) { .tsteps { grid-template-columns: 1fr; } }
.page-hero.panel .panel-img[style*="narzedzia/hero"] { background-position: 0% center; }
.page-hero.panel:has(.panel-img[style*="narzedzia/hero"])::after { background: linear-gradient(90deg, rgba(13,14,17,.95) 0%, rgba(13,14,17,.85) 42%, rgba(13,14,17,.25) 70%, rgba(13,14,17,.05) 100%); }

/* Polityka prywatności (11.10) */
.privacy { max-width: 760px; }
.privacy .pv-h { font-size: clamp(22px, 2.4vw, 30px); margin: 40px 0 12px; }
.privacy .pv-h:first-child { margin-top: 0; }
.privacy p { margin: 0 0 12px; font-size: 16px; line-height: 1.65; color: #3a3832; }
