/* ==========================================================
   Agata Nikiel – UX/UI Designer · wersja 3
   Styl inspirowany dd.nyc: jasna szarość, czerń, pomarańczowo-czerwony akcent,
   duża ciasna typografia, cienkie linie, animowany nagłówek
   ========================================================== */

:root {
  --bg: #EFEFEF;
  --bg-2: #E6E6E6;
  --white: #FAFAFA;
  --ink: #0B0B0B;
  --ink-2: #2B2B2B;
  --muted: #5E5E5E;
  --line: rgba(11, 11, 11, 0.14);
  --line-2: rgba(11, 11, 11, 0.28);
  --accent: #F2541B;        /* akcenty graficzne */
  --accent-btn: #CF3F0C;    /* tło przycisków z białym tekstem (kontrast AA) */
  --dark: #0B0B0B;
  --dark-2: #161616;
  --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 70px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); word-spacing: 0.06em; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--ink); }
h1, h2, h3, p, figure, blockquote, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1300px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px;
  text-decoration: none; font-size: 16px; font-weight: 700; letter-spacing: -0.01em;
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--black { background: var(--ink); color: #FFFFFF; }
.btn--black:hover { color: #FFFFFF; background: #3A3A3A; }
.btn--accent { background: var(--accent-btn); color: #FFFFFF; }
.btn--accent:hover { color: #FFFFFF; background: #B8370A; }
.btn--outline { border: 1px solid var(--line-2); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
.btn--white { background: #FFFFFF; color: var(--ink); }
.btn--white:hover { color: var(--ink); background: #E2E2E2; }

/* ---------- Nawigacja ---------- */
.site-header { position: relative; z-index: 5; padding: 18px 0; background: #FFFFFF; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; }
.logo { text-decoration: none; display: inline-flex; align-items: center; gap: 9px; }
.logo__mark { width: 55px; height: 42px; flex-shrink: 0; margin-left: -4px; }
.logo__text { display: flex; flex-direction: column; gap: 3px; }
.logo__name { font-family: 'Manrope', sans-serif; font-size: 14.3px; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; line-height: 1.2; white-space: nowrap; }
.logo__tag { font-family: 'Manrope', sans-serif; font-size: 9.4px; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; color: var(--accent-btn); white-space: nowrap; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 44px; margin-left: auto; margin-right: auto; font-size: 16px; font-weight: 500; }
.nav a { text-decoration: none; padding: 10px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.site-header .btn { min-height: 40px; padding: 0 20px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92vh, 900px); display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; gap: clamp(32px, 4vw, 56px); }
.hero h1 { max-width: 1200px; font-size: clamp(44px, 7.6vw, 118px); line-height: 1; font-weight: 800; letter-spacing: -0.045em; word-spacing: 0; }
.hero h1 .h1-line { display: block; max-width: 9.6em; text-wrap: balance; } /* każde zdanie w dwóch równych wierszach */
.hero h1 .h1-line--accent { margin-top: 0.14em; } /* oddech między zdaniami */
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero h1 .w > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero h1 em { font-style: normal; color: var(--accent-btn); }
.hero h1 .w-sel { position: relative; display: inline-block; vertical-align: top; }
.hero h1 .sel { position: absolute; inset: 0.1em -0.06em 0.02em; border: 1.5px solid var(--accent); opacity: 0; transform: scale(1.06); animation: sel-in .6s var(--ease) 1.2s forwards; pointer-events: none; }
.hero h1 .sel b { position: absolute; width: 0.075em; height: 0.075em; min-width: 6px; min-height: 6px; background: #FFFFFF; border: 1.5px solid var(--accent); box-sizing: border-box; transform: translate(-50%, -50%); }
.hero h1 .sel b:nth-child(1) { left: 0; top: 0; }
.hero h1 .sel b:nth-child(2) { left: 100%; top: 0; }
.hero h1 .sel b:nth-child(3) { left: 0; top: 100%; }
.hero h1 .sel b:nth-child(4) { left: 100%; top: 100%; }
.hero h1 .w--dot { margin-left: 0.12em; }
@keyframes sel-in { to { opacity: 1; transform: none; } }
@keyframes rise { to { transform: translateY(0); } }

.hero__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 48px; opacity: 0; animation: fade 1s var(--ease) .9s forwards; }
.hero__lead { max-width: 520px; display: flex; flex-direction: column; gap: 22px; }
.hero__lead p { font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__social { display: flex; flex-direction: column; margin-top: 50px; }
.hero__social-title { margin: 0 0 -1px; font-size: 13px; font-weight: 500; color: var(--muted); }
.hero__links { display: flex; flex-wrap: wrap; gap: 6px 32px; }
.hero__links a { text-decoration: none; font-size: 17px; font-weight: 600; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.hero__links a:hover { border-color: var(--ink); }
@keyframes fade { to { opacity: 1; } }


/* Pasek z logotypami: jasna listwa na całą szerokość, etykieta po lewej, logotypy w komórkach siatki przesuwają się w prawej części */
.reel { position: relative; z-index: 2; background: #FFFFFF; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reel__panel { position: relative; display: flex; align-items: stretch; height: clamp(96px, 8vw, 120px); }
.reel__label {
  flex: 0 0 auto; position: relative; z-index: 1; margin: 0; display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 0 clamp(24px, 3vw, 44px) 0 calc(max(0px, (100% - 1300px) / 2) + var(--gutter)); border-right: 1px solid var(--line); background: #FFFFFF;
}
.reel__label .kicker { margin: 0; color: var(--ink); }
.reel__count { font-size: 13px; color: var(--muted); white-space: nowrap; }
/* wygaszone krawędzie: logotypy wyłaniają się i znikają płynnie */
.reel__viewport { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.reel__track { display: flex; align-items: stretch; width: max-content; height: 100%; animation: marquee 76s linear infinite; }
.reel__logo { display: inline-flex; align-items: center; justify-content: center; min-width: clamp(170px, 15vw, 220px); padding: 0 clamp(24px, 2.6vw, 40px); border-right: 1px solid var(--line); }
/* logotypy firm w oryginalnych kolorach: tryb „multiply” chowa jasne tło plików na białej listwie */
.reel__track { mix-blend-mode: multiply; }
.reel__logo img { display: block; width: auto; max-width: none; }
@media (max-width: 700px) {
  .reel__panel { flex-direction: column; height: auto; }
  .reel__label { flex-direction: row; align-items: center; justify-content: space-between; padding: 14px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .reel__viewport { height: 84px; }
  .reel__logo { min-width: 150px; }
}
.reel__logo--imset img { height: clamp(40px, 3.6vw, 52px); }  /* plik ma margines wokół znaku */
.reel__logo--tamago img { height: clamp(18px, 1.6vw, 24px); }
.reel__logo--vivefit img { height: clamp(24px, 2.2vw, 32px); }
.reel__logo--chtc img { height: clamp(36px, 3.2vw, 46px); }  /* dwujęzyczny napis w dwóch blokach – wyższy */
.reel__logo--mycentre img { height: clamp(22px, 2vw, 30px); }
.reel__logo--magnaro img { height: clamp(50px, 4.6vw, 62px); }  /* odrysowane wektorowo w dużej rozdzielczości – oryginał miał tylko 200 × 200 px */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }


/* ---------- Sekcje ---------- */
.section { padding: clamp(56px, 7vw, 100px) 0 0; }
.head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px 64px; align-items: end; margin-bottom: clamp(28px, 3.5vw, 44px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.h2 { font-size: clamp(32px, min(6.1vw, 8.8vh), 96px); line-height: 0.98; font-weight: 800; letter-spacing: -0.035em; word-spacing: 0.1em; }
.service__name, .case__title, .job__title, .step__name, .about__bio, .stat__num { word-spacing: 0.1em; } /* Plus Jakarta Sans ma wąskie spacje */
.h2 em { font-style: normal; color: var(--accent); }
.head p { max-width: 460px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }

/* ---------- Cele ---------- */
.jobs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.job {
  position: relative; min-height: 240px; padding: 30px; text-align: left; cursor: pointer; font: inherit;
  background: transparent; color: var(--ink); border: 0; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px; overflow: hidden;
  transition: color .35s var(--ease);
}
.job::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .45s var(--ease); z-index: 0; }
.job > * { position: relative; z-index: 1; }
.job__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.job__title { font-size: clamp(22px, 2vw, 28px); font-weight: 700; line-height: 1.12; letter-spacing: -0.03em; }
.job__arrow { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; transition: background .35s, border-color .35s, transform .35s var(--ease); }
.job__arrow svg { width: 18px; height: 18px; }
.job__desc { font-size: 15px; line-height: 1.55; color: var(--muted); transition: color .35s; }
.job:hover .job__arrow { transform: rotate(45deg); }
.job.is-selected { color: #FFFFFF; }
.job.is-selected::before { transform: translateY(0); }
.job.is-selected .job__desc { color: #BDBDBD; }
.job.is-selected .job__arrow { background: var(--accent-btn); border-color: var(--accent-btn); color: #FFFFFF; transform: rotate(45deg); }

/* ---------- Usługi (lista wierszy) ---------- */
.services { border-top: 1px solid var(--line-2); }
.service {
  display: grid; grid-template-columns: 80px minmax(0, 1.2fr) minmax(0, 1fr); gap: 12px 32px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line-2); transition: opacity .35s, padding .35s var(--ease);
}
.service__num { font-size: 14px; font-weight: 700; color: var(--muted); }
.service__name { font-size: clamp(22px, 2.4vw, 34px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.05; }
.service__desc { font-size: 16px; line-height: 1.55; color: var(--muted); }
.service.is-hit .service__num { color: var(--accent); }
.service.is-dim { opacity: 0.3; }
@media (max-width: 760px) {
  .service { grid-template-columns: 48px minmax(0, 1fr); }
  .service__desc { grid-column: 2 / 3; }
}

/* ---------- Projekty ---------- */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: clamp(28px, 4vw, 56px) 28px; }
.case { display: flex; flex-direction: column; gap: 20px; transition: opacity .35s; }
.case__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--dark); }
.case__media--1 { background: radial-gradient(120% 120% at 85% 0%, #2B3D74 0%, #0E1428 50%, #07080D 100%); }
.case__media--2 { background: radial-gradient(120% 120% at 15% 0%, #5A2A12 0%, #1B0E08 55%, #080605 100%); }
.case__media--3 { background: radial-gradient(120% 120% at 70% 100%, #233F37 0%, #0D1714 55%, #060807 100%); }
.case__media--4 { background: radial-gradient(120% 120% at 30% 100%, #3A2B5C 0%, #120E1E 55%, #07060B 100%); }
.case__screen {
  position: absolute; left: 12%; right: 12%; bottom: 0; top: 18%; background: #F4F4F4; border-radius: 10px 10px 0 0;
  padding: 14px; display: flex; flex-direction: column; gap: 10px; transform: translateY(8%); transition: transform .6s var(--ease);
  box-shadow: 0 -20px 60px -20px rgba(0,0,0,.6);
}
.case:hover .case__screen { transform: translateY(2%); }
.case__screen .bar { display: flex; justify-content: space-between; align-items: center; }
.case__screen .bar i { width: 26%; height: 8px; border-radius: 4px; background: #1A1A1A; }
.case__screen .bar b { width: 14%; height: 14px; border-radius: 999px; background: var(--accent); }
.case__screen .big { height: 24%; width: 70%; border-radius: 6px; background: #1A1A1A; }
.case__screen .row { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.case__screen .row i { border-radius: 6px; background: #DDDDDD; }
.case__screen--phone { left: 36%; right: 36%; top: 12%; border-radius: 22px 22px 0 0; }
.case__screen--phone .row { grid-template-columns: 1fr; }
.case__match { display: none; position: absolute; left: 18px; top: 18px; z-index: 2; padding: 7px 14px; border-radius: 999px; background: var(--accent-btn); color: #FFFFFF; font-size: 13px; font-weight: 700; }
.case__num { position: absolute; right: 18px; top: 16px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7); }
.case__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.case__kind { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; display: block; }
.case__title { font-size: clamp(24px, 2.4vw, 34px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.case__rows { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.case__row { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.case__label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.case__text { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.case__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; }
.tag--dashed { border-style: dashed; color: var(--muted); }
.case.is-hit .case__match { display: inline-block; }
.case.is-dim { opacity: 0.35; }
.center { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 520px) { .case__row { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Baner (czarny pas) ---------- */
.dark { background: var(--dark); color: #FFFFFF; }
.banner { margin-top: clamp(88px, 11vw, 160px); padding: clamp(80px, 10vw, 140px) 0; position: relative; overflow: hidden; }
.banner .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 32px 64px; align-items: end; }
.banner .h2 { color: #FFFFFF; }
.banner p { max-width: 480px; font-size: 18px; line-height: 1.6; color: #BDBDBD; margin-bottom: 26px; }
.banner__line { position: absolute; left: -10%; right: -10%; top: 50%; height: 1px; background: rgba(255,255,255,0.12); transform: rotate(-8deg); }

/* ---------- Proces ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.step { padding: 20px 24px 0 0; display: flex; flex-direction: column; gap: 8px; position: relative; }
.step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.step__num { font-size: clamp(40px, 3.8vw, 56px); font-weight: 800; letter-spacing: -0.06em; line-height: 0.9; color: var(--ink); }
.step__name { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.step__desc { font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 240px; }

/* ---------- O mnie ---------- */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px 72px; align-items: start; }
.about__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(1) contrast(1.05); transform: scale(1.06); transition: transform 1.2s var(--ease); }
.about__photo.is-in img { transform: scale(1); }
.about__text { display: flex; flex-direction: column; gap: 32px; }
.about__bio { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.4; font-weight: 600; letter-spacing: -0.03em; }
.about__bio .dim { color: #8A8A8A; font-weight: 500; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.stat { padding: 20px 16px 0 0; display: flex; flex-direction: column; gap: 6px; }
.stat__num { font-size: clamp(34px, 3.6vw, 52px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.stat__label { font-size: 13px; line-height: 1.4; color: var(--muted); }
.tools-block { display: flex; flex-direction: column; gap: 14px; }
.tools__label { margin: 0; font-size: 14px; font-weight: 500; color: var(--muted); }
.tools { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0; padding: 0; list-style: none; }
.tool { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.tool svg { width: auto; height: 20px; flex-shrink: 0; }
.quote { padding-top: 28px; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 14px; }
.quote blockquote { font-size: 20px; line-height: 1.5; font-weight: 500; letter-spacing: -0.02em; }
.quote figcaption { font-size: 13px; font-weight: 600; color: var(--muted); }

/* ---------- Kontakt ---------- */
.contact { padding: clamp(64px, 8vw, 112px) 0 clamp(56px, 6vw, 80px); }
.contact__title { font-size: clamp(34px, 5vw, 80px); line-height: 1; font-weight: 800; letter-spacing: -0.04em; word-spacing: 0.1em; max-width: 1200px; }
.contact__cta { margin-top: clamp(28px, 3vw, 44px); min-height: 60px; padding: 0 32px; font-size: 18px; }
.contact__bottom { margin-top: clamp(36px, 5vw, 64px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 48px; padding-top: 28px; border-top: 1px solid var(--line-2); }
.contact__bottom p { max-width: 460px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.contact__links { display: flex; flex-wrap: wrap; gap: 6px 32px; }
.contact__links a { text-decoration: none; font-size: 17px; font-weight: 600; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.contact__links a:hover { border-color: var(--ink); }

/* ---------- Stopka ---------- */
.footer { padding: 40px 0 120px; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; font-size: 14px; color: #A3A3A3; }
.footer strong { color: #FFFFFF; font-weight: 700; }
.footer .logo { color: #FFFFFF; }
.footer .logo__tag { color: var(--accent); }
.footer a { color: #A3A3A3; }

/* ---------- Pojawianie się przy przewijaniu ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition: none !important; }
  .reel__track { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (min-width: 900px) {
  .banner .wrap { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
}

/* ==========================================================
   Siatka projektowa w tle nagłówka (zamiast linii w kształcie X)
   ========================================================== */
.blueprint {
  --c: 80px;                          /* rozmiar modułu siatki */
  --ln: rgba(11, 11, 11, 0.16);       /* linie główne */
  --ln-fine: rgba(11, 11, 11, 0.055); /* drobna kratka */
  position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.55) 35%, #000 62%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.55) 35%, #000 62%);
}
@media (max-width: 760px) { .blueprint { --c: 56px; } }

/* drobna kratka (jak papier milimetrowy) */
.bp-fine {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--ln-fine) 1px, transparent 1px), linear-gradient(90deg, var(--ln-fine) 1px, transparent 1px);
  background-size: calc(var(--c) / 5) calc(var(--c) / 5);
  opacity: 0; animation: fade 1.2s var(--ease) .1s forwards;
}
/* siatka modułowa – odsłania się od lewej do prawej */
.bp-major {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--ln) 1px, transparent 1px), linear-gradient(90deg, var(--ln) 1px, transparent 1px);
  background-size: var(--c) var(--c);
  clip-path: inset(0 100% 0 0); animation: bp-reveal 1.8s var(--ease) .2s forwards;
}
@keyframes bp-reveal { to { clip-path: inset(0 0 0 0); } }



/* znaczniki „+” na przecięciach siatki */
.bp-plus { position: absolute; width: 13px; height: 13px; margin: -6px 0 0 -6px; opacity: 0; animation: fade .6s var(--ease) 1.4s forwards; }
.bp-plus::before, .bp-plus::after { content: ""; position: absolute; background: rgba(11,11,11,0.55); }
.bp-plus::before { left: 6px; top: 0; width: 1px; height: 13px; }
.bp-plus::after { left: 0; top: 6px; width: 13px; height: 1px; }
.bp-plus--1 { left: calc(var(--c) * 9);  top: calc(var(--c) * 3); }
.bp-plus--2 { left: calc(var(--c) * 12); top: calc(var(--c) * 2); }
.bp-plus--3 { left: calc(var(--c) * 15); top: calc(var(--c) * 6); }
.bp-plus--4 { left: calc(var(--c) * 17); top: calc(var(--c) * 3); }
.bp-plus--5 { left: calc(var(--c) * 11); top: calc(var(--c) * 10); }

/* linijki (jak w programie graficznym) przy górnej i lewej krawędzi */
.bp-ruler { position: absolute; opacity: 0; animation: fade .8s var(--ease) .6s forwards; }
.bp-ruler--x {
  left: 0; right: 0; top: 0; height: 14px; border-bottom: 1px solid var(--ln);
  background-image:
    repeating-linear-gradient(90deg, rgba(11,11,11,.45) 0 1px, transparent 1px var(--c)),
    repeating-linear-gradient(90deg, rgba(11,11,11,.22) 0 1px, transparent 1px calc(var(--c) / 5));
  background-size: 100% 14px, 100% 6px; background-position: 0 0, 0 100%; background-repeat: no-repeat;
}
.bp-ruler--y {
  left: 0; top: 0; bottom: 0; width: 14px; border-right: 1px solid var(--ln);
  background-image:
    repeating-linear-gradient(180deg, rgba(11,11,11,.45) 0 1px, transparent 1px var(--c)),
    repeating-linear-gradient(180deg, rgba(11,11,11,.22) 0 1px, transparent 1px calc(var(--c) / 5));
  background-size: 14px 100%, 6px 100%; background-position: 0 0, 100% 0; background-repeat: no-repeat;
}

@media (prefers-reduced-motion: reduce) {
  .bp-major { clip-path: none; }
  .bp-pin__move, .bp-pin__body, .bp-pin__pulse { animation: none !important; }
  .bp-fine, .bp-plus, .bp-ruler, .bp-pin { opacity: 1; }
}

/* ==========================================================
   Pinezka jak na mapie z podpisem
   ========================================================== */
.bp-pin {
  position: absolute; left: calc(var(--c) * 13); top: calc(var(--c) * 8); width: 0; height: 0;
  opacity: 0; animation: fade .4s var(--ease) 1.7s forwards;
}
/* przenosi pinezkę między przecięciami siatki */
.bp-pin__move { position: absolute; left: 0; top: 0; }
@keyframes pin-travel {
  0%, 30%   { transform: translate(0, 0); }
  36%, 63%  { transform: translate(calc(var(--c) * 2), calc(var(--c) * -1)); }
  69%, 94%  { transform: translate(calc(var(--c) * -1), calc(var(--c) * -1)); }
  100%      { transform: translate(0, 0); }
}
/* czubek pinezki stoi dokładnie w punkcie (0,0) */
.bp-pin__body { position: absolute; left: 0; top: 0; animation: pin-drop 1s var(--ease) 1.7s both; }
.bp-pin__icon { position: absolute; left: -22px; top: -60px; width: 44px; height: 60px; filter: drop-shadow(0 6px 8px rgba(0,0,0,.25)); }
.bp-pin__icon path { fill: var(--accent); }
.bp-pin__icon circle { fill: #FFFFFF; }
@keyframes pin-drop { from { transform: translateY(-16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
/* przy przenosinach pinezka unosi się i opada z odbiciem */
@keyframes pin-hop {
  0%, 29%, 37%, 62%, 70%, 93%, 100% { transform: translateY(0); }
  32%, 65%, 96% { transform: translateY(-34px); }
  35%, 68%, 99% { transform: translateY(4px); }
}
/* cień i rozchodzące się fale pod pinezką */
.bp-pin__shadow { position: absolute; left: -9px; top: -3px; width: 18px; height: 6px; border-radius: 50%; background: rgba(0,0,0,.22); filter: blur(1px); }
.bp-pin__pulse {
  position: absolute; left: -28px; top: -11px; width: 56px; height: 22px; border-radius: 50%;
  border: 1.5px solid var(--accent); opacity: 0; transform: scale(.3);
  animation: pin-pulse 2.4s ease-out 2.4s infinite;
}
.bp-pin__pulse--2 { animation-delay: 3.6s; }
@keyframes pin-pulse { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(2.4); } }
/* dymek z podpisem obok pinezki */
.bp-label {
  position: absolute; left: 30px; top: -78px; white-space: nowrap;
  padding: 9px 14px; border-radius: 8px; background: #FFFFFF; color: var(--ink);
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.35), 0 0 0 1px rgba(11,11,11,.08);
}
.bp-label::before { content: ""; position: absolute; left: -5px; top: 12px; width: 10px; height: 10px; background: #FFFFFF; transform: rotate(45deg); box-shadow: -1px 1px 0 rgba(11,11,11,.08); }

/* Mały awatar nad pinezką */
.bp-pin__avatar {
  position: absolute; left: -24px; top: -118px; width: 48px; height: 48px; max-width: none; border-radius: 50%;
  object-fit: cover; object-position: 50% 32%;
  border: 3px solid #FFFFFF; box-shadow: 0 0 0 2px var(--accent), 0 8px 18px -6px rgba(0,0,0,.35);
}
/* krótka kreska łącząca awatar z pinezką */
.bp-pin__body::before {
  content: ""; position: absolute; left: -1px; top: -68px; width: 2px; height: 8px; background: var(--accent);
}
/* przybliżony kadr twarzy w awatarze */
.bp-pin__avatar { overflow: hidden; display: block; }
.bp-pin__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 55% 45%; filter: none; }
/* awatar wyśrodkowany nad dymkiem z podpisem */
.bp-label .bp-pin__avatar { left: 50%; top: auto; bottom: calc(100% + 12px); margin-left: -24px; }
.bp-label .bp-pin__avatar::after { content: none; }
.bp-pin__body::before { content: none; }
.bp-label::after { content: ""; position: absolute; left: 50%; bottom: 100%; width: 2px; height: 12px; margin-left: -1px; background: var(--accent); }

/* zdjęcie w sekcji „O mnie” w kolorze */
.about__photo img { filter: none; }
/* awatar: zdjęcie z CV, w kolorze, głowa z ramionami na środku kółka */
.bp-pin__avatar { background: #CBCBCB; } /* kolor tła zdjęcia z CV, żeby oddalony kadr nie miał przerwy u góry */
.bp-pin__avatar img { inset: auto; width: 68px; height: auto; left: -10px; bottom: 0; object-fit: initial; filter: none; }
/* link z ikoną (LinkedIn) */
.link-icon { display: inline-flex; align-items: center; gap: 8px; }
.link-icon svg { flex-shrink: 0; color: #0A66C2; }
.link-icon--behance svg { color: #1769FF; }
.link-icon--whatsapp svg { color: #25D366; }

/* ==========================================================
   Mockupy moich projektów w nagłówku: kompozycja ekranów
   ułożonych płasko w rzucie izometrycznym (bez animacji)
   ========================================================== */
.mockups {
  position: absolute; z-index: 1; pointer-events: none; overflow: hidden;
  right: 0; bottom: 0; width: 50%; height: 100%;
}
.mk-stage {
  position: absolute; left: 81%; top: 46%; width: 1144px; height: 1692px; margin: -846px 0 0 -572px;
  transform: scale(var(--mk-scale, .58)) rotateX(48deg) rotateZ(-32deg);
  transform-style: preserve-3d;
}

/* ekran: górna część strony projektu, lekko zaokrąglone rogi */
.mk {
  position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h);
  background-color: #FFFFFF; background-repeat: no-repeat;
  background-size: 100% auto; background-position: 0 0; border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(20, 30, 60, .06);
}
/* telefon: ciemna ramka */
.mk--phone { border: 9px solid #111318; border-radius: 30px; background-origin: content-box; background-clip: content-box; }

/* warstwy: kolumny stoją na różnych wysokościach (schodkowo), karta i telefon unoszą się nad nimi (bez animacji) */
.mk-col { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateZ(var(--z, 0px)); }
.mk-col--1 { --z: 0px; }
.mk-col--2 { --z: 50px; }
.mk-col--3 { --z: 100px; }
.mk-col--card { --z: 170px; }
.mk-col--phone { --z: 240px; }
/* połysk na ekranach */
.mk::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 38%); }

/* pinezka z podpisem pod linkami LinkedIn i Behance */
.hero__pin { position: relative; flex-basis: 100%; height: 84px; } /* osobna linia pod linkami */
.hero__pin .bp-pin { left: 24px; top: calc(100% - 6px); }
/* przy linkach: awatar w dymku, obok tekstu (nie nad nim), żeby nie nachodził na przyciski */
.hero__pin .bp-label { display: flex; align-items: center; gap: 10px; top: -60px; padding: 6px 14px 6px 6px; border-radius: 999px; }
.hero__pin .bp-label::before { top: 50%; margin-top: -5px; }
.hero__pin .bp-label::after { content: none; }
.hero__pin .bp-label .bp-pin__avatar { position: relative; left: auto; bottom: auto; margin: 0; width: 34px; height: 34px; flex-shrink: 0; border-width: 2px; box-shadow: 0 0 0 1.5px var(--accent); }
.hero__pin .bp-pin__avatar img { width: 48px; left: -7px; }

.mk-stage { left: 90%; top: 50%; }   /* średnie ekrany: kompozycja przy prawej krawędzi, z dala od nagłówka */
@media (min-width: 1800px) { .mk-stage { left: 84%; } } /* szerokie ekrany: więcej miejsca obok nagłówka */
@media (max-width: 1700px) { .mk-stage { --mk-scale: .5; } }
@media (max-width: 1300px) { .mk-stage { --mk-scale: .43; } .mockups { width: 52%; } }

/* miękkie wygaszenie krawędzi zamiast ostrego przycięcia + delikatny cień ekranów */
.mockups {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%), linear-gradient(to top, transparent 0, #000 16%);
          mask-image: linear-gradient(to right, transparent 0, #000 22%), linear-gradient(to top, transparent 0, #000 16%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.mk { box-shadow: 0 0 0 1px rgba(20, 30, 60, .06), 0 30px 60px -20px rgba(20, 30, 60, .25); }
.mk--phone { box-shadow: 0 60px 90px -30px rgba(20, 30, 60, .45); }

/* węższy laptop: nagłówek jest szeroki, więc mockupy mniejsze, niżej i dalej w prawo – obok tekstu, nie pod nim */
@media (max-width: 1180px) {
  .mockups { width: 46%; height: 100%; }
  .mk-stage { --mk-scale: .36; left: 70%; top: 70%; }
}

/* telefon / tablet: osobny pas „podglądu projektów” pod tekstem, kompozycja wycentrowana */
@media (max-width: 900px) {
  .mockups { position: relative; order: 3; width: auto; height: clamp(240px, 62vw, 440px); margin: 8px 0 -40px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 70%, transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 70%, transparent 100%);
    -webkit-mask-composite: source-over; mask-composite: add; }
  .mk-stage { --mk-scale: .42; left: 50%; top: 52%; }
}
@media (max-width: 700px) { .mk-stage { --mk-scale: .34; } }
@media (max-width: 520px) { .mk-stage { --mk-scale: .27; } }

/* mniejsza pinezka przy linkach i wolniejsze, spokojniejsze fale */
.hero__pin .bp-pin__icon { left: -16px; top: -44px; width: 32px; height: 44px; }
.hero__pin .bp-pin__shadow { left: -7px; top: -2px; width: 14px; height: 5px; }
.hero__pin .bp-pin__pulse { left: -20px; top: -8px; width: 40px; height: 16px; animation-duration: 5.6s; }
.hero__pin .bp-pin__pulse--2 { animation-delay: 5.2s; }
.hero__pin .bp-label { left: 24px; top: -45px; } /* środek dymka na wysokości środka pinezki */
/* płynniejsze fale: łagodne pojawienie się i miękkie wygaszanie zamiast nagłego startu */
.hero__pin .bp-pin__pulse { animation-name: pin-pulse-soft; animation-timing-function: cubic-bezier(.33, .1, .35, 1); }
@keyframes pin-pulse-soft {
  0%   { opacity: 0;   transform: scale(.3); }
  18%  { opacity: .75; }
  100% { opacity: 0;   transform: scale(1.7); }
}

/* przyciski w hero zawsze nad linią zgięcia: nagłówek i odstępy skalują się też z wysokością okna */
.hero { padding-top: clamp(20px, 3.5vh, 56px); }
.hero h1 { font-size: clamp(36px, min(7.2vw, 10.4vh), 114px); }
.hero .wrap { gap: clamp(20px, 3.5vh, 56px); }
.hero__lead { gap: clamp(14px, 2.4vh, 22px); }
@media (max-width: 600px) {
  .hero { padding-top: 16px; }
  .hero__lead p { font-size: 16px; line-height: 1.5; }
  .hero__actions .btn { padding-top: 13px; padding-bottom: 13px; }
}
/* telefon: logo i „Kontakt” w jednym rzędzie, linki pod nimi – niższy pasek, więcej miejsca na hero */
@media (max-width: 600px) {
  .site-header { padding: 12px 0; }
  .site-header .wrap { gap: 4px 16px; justify-content: space-between; }
  .site-header .btn { order: 2; }
  .nav { order: 3; flex-basis: 100%; justify-content: space-between; gap: 0 12px; margin: 0; font-size: 15px; }
  .nav a { padding: 6px 0; }
}
/* kontakt: krótki tekst pod tytułem, przed przyciskiem; linki zostają w dolnym pasku po prawej */
.contact__lead { max-width: 560px; margin-top: clamp(18px, 2vw, 28px); font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.contact__bottom { justify-content: flex-end; }

/* formularz kontaktowy */
.cform { max-width: 760px; margin-top: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .cform__row { grid-template-columns: 1fr; } }
.cform__field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.cform__field em { font-style: normal; font-weight: 500; color: var(--muted); }
.cform input[type="text"], .cform input[type="email"], .cform input[type="tel"], .cform textarea {
  width: 100%; box-sizing: border-box; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 0;
  background: #FFFFFF; color: var(--ink); font: 500 16px/1.5 var(--font); transition: border-color .2s, box-shadow .2s;
}
.cform textarea { resize: vertical; min-height: 130px; }
.cform input::placeholder, .cform textarea::placeholder { color: #9A9A9A; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(242, 84, 27, .25); }
.cform__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.cform__consent input { width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--accent); }
.cform__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cform__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.cform__actions .contact__cta { margin-top: 4px; border: 0; cursor: pointer; font-family: var(--font); }
.cform__status { margin: 0; font-size: 15px; font-weight: 600; }
.cform__status.is-ok { color: #1E7A3C; }
.cform__status.is-err { color: #B3261E; }
/* kontakt: tekst po lewej, formularz po prawej (na telefonie jedno pod drugim) */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 620px); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.contact__intro { position: static; } /* sekcja kontaktu nieruchoma, bez sticky */
/* węższe ekrany: jedna kolumna, bez przyklejania tekstu (inaczej nachodzi na formularz przy przewijaniu) */
@media (max-width: 1180px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .contact__intro { position: static; }
}
.cform, .cform__topics, .cform__row, .cform__field { min-width: 0; }
.cform { max-width: none; margin-top: 0; gap: 14px; }
.cform__row { gap: 14px; }
.cform input[type="text"], .cform input[type="email"], .cform input[type="tel"], .cform textarea { padding: 12px 14px; font-size: 15px; }
.cform textarea { min-height: 110px; }
.contact__title { font-size: clamp(32px, min(6.1vw, 8.8vh), 96px); line-height: 0.98; letter-spacing: -0.035em; } /* ten sam rozmiar co nagłówki sekcji (Headline 2) */

/* karta projektu ze zdjęciem zamiast szkicu ekranu */
.case__media--photo { background: #EDEAF5; }
.case__media--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.case:hover .case__media--photo img { transform: scale(1.03); }
.case__media--photo .case__num { color: rgba(11,11,11,.55); }
.case__text strong { font-weight: 700; color: var(--ink); }
.case__link { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line-2); }
.case__link:hover { border-color: var(--ink); }
.case__media--navy { background: #0D1235; }
.case__media--navy img { object-position: center top; }
.case__media--navy .case__num { color: rgba(11,11,11,.55); }
/* karta projektu: delikatna ramka, u góry małe kolorowe logo klienta i numer */
.case { padding: clamp(22px, 2.6vw, 36px); border: 1px solid var(--line); background: rgba(255, 255, 255, .45); transition: opacity .35s, border-color .35s; }
.case.is-hit { border-color: var(--accent); }
.cases { column-gap: clamp(20px, 3vw, 40px); }
.case__top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; min-height: 40px; }
.case__logo { width: auto; height: 30px; max-width: 60%; object-fit: contain; object-position: left center; }
.case__logo--imset { height: 40px; } /* plik ma duży pusty margines wokół znaku */
.case__logo--chtc { height: 44px; }   /* dwujęzyczny napis w dwóch blokach – wyższy */
.case__logo--ecol { height: 36px; }
.case__top .case__match { position: static; padding: 5px 12px; font-size: 12px; }
.case__top .case__num { position: static; margin-left: auto; color: var(--muted); }
/* karty projektów w stylu UI: białe tło, proste rogi; przy najechaniu rusza się tylko strzałka */
.case {
  position: relative; overflow: hidden; gap: 22px;
  background: #FFFFFF; border: 1px solid rgba(11, 11, 11, .08); border-radius: 0;
  box-shadow: 0 1px 2px rgba(11, 11, 11, .04);
  transition: opacity .9s var(--ease), transform .9s var(--ease), border-color .35s; /* jak .reveal – wjazd przy przewijaniu */
}
.case::before { /* cienki akcent u góry karty pasującej do wybranego celu */
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.case.is-hit::before { transform: scaleX(1); }
.case.is-hit { border-color: rgba(242, 84, 27, .45); }
/* numer jako zwykły tekst, bez tła – nie wygląda jak przycisk */
.case__top { padding-bottom: 20px; border-bottom: 1px solid rgba(11, 11, 11, .07); }
/* pole logo: każde ma ten sam rozmiar, logo wpasowane i wyrównane do lewej, bez tła i ramki */
.case__top .case__logo { box-sizing: border-box; width: 176px; max-width: 100%; height: 60px; padding: 12px 0; object-fit: contain; object-position: left center; }
.case__top .case__logo--imset { padding: 6px 0; margin-left: -12px; }  /* plik ma duży pusty margines wokół znaku – wyrównanie do lewej krawędzi tekstu */
.case__top .case__logo--chtc { padding: 10px 0; }  /* szeroki, dwujęzyczny – mniej marginesu, żeby napis był czytelny */
.case__top .case__logo--ecol { padding: 5px 0; }   /* owal wokół napisu zabiera wysokość */
.case__top .case__num { padding: 0; border-radius: 0; background: none; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--muted); font-variant-numeric: tabular-nums; }
/* wiersze Problem / Co zrobiłam / Efekt: lżejsze linie, wyróżniony efekt */
.case__rows { border-top: 0; }
.case__row { border-bottom-color: rgba(11, 11, 11, .07); }
.case__row:last-child { margin-top: 6px; padding: 14px 16px; border: 0; border-radius: 0; background: rgba(242, 84, 27, .06); }
.case__row:last-child .case__label { color: var(--accent-btn); }
/* zakres prac: zwykły tekst rozdzielony kropkami, żeby nie wyglądał jak przyciski */
.case__tags { gap: 4px 0; }
.case .tag { padding: 0; border: 0; border-radius: 0; background: none; font-size: 13px; font-weight: 600; color: var(--muted); }
.case .tag:not(:last-child)::after { content: "·"; margin: 0 10px; color: rgba(11, 11, 11, .4); }
/* link jako przycisk ze strzałką w kółku */
.case__link { margin-top: auto; gap: 12px; padding: 0; border-bottom: 0; }
.case__link svg { box-sizing: content-box; padding: 9px; border-radius: 999px; background: var(--ink); color: #FFFFFF; transition: transform .35s var(--ease), background .35s; }
.case:hover .case__link svg { transform: translateX(4px); background: var(--accent-btn); }
@media (prefers-reduced-motion: reduce) { .case__link svg, .case:hover .case__link svg { transition: none; } }
.about { grid-template-columns: 320px minmax(0, 1fr); } .about__photo { max-width: 320px; } @media (max-width: 800px) { .about { grid-template-columns: 1fr; } .about__photo { max-width: 320px; } } /* mniejsze zdjęcie w „O mnie” */

/* ==========================================================
   Hero – nowocześniejszy układ tekstu pod nagłówkiem
   ========================================================== */
.hero__lead { max-width: 560px; }
/* wprowadzenie: pierwsze zdanie mocniej, drugie spokojniej, z akcentem z lewej */
.hero__lead .hero__intro { position: relative; margin: 0; padding-left: 20px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; }
.hero__intro::before { content: ""; position: absolute; left: 0; top: .35em; bottom: .35em; width: 3px; border-radius: 3px; background: var(--accent); }
.hero__intro strong { display: block; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.hero__intro span { display: block; margin-top: 6px; font-size: .9em; color: var(--muted); }
/* przyciski tej samej wysokości, druga strzałka w dół (przewija do projektów) */
.hero__actions { gap: 12px; }
.hero__actions .btn { min-height: 54px; }
.hero__actions .btn--outline { background: rgba(255,255,255,.6); backdrop-filter: blur(4px); }
.hero__actions .btn--outline svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.hero__actions .btn--outline:hover svg { transform: translateX(3px); }
/* doświadczenie: cienka linia, mała etykieta i linki jako pigułki */
.hero__social { margin-top: clamp(20px, 3.5vh, 40px); padding-top: clamp(16px, 2.4vh, 24px); border-top: 1px solid var(--line); }
.hero__lead .hero__social-title { margin: 0 0 12px; font-size: 11px; line-height: 1.4; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero__links { gap: 10px; }
.hero__links a.link-icon { padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.7); font-size: 15px; transition: border-color .25s, transform .25s var(--ease); }
.hero__links a.link-icon:hover { border-color: var(--ink); transform: translateY(-2px); }
.hero__pin { height: 72px; }
@media (max-width: 600px) { .hero__intro { padding-left: 16px; } .hero__actions .btn { min-height: 50px; } }
/* wąskie telefony (do 400 px): przyciski w jednej linii, linki menu w jednym rzędzie – przyciski hero nad linią zgięcia */
@media (max-width: 400px) {
  .site-header .wrap { column-gap: 8px; }
  .site-header .btn { min-height: 38px; padding: 0 16px; font-size: 15px; }
  .nav { font-size: 14px; gap: 0 8px; }
  .hero__lead .hero__intro { font-size: 15.5px; line-height: 1.5; }
  .hero__actions { gap: 8px; }
  .hero__actions .btn { min-height: 46px; padding: 0 18px; font-size: 15px; white-space: nowrap; }
}

/* ==========================================================
   Hero w stylu płótna programu do projektowania (UI design):
   kropkowana siatka, miękka poświata
   ========================================================== */
.hero {
  background:
    radial-gradient(42% 60% at 82% 42%, rgba(242, 84, 27, .05), transparent 70%),
    radial-gradient(38% 50% at 62% 88%, rgba(84, 112, 255, .04), transparent 70%),
    #F3F3F4;
}
/* siatka: kropki zamiast kratki, linie modułowe ledwo widoczne */
/* tło prawie jednolite: bez linii siatki, linijek i znaczników „+”, zostaje tylko ledwo widoczna kropka */
.bp-major, .bp-plus, .bp-ruler { display: none; }
.bp-fine {
  background-image: radial-gradient(rgba(11, 11, 11, .06) 1px, transparent 1.5px);
  background-size: calc(var(--c) / 4) calc(var(--c) / 4); background-position: -1px -1px;
}

/* ==========================================================
   Hover na każdym przycisku i klikalnym elemencie
   ========================================================== */
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--outline { transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s; }
.btn--outline:hover, .hero__actions .btn--outline:hover { background: #E2E2E2; border-color: #E2E2E2; color: var(--ink); }
/* karty „Z czym przychodzisz?”: delikatne tło i obwódka strzałki */
.job { transition: color .35s var(--ease), background .35s; }
.job:not(.is-selected):hover { background: rgba(255, 255, 255, .6); }
.job:not(.is-selected):hover .job__arrow { border-color: var(--ink); background: var(--ink); color: #FFFFFF; }
/* „Zobacz case study”: napis w kolorze akcentu */
.case__link { transition: color .3s; }
.case__link:hover { color: var(--accent-btn); }
/* logo i link w stopce */
.logo { transition: opacity .3s; }
a.logo:hover { opacity: .7; }
.footer a { transition: color .3s; }
.footer a:hover { color: #FFFFFF; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ==========================================================
   Karty projektów: podgląd projektu w kolorowym polu marki
   ========================================================== */
.case__top { padding-bottom: 0; border-bottom: 0; }
/* podgląd: na szarym tle jedno okno przeglądarki z pierwszym ekranem projektu, wysuwające się od dołu – w każdej karcie identyczne */
.case__thumb { position: relative; aspect-ratio: 16 / 8.5; overflow: hidden; border-radius: 0; background: #ECECEF; }
.case__win {
  position: absolute; left: 8%; top: 9%; width: 84%; bottom: 0;   /* okno dochodzi do dolnej krawędzi pola */
  display: flex; flex-direction: column; overflow: hidden; border-radius: 0;
  background: #FFFFFF; box-shadow: 0 0 0 1px rgba(20, 30, 60, .08);
}
.case__win::before { /* pasek okna */
  content: ""; flex: 0 0 22px; border-bottom: 1px solid rgba(20, 30, 60, .07);
  background: #FAFAFA;
}
.case__view { position: relative; flex: 1; overflow: hidden; }
.case__view img { display: block; width: 100%; height: auto; }
/* grafiki z własnym paskiem przeglądarki: przycięcie paska i bocznych ramek (marginesy w % liczone od szerokości) */
.case__thumb--vivefit .case__view img { width: 101%; margin: -6% 0 0 -.4%; }
.case__thumb--chtc .case__view img { width: 101%; margin: -8.2% 0 0 -.4%; }
/* tytuł i opis: mocniejsza hierarchia */
.case__kind { margin-bottom: 10px; }
.case__title { font-size: clamp(26px, 2.6vw, 36px); }

/* ==========================================================
   Kontakt: wprowadzenie z krokami i formularz w białej karcie
   ========================================================== */
.contact__intro { display: flex; flex-direction: column; }
.contact__intro .kicker { margin-bottom: 18px; }
.contact__steps { margin: clamp(28px, 3vw, 40px) 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.contact__steps li { display: flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 600; color: var(--ink-2); }
.contact__steps li span { flex-shrink: 0; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #FFFFFF; border: 1px solid var(--line-2); font-size: 13px; font-weight: 800; color: var(--accent-btn); }
.contact__me { display: flex; align-items: center; gap: 14px; margin-top: clamp(32px, 3.5vw, 48px); padding-top: 24px; border-top: 1px solid var(--line-2); }
.contact__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center 20%; box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 3.5px var(--accent); }
.contact__me strong { display: block; font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.contact__me span { display: block; font-size: 14px; color: var(--muted); }
.contact__intro .contact__links { margin-top: 18px; gap: 6px 24px; }
.contact__intro .contact__links a { font-size: 15px; }

/* formularz jako karta */
.cform { padding: clamp(24px, 3vw, 40px); background: #FFFFFF; border: 1px solid rgba(11, 11, 11, .08); border-radius: 0; gap: 16px; }
.cform__title { margin: 0 0 4px; font-size: clamp(22px, 2vw, 26px); font-weight: 800; letter-spacing: -0.03em; }
.cform input[type="text"], .cform input[type="email"], .cform input[type="tel"], .cform textarea {
  background: #F5F5F6; border-color: transparent; border-radius: 0; transition: background .2s, border-color .2s, box-shadow .2s;
}
.cform input[type="text"]:hover, .cform input[type="email"]:hover, .cform input[type="tel"]:hover, .cform textarea:hover { border-color: var(--line-2); }
.cform input:focus, .cform textarea:focus { background: #FFFFFF; }
/* tematy: wybór jednego, wygląda jak przełączniki */
.cform__topics { margin: 0 0 4px; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cform__topics legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.topic { position: relative; cursor: pointer; }
.topic input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.topic span { display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 0; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: background .2s, border-color .2s, color .2s; }
.topic:hover span { border-color: var(--ink); }
.topic input:checked + span { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.topic input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.cform__actions .contact__cta { width: 100%; justify-content: center; }
.cform__note { margin: -4px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

/* ==========================================================
   Spójny system na stronie głównej:
   jedna „karta” (białe tło, delikatna obwódka, proste rogi),
   jedne linie podziału i jeden styl linków z ikoną
   ========================================================== */
:root {
  --card-bg: #FFFFFF;
  --card-border: rgba(11, 11, 11, .08);
  --divider: var(--line);
}
/* karty: cele, projekty, formularz */
.jobs { gap: 16px; border: 0; }
.job { background: var(--card-bg); border: 1px solid var(--card-border); }
.job:not(.is-selected):hover { background: #FAFAFA; }
.case, .cform { background: var(--card-bg); border-color: var(--card-border); }
.case.is-hit { border-color: rgba(242, 84, 27, .45); }
/* linie podziału w listach i kartach: wszędzie ten sam odcień */
.services { border-top-color: var(--divider); }
.service { border-bottom-color: var(--divider); }
.case .case__row { border-bottom-color: var(--divider); }
.contact__me, .hero__social { border-top-color: var(--divider); }
/* linki z ikoną w kontakcie: ten sam styl co LinkedIn i Behance w nagłówku */
.contact__intro .contact__links { gap: 10px; }
.contact__intro .contact__links a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .7); font-size: 15px; font-weight: 600; transition: border-color .25s, transform .25s var(--ease); }
.contact__intro .contact__links a:hover { border-color: var(--ink); transform: translateY(-2px); }
.contact__intro .contact__links a svg { flex-shrink: 0; }

/* ==========================================================
   Karty projektów: wersja zminimalizowana (mniej powietrza, mniejsze teksty)
   ========================================================== */
.cases { row-gap: 24px; column-gap: clamp(20px, 3vw, 40px); }
.case { padding: clamp(18px, 2vw, 26px); gap: 14px; }
.case__top { min-height: 0; }
.case__top .case__logo { height: 44px; padding-top: 9px; padding-bottom: 9px; width: 150px; }
.case__top .case__logo--imset { padding-top: 4px; padding-bottom: 4px; }
.case__top .case__logo--chtc { padding-top: 6px; padding-bottom: 6px; }
.case__top .case__logo--ecol { padding-top: 3px; padding-bottom: 3px; }
.case__thumb { aspect-ratio: 16 / 7.5; }
.case__kind { font-size: 11px; margin-bottom: 6px; }
.case__title { font-size: clamp(21px, 1.9vw, 26px); }
.case__row { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 10px 0; }
.case__label { font-size: 11px; }
.case__text { font-size: 14px; line-height: 1.5; }
.case__row:last-child { margin-top: 4px; padding: 10px 12px; }
.case .tag { font-size: 12px; }
.case .tag:not(:last-child)::after { margin: 0 8px; }
.case__link { font-size: 14px; }
.case__link svg { padding: 7px; }
@media (max-width: 520px) { .case__row { grid-template-columns: 1fr; gap: 2px; } }

/* karty projektów: podgląd od samej górnej krawędzi karty, bez białego pasa nad nim;
   numer i plakietka „Pasuje do Twojego celu” leżą na szarym polu podglądu */
.case { --case-pad: clamp(18px, 2vw, 26px); padding: var(--case-pad); }
.case__thumb { margin: calc(-1 * var(--case-pad)) calc(-1 * var(--case-pad)) 0; }
.case__top { position: absolute; top: 12px; left: 16px; right: 16px; z-index: 2; pointer-events: none; }
.case__win { top: 46px; }   /* miejsce nad oknem na numer i plakietkę */
.case__top { top: 14px; left: 18px; right: 18px; }
.case__thumb { background: #DCDCE1; }   /* ciemniejsze niż tło strony, żeby pole nie zlewało się z otoczeniem */

/* ==========================================================
   Karty projektów – dopracowanie UI, spójne z resztą strony:
   kropkowana siatka i poświata jak w nagłówku, kropka akcentu jak w etykietach sekcji,
   pionowa pomarańczowa kreska jak przy tekście w nagłówku, stopka karty z linią
   ========================================================== */
.case { gap: 0; }
/* podgląd: tło jak w nagłówku strony – kropki + miękka poświata */
.case__thumb {
  margin-bottom: clamp(20px, 2vw, 26px);
  background:
    radial-gradient(rgba(11, 11, 11, .16) 1px, transparent 1.5px) -1px -1px / 16px 16px,
    radial-gradient(60% 80% at 85% 0%, rgba(242, 84, 27, .14), transparent 70%),
    radial-gradient(50% 70% at 10% 100%, rgba(84, 112, 255, .10), transparent 70%),
    #E6E6EA;
}
.case__win { top: 12%; box-shadow: 0 0 0 1px rgba(20, 30, 60, .10); }
.case__top { top: 12px; }
/* typ projektu z kropką akcentu jak w etykietach sekcji */
.case__head { margin-bottom: 18px; }
.case__kind { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.case__kind::before { content: ""; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.case__title { font-size: clamp(22px, 2vw, 28px); line-height: 1.1; }
/* wiersze: lżejsze, z wyraźnym rytmem */
.case__rows { gap: 0; }
.case__row { padding: 12px 0; }
.case__row:first-child { border-top: 1px solid var(--divider); }
/* „Efekt”: pionowa kreska akcentu zamiast wypełnionego pola – jak przy tekście w nagłówku */
.case__row:last-child { margin-top: 0; padding: 14px 0 14px 16px; background: none; border-bottom: 0; position: relative; }
.case__row:last-child::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; background: var(--accent); }
.case__row:last-child .case__text { color: var(--ink); }
/* zakres prac */
.case__tags { margin-top: 14px; }
/* stopka karty: linia i link na całą szerokość, strzałka po prawej */
.case__link { width: 100%; justify-content: space-between; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--divider); }
.case__tags { margin-bottom: 22px; }   /* link „Zobacz case study” przypięty do dołu karty (margin-top: auto) */

/* tematy w formularzu = tytuły kart „Z czym przychodzisz?”: równa siatka dwóch kolumn */
.cform__topics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.topic span { width: 100%; height: 100%; padding: 10px 14px; line-height: 1.35; }
@media (max-width: 520px) { .cform__topics { grid-template-columns: 1fr; } }

/* formularz w wersji kompaktowej: mniejsze odstępy, niższe pola i tematy */
.cform { padding: clamp(20px, 2.4vw, 32px); gap: 12px; }
.cform__title { margin: 0; font-size: clamp(20px, 1.8vw, 24px); }
.cform__row { gap: 12px; }
.cform__field { gap: 6px; font-size: 13px; }
.cform input[type="text"], .cform input[type="email"], .cform input[type="tel"], .cform textarea { padding: 9px 12px; font-size: 15px; }
.cform textarea { min-height: 80px; }
/* tematy jako zawijające się „pigułki” zamiast siatki dwóch kolumn – zajmują mniej wierszy */
.cform__topics { margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 6px; }
.cform__topics legend { margin-bottom: 10px; font-size: 13px; }
.topic span { width: auto; height: auto; padding: 6px 12px; border-radius: 999px; font-size: 13px; line-height: 1.3; background: #FFFFFF; }
.topic input:checked + span { background: var(--accent-btn); border-color: var(--accent-btn); }
/* pola opcjonalne rozwijane linkiem */
.cform__more summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.cform__more summary::-webkit-details-marker { display: none; }
.cform__more summary::before { content: "+"; display: grid; place-items: center; width: 18px; height: 18px; border: 1px solid var(--line-2); border-radius: 50%; font-size: 13px; line-height: 1; transition: transform .2s; }
.cform__more[open] summary::before { transform: rotate(45deg); }
.cform__more summary:hover { color: var(--ink); }
.cform__more summary em { font-style: normal; font-weight: 500; color: var(--muted); }
.cform__more .cform__row { margin-top: 12px; }
.cform__consent { font-size: 12px; line-height: 1.45; }
.cform__consent input { width: 16px; height: 16px; }
.cform__actions .contact__cta { margin-top: 2px; min-height: 52px; font-size: 17px; }

/* ==========================================================
   Przejrzystość: przyklejone menu, sekcje na przemian
   na szarym i białym tle, usługi i kroki jako karty
   ========================================================== */
/* menu przyklejone u góry (na telefonie nie – zabierałoby za dużo miejsca) */
@media (min-width: 601px) {
  .site-header { position: sticky; top: 0; z-index: 50; padding: 14px 0; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
  main section[id] { scroll-margin-top: 72px; }
}
.nav a.is-active { font-weight: 600; }
.nav a.is-active::after { transform: scaleX(1); height: 2px; background: var(--accent); }

/* nagłówek: spokojniejsze menu (szare linki, czarne po najechaniu), akcent pod linkiem jak w aktywnej pozycji */
.nav { gap: 4px 36px; font-size: 15px; }
.nav a { color: var(--ink-2); transition: color .25s; }
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a::after { height: 2px; background: var(--accent); }
.site-header .btn svg { width: 14px; height: 14px; }

/* hero: etykieta jak w pozostałych sekcjach, wyraźniejszy rytm i linki w jednym rzędzie */
.hero .wrap { gap: 0; }
.hero__kicker { margin: 0; color: var(--ink); } /* etykieta w bloku „Zobacz moje doświadczenie”, nad linkami */
.hero h1 { margin-bottom: clamp(24px, 4vh, 48px); }
.hero__lead { max-width: 580px; }
.hero__lead .hero__intro { padding-left: 0; }
.hero__intro::before { content: none; }
.hero__intro strong { font-weight: 700; }
.hero__social { flex-direction: column; align-items: flex-start; gap: 14px; }
.hero__social-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.hero__lead .hero__social-title { margin: 0; }
.hero__links a.link-icon { background: #FFFFFF; }

/* sekcje: równe odstępy u góry i u dołu, co druga na białym tle */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--alt { background: #FFFFFF; }
.reel + .section { padding-top: clamp(72px, 9vw, 120px); }
.head { margin-bottom: clamp(32px, 4vw, 52px); }

/* cele: niższe karty */
.job { min-height: 200px; padding: 26px; }

/* usługi: siatka kart zamiast długiej listy */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; border-top: 0; }
.service {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 24px 26px;
  background: var(--bg); border: 1px solid var(--card-border);
  transition: opacity .35s, background .35s, border-color .35s, box-shadow .35s;
}
.service__num { font-size: 12px; letter-spacing: .08em; }
.service__name { font-size: clamp(20px, 1.6vw, 23px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.service__desc { font-size: 15px; }
.service.is-hit { background: #FFFFFF; border-color: rgba(242, 84, 27, .45); box-shadow: 0 12px 30px -18px rgba(242, 84, 27, .45); }

/* proces: kroki jako karty z dużym numerem */
.steps { gap: 16px; border-top: 0; }
.step { padding: 24px; gap: 10px; background: var(--bg); border: 1px solid var(--card-border); }
.step::before { content: none; }
.step__num { font-size: clamp(34px, 3vw, 44px); }
.step__desc { max-width: none; }

/* kontakt na białym tle: formularz odcięty cieniem */
.contact { padding: clamp(64px, 8vw, 112px) 0; }
.cform { box-shadow: 0 24px 60px -30px rgba(11, 11, 11, .22); }

/* stopka bez pustego miejsca pod spodem */
.footer { padding: 36px 0; }

/* kontakt: lżejszy, mniej zatłoczony układ – więcej oddechu, mniej ramek */
.contact__lead { max-width: 480px; font-size: 17px; }
.contact__steps { margin-top: clamp(32px, 3.5vw, 44px); gap: 16px; }
.contact__steps li { gap: 14px; font-size: 15px; font-weight: 500; }
.contact__steps li span { width: auto; height: auto; background: none; border: 0; border-radius: 0; font-size: 13px; font-variant-numeric: tabular-nums; }
.contact__steps li span::after { content: "."; }
.contact__me { margin-top: clamp(36px, 4vw, 52px); padding-top: 0; border-top: 0; gap: 12px; }
.contact__avatar { width: 44px; height: 44px; }
.contact__me strong { font-size: 15px; }
.contact__me span { font-size: 13px; }
.contact__intro .contact__links { margin-top: 16px; gap: 6px 22px; }
.contact__intro .contact__links a { padding: 4px 0; border: 0; border-radius: 0; background: none; font-size: 14px; color: var(--ink-2); }
.contact__intro .contact__links a:hover { color: var(--ink); transform: none; }
.contact__break { flex-basis: 100%; height: 0; } /* telefon i mail w pierwszej linii, LinkedIn i Behance w drugiej */

.cform { padding: clamp(24px, 3vw, 44px); gap: 18px; box-shadow: 0 20px 50px -34px rgba(11, 11, 11, .2); }
.cform__title { margin-bottom: 2px; }
.cform__topics { margin-bottom: 6px; gap: 8px; }
.cform__topics legend { margin-bottom: 12px; }
.topic span { border-color: var(--line); color: var(--ink-2); font-weight: 500; }
.cform__row { gap: 16px; }
.cform input[type="text"], .cform input[type="email"], .cform input[type="tel"], .cform textarea { padding: 11px 14px; }
.cform textarea { min-height: 96px; }
.cform__consent { margin-top: 2px; }

/* kontakt – wersja minimalna: mniej elementów, wyraźna hierarchia */
.contact__grid { gap: 48px clamp(48px, 7vw, 120px); }
.contact__lead { margin-top: 20px; font-size: 16px; color: var(--muted); }
.contact__steps { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); gap: 12px; }
.contact__steps li { font-size: 15px; color: var(--ink-2); }
.contact__intro .contact__links { margin-top: 36px; }

.cform { padding: clamp(28px, 3.2vw, 48px); gap: 20px; border-color: var(--line); box-shadow: none; }
.cform__topics { margin-bottom: 8px; gap: 8px; }
.cform__topics legend, .cform__field { font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.topic span { padding: 7px 14px; font-size: 13px; }
.cform input[type="text"], .cform input[type="email"], .cform input[type="tel"], .cform textarea { padding: 12px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); }
.cform input[type="text"]:hover, .cform input[type="email"]:hover, .cform input[type="tel"]:hover, .cform textarea:hover { border-bottom-color: var(--ink); }
.cform input:focus, .cform textarea:focus { background: transparent; border-bottom-color: var(--accent); box-shadow: 0 1px 0 0 var(--accent); }
.cform textarea { min-height: 72px; }
.cform__row { gap: 24px; }
.cform__field { gap: 2px; }

/* ===== szlif całej strony: spójne zaokrąglenia, delikatne linie i cienie, łagodne interakcje ===== */
:root {
  --radius: 14px;      /* karty, formularz, zdjęcia */
  --radius-sm: 8px;    /* elementy wewnątrz kart */
  --soft-border: rgba(11, 11, 11, .07);
  --soft-shadow: 0 1px 2px rgba(11, 11, 11, .04), 0 12px 32px -20px rgba(11, 11, 11, .14);
  --lift-shadow: 0 2px 4px rgba(11, 11, 11, .04), 0 22px 44px -24px rgba(11, 11, 11, .22);
}
::selection { background: rgba(242, 84, 27, .18); color: var(--ink); }

/* typografia: równiejsze łamanie nagłówków i akapitów */
.h2, .contact__title, .case__title, .service__title { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* karty w jednym stylu */
.job, .service, .case, .step, .cform {
  border-radius: var(--radius);
  border-color: var(--soft-border);
  box-shadow: var(--soft-shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s, background .35s, color .35s, opacity .35s;
}
.job, .case { overflow: hidden; }
.job:hover, .service:hover, .case:hover, .step:hover { transform: translateY(-3px); box-shadow: var(--lift-shadow); }
.case__media { border-radius: var(--radius-sm); }
.about__photo { border-radius: var(--radius); }
.about__photo img { border-radius: inherit; }

/* pasek logotypów: lżejsze linie */
.reel { border-color: var(--soft-border); }

/* tematy w formularzu i przyciski: ten sam miękki ruch */
.topic span { transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease); }
.topic:hover span { transform: translateY(-1px); }

/* kontakt: numer kroku i kropka w jednej linii */
.contact__steps li span { display: inline; min-width: 1.2em; }

/* stopka: mniej ciężka */
.footer { border-top: 1px solid rgba(255, 255, 255, .06); }
.footer a { text-underline-offset: 4px; text-decoration-thickness: 1px; }

@media (prefers-reduced-motion: reduce) {
  .job:hover, .service:hover, .case:hover, .step:hover, .topic:hover span { transform: none; }
}
/* szare karty na białych sekcjach: bez cienia, kroki procesu bez efektu najechania (nie są klikalne) */
.service, .step { box-shadow: none; }
.service:hover { box-shadow: var(--soft-shadow); }
.step:hover { transform: none; box-shadow: none; }

/* cele: 5 kart tej samej wielkości – 2+2+1 lub 3+2, wyrównane do lewej */
.jobs { grid-auto-rows: 1fr; } /* wszystkie rzędy tak wysokie jak najwyższa karta */
@media (min-width: 720px) {
  .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .jobs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* kontakt: lewa kolumna ciaśniej, żeby była mniej więcej tak wysoka jak formularz */
.contact__steps { margin-top: 32px; padding-top: 20px; gap: 8px; }
.contact__me { margin-top: 32px; }
.contact__intro .contact__links { margin-top: 14px; }
.contact__grid { column-gap: clamp(40px, 4.5vw, 64px); } /* trochę szersza lewa kolumna, mniej łamania tytułu */
.contact__title { font-size: clamp(32px, 4.4vw, 66px); } /* tytuł kontaktu mniejszy niż H2 sekcji – węższa kolumna obok formularza */
/* avatar w kontakcie: przybliżony kadr twarzy ze zdjęcia z sekcji „O mnie” */
.contact__avatar { position: relative; display: block; flex-shrink: 0; overflow: hidden; }
.contact__avatar img { position: absolute; width: 125%; max-width: none; height: auto; left: -8%; top: -26%; }
