/* przemekkrysiak.pl — wariant C1 "Oś czasu" */
:root {
  --bg: #0e0e10;
  --ink: #efeee9;
  --ink-2: #c9c8c2;
  --muted: #8d8c88;
  --line: #2a2a2d;
  --panel: #161618;
  --coral: #ff5a36;
  --coral-ink: #ffffff;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1200px;
  --pad: 40px;
}
@media (max-width: 760px) { :root { --pad: 18px; } }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg); color: var(--ink); font-family: var(--sans);
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(14,14,16,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.top .name { font-weight: 700; font-size: 16px; letter-spacing: -.01em; white-space: nowrap; }
.top nav { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.top nav a:hover { color: var(--ink); }
.top .right { display: flex; align-items: center; gap: 18px; }
.top .mail { font-size: 14px; border-bottom: 1px solid var(--coral); padding-bottom: 2px; white-space: nowrap; }
.lang { font-family: var(--mono); font-size: 12px; color: var(--muted); display: flex; gap: 6px; }
.lang a[aria-current] { color: var(--ink); }
@media (max-width: 900px) { .top nav { display: none; } }
@media (max-width: 480px) { .top .mail { display: none; } }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.4fr .6fr; gap: 56px; padding-top: 64px; padding-bottom: 36px; align-items: start; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.02; font-weight: 700; letter-spacing: -.035em; max-width: 700px; margin-top: 22px; text-wrap: balance; }
.hl { background: linear-gradient(transparent 72%, var(--coral) 72%, var(--coral) 88%, transparent 88%); }
.hero .intro { margin-top: 26px; font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 580px; }
.cta { display: flex; align-items: center; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.btn { display: inline-block; background: var(--coral); color: var(--coral-ink); font-weight: 600; font-size: 15px; padding: 14px 20px; border-radius: 3px; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { filter: brightness(1.08); }
.link { font-size: 15px; border-bottom: 1px solid var(--muted); padding-bottom: 2px; }
.link:hover { border-color: var(--coral); }
.hero figure img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 30%; border-radius: 2px; }
.hero figcaption { margin-top: 10px; line-height: 1.5; }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; }
  .hero figure { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; order: -1; }
  .hero figure img { aspect-ratio: 1; }
  .hero figcaption { margin: 0; }
}

