/* v2 (22.10.2026): same terminal look, but readable for a non-programmer client — calmer glow, brighter grey,
   human words on buttons, real work and a real face. */
:root { --muted: #a9c9b2; }
.sub { color: #b9d6c1; font-size: 19px; }
.h2, .glitch, .tagline, .status b, .price, .nav .logo { text-shadow: none; }
.h2 { color: #f0fff4; }
.about .text p b, .lead b { text-shadow: none; }
.btn::before { content: '› '; }
.btn, button.btn { font-family: var(--sans); font-weight: 600; font-size: 16px; }
.price-card li, .pipeline li, .proof p { font-size: 16.5px; }
.pipeline li { color: #b9d6c1; }

/* realizacje: screenshot side by side with the description and the owner's recommendation; first three, rest behind a button */
.cases { display: grid; gap: 72px; }
.case { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.case[hidden] { display: none; }
.case-flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.case-flip .case-shot { order: 2; }
.case-flip .work-phone { right: auto; left: -24px; }
.case-shot { position: relative; display: block; text-decoration: none; color: inherit; }
.win { border: 1px solid var(--line-strong); background: #000; overflow: hidden; transition: border-color .25s, transform .35s cubic-bezier(.2, .7, .2, 1); }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); font: 12px var(--mono); color: var(--muted); }
.win-bar i, .me-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.win-bar i:nth-child(2), .me-bar i:nth-child(2) { background: #febc2e; }
.win-bar i:nth-child(3), .me-bar i:nth-child(3) { background: #28c840; }
.win-bar span { margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win img { display: block; width: 100%; height: auto; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.case-shot:hover .win { border-color: var(--green); transform: translateY(-4px); }
.case-shot:hover .win img { transform: scale(1.03); }
.work-phone { position: absolute; right: -24px; bottom: -28px; width: 150px; height: auto; border: 6px solid #111; border-radius: 22px; box-shadow: 0 20px 50px -20px #000; }
.case-txt h3 { font: 700 26px/1.25 var(--mono); color: #fff; margin: 0 0 10px; }
.case-txt p { color: #b9d6c1; margin: 0 0 12px; font-size: 16.5px; }
.rec { margin: 26px 0 0; padding: 18px 0 0 20px; border-left: 3px solid var(--green); }
.rec blockquote { margin: 0 0 14px; color: #e4f5e9; font-size: 16.5px; line-height: 1.6; }
.rec figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.rec figcaption b { display: block; color: #fff; font-size: 15px; }
.rec-av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid var(--line-strong); }
.rec-ini { display: grid; place-items: center; background: #06200f; color: var(--green); font: 700 14px var(--mono); }
.case-more.is-in { animation: case-in .6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes case-in { from { opacity: 0; transform: translateY(24px); } }
.more-btn { display: flex; align-items: center; gap: 18px; margin: 56px auto 0; padding: 14px 22px; background: #000; border: 1px solid var(--line-strong); color: #e4f5e9; cursor: pointer; font: 600 16px var(--sans); transition: border-color .2s, box-shadow .2s; }
.more-btn:hover, .more-btn:focus-visible { border-color: var(--green); box-shadow: 0 0 0 1px var(--green), 0 0 28px -8px var(--green); }
.more-cmd { font: 13px var(--mono); color: var(--green); }
.more-cmd::before { content: '$ '; color: var(--muted); }
.more-lbl b { color: var(--green); font-family: var(--mono); margin-left: 4px; }
.more-btn[hidden] { display: none; }
.more-lbl .n-sm { display: none; }
.work-go { font: 600 15px var(--mono); color: var(--green); text-decoration: none; }
.work-go:hover { text-decoration: underline; }

/* offer: the two ways to a free project sit in the wizytówka card */
.card-acts { display: flex; flex-direction: column; gap: 10px; }
.card-acts .btn { text-align: center; }

/* o mnie: the photo is printed as ASCII first, then develops into the real one (js/v2.js) */
.about-v2 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
.me { margin: 0; border: 1px solid var(--line-strong); background: #000; position: sticky; top: 90px; }
.me-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); font: 12px var(--mono); color: var(--muted); }
.me-bar span { margin-left: 8px; }
.me-bar span::before { content: '~/patryk # '; color: var(--green-dim); }
.me-pic { position: relative; aspect-ratio: 1; overflow: hidden; --p: 1; }
.me-pic img, .me-pic canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.me-pic img { object-fit: cover; clip-path: inset(0 0 calc((1 - var(--p)) * 100%) 0); }
.me-pic canvas { clip-path: inset(calc(var(--p) * 100%) 0 0 0); background: #000; }
.me-pic::after { content: ''; position: absolute; left: 0; right: 0; height: 2px; top: calc(var(--p) * 100%); background: var(--green); box-shadow: 0 0 14px var(--green); opacity: calc((1 - var(--p)) * 8); pointer-events: none; }
.me figcaption { padding: 10px 12px; font: 13px var(--mono); color: var(--muted); border-top: 1px solid var(--line); }
.fullstack { margin-top: 28px; border-left: 3px solid var(--green); padding: 4px 0 4px 20px; }
.fullstack h3 { font: 700 20px/1.25 var(--mono); color: var(--green); margin: 0 0 8px; }
.fullstack p { margin: 0; font-size: 17px; }

@media (max-width: 900px) {
  .case, .case-flip, .about-v2 { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .case-flip .case-shot { order: 0; }
  .cases { gap: 56px; }
  .more-btn { flex-direction: column; gap: 4px; width: 100%; }
  .case-more-sm:not(.is-open) { display: none; }
  .more-lbl .n-lg { display: none; }
  .more-lbl .n-sm { display: inline; }
  .work-phone { display: none; }
  .me { position: static; max-width: 420px; }
}