/* ---------- timeline ---------- */
.tl { background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 14px 16px 16px; margin-bottom: 56px; }
.tl-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.ruler { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-left: 34px; }
.tl .row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.tl .row > .mono { width: 24px; flex: none; }
.v1 { flex: 1; display: flex; gap: 3px; height: 56px; position: relative; }
.v1 > a { background: #222 center/cover; border-radius: 2px; position: relative; border: 1px solid #000; min-width: 0; }
.v1 > a span { position: absolute; left: 5px; bottom: 4px; font-family: var(--mono); font-size: 10px; color: #fff; background: rgba(0,0,0,.6); padding: 1px 5px; border-radius: 2px; white-space: nowrap; overflow: hidden; max-width: calc(100% - 10px); }
.v1 > a:hover { outline: 1.5px solid var(--coral); z-index: 1; }
.a1 { flex: 1; display: flex; align-items: center; gap: 2px; height: 34px; position: relative; }
.a1 i { flex: 1; background: #4a4a4f; border-radius: 1px; }
.tracks { position: relative; }
.playhead { position: absolute; top: -2px; bottom: -2px; left: calc(34px + (100% - 34px) * var(--p, .41)); width: 2px; background: var(--coral); pointer-events: none; }
.playhead::before { content: ""; position: absolute; top: -6px; left: -5px; border: 6px solid transparent; border-top-color: var(--coral); }
.cut { position: absolute; top: -4px; bottom: -4px; border: 1.5px solid var(--coral); background: rgba(255,90,54,.14); border-radius: 2px; }
.cut span { position: absolute; top: -18px; left: 0; font-family: var(--mono); font-size: 10.5px; color: var(--coral); white-space: nowrap; }
@media (max-width: 760px) {
  .ruler span:nth-child(even) { display: none; }
  .v1 > a span { display: none; }
  .cut span { display: none; }
}

/* ---------- sections ---------- */
section { scroll-margin-top: 80px; }
.sec { border-top: 1px solid var(--line); padding: 56px 0 64px; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.sec-head h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.sec-head p { color: var(--ink-2); max-width: 520px; }

/* ---------- work ---------- */
.filters { display: flex; gap: 20px; font-size: 14px; flex-wrap: wrap; }
.filters button { background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; padding: 0 0 4px; border-bottom: 2px solid transparent; }
.filters button:hover { color: var(--ink); }
.filters button[aria-pressed="true"] { color: var(--ink); border-color: var(--coral); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 18px; }
.grid.all .feat { grid-column: span 2; }
.item .thumb { position: relative; overflow: hidden; border-radius: 2px; background: #1b1b1e; }
.item img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .4s ease; }
.item:hover img { transform: scale(1.03); }
.item .thumb::after { content: "▶"; position: absolute; left: 12px; bottom: 12px; font-size: 11px; color: #fff; background: rgba(0,0,0,.55); padding: 5px 9px; border-radius: 2px; opacity: 0; transition: opacity .2s; }
.item:hover .thumb::after { opacity: 1; }
.item .meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; }
.item h3 { font-size: 16px; font-weight: 600; margin-top: 4px; letter-spacing: -.01em; line-height: 1.35; }
.item p.d { color: var(--muted); font-size: 14px; margin-top: 4px; line-height: 1.5; }
.item[hidden] { display: none; }
.shorts[hidden] { display: none; }
.short img { width: 100%; aspect-ratio: 9/16; object-fit: cover; border-radius: 3px; }
.short .mono { margin-top: 8px; }
.shorts .note h3 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.shorts .note p { color: var(--ink-2); margin-top: 10px; max-width: 420px; }
.shorts .note .link { display: inline-block; margin-top: 16px; }
@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .grid.all .feat { grid-column: auto; }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; }
}

/* ---------- services ---------- */
.services { list-style: none; border-top: 1px solid var(--line); }
.services li { display: grid; grid-template-columns: 60px 1fr 1.4fr 150px; gap: 20px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.services h3 { font-size: 20px; font-weight: 600; letter-spacing: -.015em; }
.services p { color: var(--ink-2); }
.services .tag { font-family: var(--mono); font-size: 12px; color: var(--coral); white-space: nowrap; }
@media (max-width: 760px) {
  .services li { grid-template-columns: 40px 1fr; gap: 6px 12px; }
  .services li p, .services li .tag { grid-column: 2; }
}

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.about .text p { color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.about .text p + p { margin-top: 16px; }
.facts { list-style: none; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts li span:last-child { text-align: right; color: var(--ink); font-family: var(--sans); font-size: 15px; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.contact .direct p { color: var(--ink-2); font-size: 17px; }
.contact .direct ul { list-style: none; margin-top: 26px; border-top: 1px solid var(--line); }
.contact .direct li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; }
.contact .direct li a { border-bottom: 1px solid var(--coral); }
form .f { margin-bottom: 18px; }
form label { display: block; font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 6px; }
form input, form select, form textarea {
  width: 100%; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 3px;
  padding: 13px 14px; font: inherit; font-size: 16px;
}
form textarea { min-height: 140px; resize: vertical; }
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--coral); }
form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form .hp { display: none; }
form .small { margin-top: 12px; }
@media (max-width: 760px) { .contact, form .two { grid-template-columns: 1fr; gap: 30px; } form .two { gap: 0; } }

/* ---------- pricing (podcast page) ---------- */
.price-wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; }
.cur { display: flex; gap: 6px; margin-top: 16px; }
.cur button { background: none; border: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 12px; padding: 6px 10px; border-radius: 3px; cursor: pointer; }
.cur button[aria-pressed="true"] { color: var(--ink); border-color: var(--coral); }
.plist { list-style: none; }
.plist li { display: flex; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.plist li b { font-weight: 600; font-size: 18px; }
.plist li .what { color: var(--muted); font-size: 14px; }
.plist li .dots { flex: 1; min-width: 20px; border-bottom: 1px dotted #4a4a4e; transform: translateY(-4px); }
.plist li .p { font-weight: 700; font-size: 22px; white-space: nowrap; }
.terms { margin-top: 18px; line-height: 1.6; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: s; }
.steps li { border-top: 2px solid var(--coral); padding-top: 16px; }
.steps li h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; margin: 6px 0 8px; }
.steps li p { color: var(--ink-2); }
.incl { columns: 2; column-gap: 40px; list-style: none; }
.incl li { padding: 10px 0; border-bottom: 1px solid var(--line); break-inside: avoid; color: var(--ink-2); }
.incl li::before { content: "— "; color: var(--coral); }
@media (max-width: 760px) { .price-wrap, .steps { grid-template-columns: 1fr; gap: 26px; } .incl { columns: 1; } }

/* ---------- simple pages ---------- */
.page { padding: 64px 0 80px; max-width: 760px; }
.page h1 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -.03em; line-height: 1.05; margin-bottom: 24px; }
.page h2 { font-size: 20px; margin: 30px 0 8px; }
.page p, .page li { color: var(--ink-2); }
.page ul { padding-left: 20px; }
.page a { border-bottom: 1px solid var(--coral); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 26px 0 40px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a:hover { color: var(--ink); }

/* vertical reels + video player */
.short { display: block; position: relative; }
.short::before { content: "▶"; position: absolute; left: 10px; top: 10px; z-index: 1; font-size: 10px; color: #fff; background: rgba(0,0,0,.55); padding: 4px 8px; border-radius: 2px; }
.short:hover img { filter: brightness(1.08); }
.reels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px 16px; }
.reels-note { margin-top: 36px; max-width: 560px; }
.reels-note h3 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.reels-note p { color: var(--ink-2); margin-top: 10px; }
dialog.player { margin: auto; border: 0; padding: 0; background: #000; max-width: 92vw; max-height: 90vh; overflow: visible; }
dialog.player::backdrop { background: rgba(8,8,10,.88); }
dialog.player video { display: block; width: min(1100px, 92vw); max-height: 90vh; }
dialog.player.v video { width: auto; height: min(84vh, 84dvh, 150vw); max-width: 92vw; }
dialog.player .x { position: absolute; top: -36px; right: 0; background: none; border: 0; color: var(--ink); font: 500 14px "JetBrains Mono", monospace; cursor: pointer; padding: 8px 0; }

/* reel strip, show-more, brands */
.shorts { margin-top: 72px; }
.shorts .note { max-width: 620px; margin-bottom: 22px; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 172px; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.strip .short { scroll-snap-align: start; }
.strip .short .mono { font-size: 11px; }
.grid.all.collapsed [data-more] { display: none; }
.more-btn { display: block; margin: 34px auto 0; background: none; border: 1px solid var(--line); color: var(--ink); font: 500 13px "JetBrains Mono", monospace; padding: 12px 22px; border-radius: 2px; cursor: pointer; }
.more-btn:hover { border-color: var(--coral); }
.more-btn[hidden] { display: none; }
.clients { display: flex; gap: 10px 28px; align-items: baseline; flex-wrap: wrap; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.clients ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.clients li { color: var(--ink-2); font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
@media (max-width: 1000px) { .reels { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) {
  .reels { grid-template-columns: repeat(2, 1fr); gap: 18px 10px; }
  .strip { grid-auto-columns: 42vw; gap: 10px; }
  .clients li { font-size: 14px; }
}

/* ---------- C look: coral headline, rounded buttons, reel phones, cards ---------- */
.top .name i { font-style: normal; color: var(--coral); }
.top .name { font-size: 18px; font-weight: 800; }
.hl { background: none; color: var(--coral); }
.btn { border-radius: 10px; font-weight: 700; padding: 14px 22px; }
.btn.ghost { background: none; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--ink-2); filter: none; }
.btn.small { padding: 10px 16px; font-size: 14px; white-space: nowrap; }
.hero { grid-template-columns: 1.1fr .9fr; align-items: center; }
.phones { display: flex; gap: 14px; justify-content: center; align-items: flex-end; padding-top: 40px; }
.phone { flex: 1; max-width: 186px; aspect-ratio: 9/16; border-radius: 22px; overflow: hidden; border: 3px solid #2c2d33; position: relative; background: #000; box-shadow: 0 24px 50px rgba(0,0,0,.5); transition: border-color .2s; }
.phone:nth-child(2) { transform: translateY(-34px); }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone::before { content: "▶"; position: absolute; left: 10px; bottom: 10px; width: 30px; height: 30px; display: grid; place-items: center; font-size: 10px; color: #fff; background: rgba(0,0,0,.55); border-radius: 50%; }
.phone span { position: absolute; right: 10px; top: 10px; font-size: 10px; color: #fff; background: rgba(0,0,0,.55); padding: 3px 7px; border-radius: 99px; }
.phone:hover { border-color: var(--coral); }
.me { display: flex; align-items: center; gap: 14px; margin-top: 34px; }
.me img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; flex: none; }
.me p { line-height: 1.5; max-width: 380px; }
.stats { display: flex; gap: 40px; margin-top: 36px; }
.stats b { display: block; font-size: 36px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.stats span { font-size: 13px; color: var(--muted); }
.cur { margin-top: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 28px 26px; }
.card.hot { background: var(--coral); border-color: var(--coral); color: #fff; }
.card h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.card .amt { display: block; font-size: 44px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin-top: 16px; }
.card .per { color: var(--coral); font-weight: 700; font-size: 14px; margin-top: 4px; }
.card.hot .per { color: #fff; }
.card ul { list-style: none; margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.card.hot ul { color: #ffe7e0; }
.card li { padding: 9px 0; border-top: 1px solid rgba(255,255,255,.1); }
.more-h { font-size: 15px; font-weight: 600; color: var(--muted); margin: 44px 0 4px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .phones { padding-top: 34px; gap: 10px; }
  .phone { border-radius: 16px; }
  .phone:nth-child(2) { transform: translateY(-20px); }
  .stats { gap: 26px; }
  .stats b { font-size: 30px; }
}
.hero h1 { font-size: clamp(36px, 4.5vw, 58px); max-width: 640px; }
.phone { max-width: 205px; }
.phone span { white-space: nowrap; }
@media (max-width: 480px) {
  .top .wrap { gap: 10px; }
  .top .name { font-size: 16px; }
  .top .right { gap: 10px; }
  .btn.small { padding: 8px 12px; font-size: 13px; }
  .cta { gap: 12px; }
  .cta .btn { padding: 13px 18px; }
}

/* ---------- bigger photo + phones, clients section ---------- */
.hero { grid-template-columns: 1fr 1fr; gap: 40px; }
.phones { gap: 16px; padding-top: 44px; }
.phone { max-width: 250px; border-radius: 26px; }
.phone:nth-child(2) { transform: translateY(-40px); }
.me { gap: 18px; margin-top: 38px; }
.me img { width: 88px; height: 88px; border: 2px solid var(--coral); }
.me p { font-size: 13px; }
.clients { margin: 8px 0 72px; }
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.client { display: flex; align-items: center; gap: 14px; padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s; }

.client .lg { flex: none; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; }
.client .lg.logo { background: #fff; padding: 8px; }
.client .lg.logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.client .lg.av { border-radius: 50%; }
.client .lg.av img { width: 100%; height: 100%; object-fit: cover; }
.client b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.client .mono { display: block; margin-top: 3px; line-height: 1.45; }
.about { grid-template-columns: 300px 1fr 1fr; gap: 44px; align-items: start; }
.about-photo img { width: 100%; aspect-ratio: 4/5; height: auto; object-fit: cover; object-position: 50% 30%; border-radius: 16px; }
@media (max-width: 1000px) {
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr 1fr; }
  .about-photo { grid-column: 1 / -1; max-width: 320px; }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .phone:nth-child(2) { transform: translateY(-22px); }
  .about { grid-template-columns: 1fr; }
  .me img { width: 72px; height: 72px; }
}
@media (max-width: 520px) { .client-grid { grid-template-columns: 1fr; } }
/* bigger fan of phones */
.hero { grid-template-columns: .95fr 1.05fr; }
.phones { gap: 0; }
.phone { max-width: 260px; }
.phone:nth-child(1) { margin-right: -18px; transform: rotate(-3deg); }
.phone:nth-child(3) { margin-left: -18px; transform: rotate(3deg); }
.phone:nth-child(2) { z-index: 2; transform: translateY(-36px) scale(1.08); }
.phone::before { bottom: auto; top: 10px; }
@media (max-width: 760px) {
  .phone:nth-child(1) { margin-right: -10px; }
  .phone:nth-child(3) { margin-left: -10px; }
  .phone:nth-child(2) { transform: translateY(-18px) scale(1.06); }
}
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; } .phones { padding: 30px 8px 0; } }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral); font: 500 22px var(--mono); line-height: 1; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--coral); }
.faq details p { color: var(--ink-2); max-width: 720px; padding: 0 0 20px; line-height: 1.65; }
@media (max-width: 600px) {
  .plist li { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; align-items: center; }
  .plist li .dots { display: none; }
  .plist li b { font-size: 16px; }
  .plist li .what { grid-column: 1; grid-row: 2; font-size: 13px; }
  .plist li .p { grid-column: 2; grid-row: 1 / span 2; font-size: 19px; }
}
.top nav a[aria-current="page"] { color: var(--ink); }
.crumb a { color: var(--ink-2); border-bottom: 1px solid var(--line); }
.crumb a:hover { color: var(--ink); border-color: var(--coral); }
.crumb span { margin: 0 4px; }

/* view-count badge, preview loops, focus */
.thumb .views { position: absolute; right: 10px; bottom: 10px; z-index: 1; font-size: 11px; color: #fff; background: rgba(0,0,0,.62); padding: 4px 8px; border-radius: 99px; }
.phone video.pv, .short video.pv { position: absolute; left: 0; top: 0; width: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; pointer-events: none; }
.phone video.pv { height: 100%; }
.short video.pv { aspect-ratio: 9/16; height: auto; border-radius: 3px; }
.pv.on { opacity: 1; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--coral); color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) { .pv { display: none; } }

/* mobile menu */
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--ink); font: 500 12px var(--mono); padding: 8px 10px; border-radius: 8px; cursor: pointer; order: 3; }
@media (max-width: 900px) {
  .menu-btn { display: inline-block; }
  .top .wrap { flex-wrap: wrap; }
  .top.open nav { display: flex; flex-direction: column; gap: 0; order: 4; width: 100%; padding: 6px 0 14px; }
  .top.open nav a { padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; color: var(--ink); }
}
@media (max-width: 480px) { .top .lang { font-size: 11px; } }
@media (max-width: 900px) {
  .top .wrap { height: auto; min-height: 64px; padding-top: 12px; padding-bottom: 12px; row-gap: 0; }
  .top .name { order: 0; margin-right: auto; }
  .top .right { order: 1; }
  .menu-btn { order: 2; }
  .top nav { order: 3; }
}
@media (max-width: 480px) { .top .right .btn.small { display: none; } }
.top.open { background: var(--bg); }

/* ---------- how we work together ---------- */
.flows { display: grid; gap: 18px; }
.flow { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
.flow-head h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.flow-head p { color: var(--ink-2); margin-top: 10px; font-size: 15px; line-height: 1.55; }
.flow-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; counter-reset: st; }
.flow-steps::before { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--line); }
.flow-steps li { position: relative; counter-increment: st; padding-top: 40px; }
.flow-steps li::before { content: counter(st, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 500 10px var(--mono); background: var(--bg); border: 2px solid var(--line); color: var(--muted); }
.flow-steps li.mine::before { background: var(--coral); border-color: var(--coral); color: #fff; }
.flow-steps .who { position: absolute; left: 38px; top: 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.flow-steps li.mine .who { color: var(--coral); }
.flow-steps b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.flow-steps p { color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 6px; }
@media (max-width: 1000px) { .flow { grid-template-columns: 1fr; gap: 22px; } }
@media (max-width: 640px) {
  .flow { padding: 22px 18px; }
  .flow-steps { grid-template-columns: 1fr; gap: 18px; }
  .flow-steps::before { left: 13px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; }
  .flow-steps li { padding: 0 0 0 44px; }
  .flow-steps .who { position: static; display: block; margin-bottom: 2px; }
}
.reels-label { margin: 6px 0 16px; }
.reels + .reels-label { margin-top: 40px; }


/* ---------- three price lists ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.price-block { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 26px 24px 22px; }
.price-block.hot { border-color: var(--coral); box-shadow: 0 0 0 1px var(--coral) inset; }
.price-block.hot > .mono:first-child { color: var(--coral); }
.price-block h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin-top: 8px; }
.price-block .desc { color: var(--ink-2); font-size: 14px; line-height: 1.55; margin-top: 8px; min-height: 44px; }
.price-block .plist { margin-top: 14px; flex: 1; }
.price-block .plist li { padding: 13px 0; }
.price-block .plist li b { font-size: 15px; }
.price-block .plist li .what { font-size: 12px; width: 100%; order: 3; margin-top: -4px; }
.price-block .plist li .p { font-size: 19px; }
.price-block .was { color: var(--muted); font-size: 13px; margin-right: 6px; white-space: nowrap; }
.price-block .note { margin-top: 14px; line-height: 1.5; }
@media (max-width: 1000px) { .price-grid { grid-template-columns: 1fr; } .price-block .desc { min-height: 0; } }
.price-block .plist li:has(.was) b { width: 100%; }
.price-block .plist li:has(.was) .dots { display: none; }
.price-block .plist li:has(.was) .was { margin-left: auto; }
@media (max-width: 600px) { .price-block .plist li:has(.was) { display: flex; flex-wrap: wrap; } }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js-motion .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
  .js-motion .rv.in { opacity: 1; transform: none; }
  .js-motion .hero > div:first-child > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .js-motion .hero > div:first-child > *:nth-child(2) { animation-delay: .08s; }
  .js-motion .hero > div:first-child > *:nth-child(3) { animation-delay: .16s; }
  .js-motion .hero > div:first-child > *:nth-child(4) { animation-delay: .24s; }
  .js-motion .hero > div:first-child > *:nth-child(5) { animation-delay: .32s; }
  .js-motion .hero > div:first-child > *:nth-child(6) { animation-delay: .4s; }
  .js-motion .phones .phone { animation: phoneIn 1s cubic-bezier(.2,.7,.2,1) both; }
  .js-motion .phones .phone:nth-child(1) { animation-delay: .25s; }
  .js-motion .phones .phone:nth-child(2) { animation-delay: .1s; }
  .js-motion .phones .phone:nth-child(3) { animation-delay: .4s; }
  .price-block, .client, .flow { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
  .price-block:hover, .client:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,.35); }
  .phone { transition: border-color .2s, translate .3s ease; }
  .phone:hover { translate: 0 -8px; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes phoneIn { from { opacity: 0; translate: 0 60px; } to { opacity: 1; translate: 0 0; } }
.v1 > a.live { outline: 2px solid var(--coral); z-index: 1; }
.a1 i.played { background: #8a5a4f; }
dialog.player.yt iframe { display: block; width: min(1100px, 92vw, calc(84vh * 16 / 9)); aspect-ratio: 16 / 9; height: auto; border: 0; background: #000; }
dialog.player video[hidden] { display: none; }
.services .tag { text-align: right; }

/* ---------- hero: rotating word + floating tags ---------- */
.hero h1 .rot { display: inline-grid; }
.hero h1 .rot > span { grid-area: 1 / 1; color: var(--coral); opacity: 0; transform: translateY(.3em); transition: opacity .4s, transform .4s; }
.hero h1 .rot > span.on { opacity: 1; transform: none; }
.phones { position: relative; }
.ftag { position: absolute; z-index: 5; pointer-events: none; font-family: var(--mono); font-size: 12px; line-height: 1; color: var(--ink); background: rgba(14,14,16,.9); border: 1px solid #3a3a3e; padding: 8px 11px; border-radius: 3px; white-space: nowrap; animation: ftag-drift 7s ease-in-out infinite alternate; }
.ftag::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--coral); margin-right: 8px; vertical-align: 1px; }
.ftag.t1 { left: -2%; top: 4%; }
.ftag.t2 { right: -4%; top: 0; animation-delay: -2s; }
.ftag.t3 { left: -8%; top: 46%; animation-delay: -4s; }
.ftag.t4 { right: -8%; top: 40%; animation-delay: -1s; }
.ftag.t5 { left: 10%; bottom: 4%; animation-delay: -3s; }
.ftag.t6 { right: 4%; bottom: 14%; animation-delay: -5s; }
@keyframes ftag-drift { 0% { transform: translate(0,0); } 50% { transform: translate(6px,-10px); } 100% { transform: translate(-5px,6px); } }
@media (max-width: 760px) {
  .ftag { font-size: 11px; padding: 6px 9px; }
  .ftag.t1 { left: 0; top: 2%; } .ftag.t2 { right: 0; top: 10%; }
  .ftag.t3 { left: 0; top: 52%; } .ftag.t4 { right: 0; top: 44%; }
  .ftag.t5, .ftag.t6 { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ftag { animation: none; } .hero h1 .rot > span { transition: none; } }

/* ---------- photo gallery (/pl/zdjecia/, /photos/) ---------- */
.gal-page { padding-top: 56px; padding-bottom: 40px; }
.gal-head h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.04; font-weight: 700; letter-spacing: -.035em; max-width: 820px; margin-top: 18px; text-wrap: balance; }
.gal-head .intro { margin-top: 18px; color: var(--ink-2); font-size: 17px; max-width: 560px; }
.gal-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.gal-filters button { font: 500 14px var(--sans); color: var(--ink-2); background: none; border: 1px solid var(--line); border-radius: 3px; padding: 9px 13px; cursor: pointer; transition: border-color .2s, color .2s; }
.gal-filters button .mono { font-size: 11px; margin-left: 4px; }
.gal-filters button:hover { color: var(--ink); border-color: #4a4a4f; }
.gal-filters button[aria-pressed="true"] { color: var(--ink); border-color: var(--coral); }
.gal-filters button[aria-pressed="true"] .mono { color: var(--coral); }
.gal { columns: 3 300px; column-gap: 12px; }
.gal .ph { display: block; margin-bottom: 12px; break-inside: avoid; overflow: hidden; border-radius: 2px; background: var(--panel); }
.gal .ph[hidden] { display: none; }
.gal .ph img { width: 100%; height: auto; transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .3s; }
.gal .ph:hover img { transform: scale(1.03); }
@media (max-width: 760px) { .gal { columns: 2; column-gap: 8px; } .gal .ph { margin-bottom: 8px; } .gal-page { padding-top: 32px; } }
.gal-end { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); max-width: 620px; }
.gal-end h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.025em; line-height: 1.1; }
.gal-end p { color: var(--ink-2); margin: 14px 0 24px; }
dialog.lb { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8,8,10,.96); color: var(--ink); }
dialog.lb::backdrop { background: rgba(8,8,10,.9); }
dialog.lb[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
dialog.lb figure { margin: 0; height: 100vh; display: grid; grid-template-rows: 1fr auto; justify-items: center; padding: 56px 0 18px; }
dialog.lb img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; align-self: center; }
dialog.lb figcaption { margin-top: 12px; text-align: center; padding: 0 12px; }
dialog.lb .x { position: absolute; top: 14px; right: 16px; z-index: 2; font: 500 13px var(--mono); color: var(--ink); background: none; border: 1px solid var(--line); border-radius: 3px; padding: 8px 12px; cursor: pointer; }
dialog.lb .nav { font-size: 22px; color: var(--ink); background: none; border: 0; height: 100%; cursor: pointer; opacity: .7; }
dialog.lb .nav:hover { opacity: 1; color: var(--coral); }
@media (max-width: 760px) { dialog.lb[open] { grid-template-columns: 0 1fr 0; } dialog.lb .nav { display: none; } dialog.lb figure { padding: 56px 8px 18px; } }
/* gallery: category bar stays visible while scrolling (sits under the sticky header) */
.gal-filters { position: sticky; top: var(--hdr, 68px); z-index: 10; background: rgba(14,14,16,.94); backdrop-filter: blur(8px); padding-bottom: 12px; margin-bottom: 10px; }
@media (max-width: 760px) {
  .gal-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); padding-left: var(--pad); padding-right: var(--pad); padding-top: 12px; }
  .gal-filters::-webkit-scrollbar { display: none; }
  .gal-filters button { flex: none; }
}
