/* GadziuNet – strona publiczna. Kolory i typografia z projektu „GadziuNet – nowa strona”. */
:root {
  --ink: #0E1B1E;
  --ground: #F5F6F3;
  --accent: #0F7B5A;
  --accent-dark: #0B6649;
  --mint: #7FE0B6;
  --text-2: #2E3D41;
  --muted: #4A5A5E;
  --muted-2: #5C6B6E;
  --line: #DCE1DE;
  --line-2: #E6EAE7;
  --soft: #E9EDEA;
  --input: #B9C3BF;
  --dark-2: #142428;
  --dark-line: #263A3E;
  --dark-line-2: #3A4B4F;
  --on-dark: #C9D3D0;
  --on-dark-2: #8FA19D;
  --on-accent: #E6F5EE;
  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ground);
  line-height: 1.55;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; border-radius: 4px; }
.mono { font-family: var(--mono); }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* Nagłówek i nawigacja */
.site-header { background: var(--ink); color: var(--ground); }
.nav {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 20px; padding-bottom: 20px;
}
.brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  color: var(--ground); font-weight: 700; font-size: 20px; letter-spacing: -0.01em;
}
.brand:hover { color: #fff; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-size: 15px; }
.nav-links a { color: var(--on-dark); text-decoration: none; padding: 10px 0; }
.nav-links a:hover { color: #fff; }
.nav-links a[aria-current="page"] { color: #fff; border-bottom: 2px solid var(--mint); }
.nav-links a.nav-cta {
  background: var(--accent); color: #fff; padding: 11px 18px; border-radius: 8px; font-weight: 600; border: 0;
}
.nav-links a.nav-cta:hover { background: var(--accent-dark); }
.nav-links a.nav-cta[aria-current="page"] { background: #fff; color: var(--ink); }

/* Przycisk menu (tylko telefon, pokazywany przez site.js) */
.nav-toggle {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  background: transparent; color: #fff; border: 1px solid var(--dark-line-2); border-radius: 8px;
  font: inherit; font-size: 15px; font-weight: 500; cursor: pointer;
}
.nav-toggle:hover { border-color: var(--mint); }
.nav-toggle-close { display: none; }
.nav.is-open .nav-toggle-open { display: none; }
.nav.is-open .nav-toggle-close { display: block; }

@media (max-width: 760px) {
  .nav.nav-ready .nav-toggle { display: inline-flex; }
  .nav.nav-ready .nav-links {
    display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0;
    font-size: 17px; padding-top: 8px; border-top: 1px solid var(--dark-line);
  }
  .nav.nav-ready.is-open .nav-links { display: flex; }
  .nav.nav-ready .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--dark-line); }
  .nav.nav-ready .nav-links a[aria-current="page"] { border-bottom: 1px solid var(--dark-line); box-shadow: inset 3px 0 0 var(--mint); padding-left: 14px; }
  .nav.nav-ready .nav-links a.nav-cta { margin-top: 16px; text-align: center; padding: 14px 18px; border-bottom: 0; box-shadow: none; }
}

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 96px; }
.hero-main { flex: 999 1 520px; min-width: 0; }
.eyebrow {
  margin: 0 0 20px; font-family: var(--mono); font-size: 14px; color: var(--mint);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.eyebrow--accent { color: var(--accent); margin-bottom: 12px; }
.hero h1 { margin: 0 0 24px; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -0.025em; font-weight: 700; }
.hero-lead { margin: 0 0 36px; font-size: 19px; color: var(--on-dark); max-width: 620px; }
.page-hero { padding-top: 56px; padding-bottom: 72px; }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { margin: 0 0 18px; font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.08; letter-spacing: -0.025em; max-width: 820px; }
.page-hero .hero-lead { margin: 0; max-width: 680px; }

/* Przyciski */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  text-decoration: none; padding: 14px 24px; border-radius: 8px; font: inherit; font-weight: 600;
  font-size: 17px; border: 1px solid transparent; cursor: pointer; line-height: 1.2;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--ghost { color: var(--ground); border-color: var(--dark-line-2); font-weight: 500; }
.btn--ghost:hover { color: #fff; border-color: var(--mint); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--ground); color: var(--ink); }
.btn--outline-white { color: #fff; border-color: #fff; font-weight: 500; }
.btn--outline-white:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn--sm { padding: 12px 20px; font-size: 16px; }

/* Panel „status” */
.status-box {
  flex: 1 1 360px; min-width: 0; background: var(--dark-2); border: 1px solid var(--dark-line);
  border-radius: 14px; padding: 24px 26px; font-family: var(--mono); font-size: 15px;
}
.status-head {
  display: flex; justify-content: space-between; gap: 12px; color: var(--on-dark-2); font-size: 13px;
  padding-bottom: 14px; border-bottom: 1px solid var(--dark-line); margin: 0 0 10px;
}
.status-list { list-style: none; margin: 0; padding: 0; }
.status-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; }
.status-name { display: flex; align-items: center; gap: 10px; color: #E4EAE8; min-width: 0; overflow-wrap: anywhere; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); flex: none; }
.status-state { color: var(--mint); text-align: right; }

/* Sekcje */
.section { padding-top: 72px; padding-bottom: 56px; }
/* Dwie jasne sekcje pod rzędu: bez podwójnego odstępu */
.section + .section { padding-top: 8px; }
.section--band { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--band > .wrap { padding-top: 64px; padding-bottom: 64px; }
.h2 { margin: 0 0 16px; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.1; letter-spacing: -0.02em; }
.h2--sm { font-size: 30px; margin-bottom: 32px; }
.section-lead { margin: 0 0 36px; color: var(--muted); max-width: 680px; font-size: 18px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 36px; }
.section-head .h2 { margin: 0; }
.link-strong { font-weight: 600; color: var(--accent); padding: 10px 0; }

.grid { display: grid; gap: 20px; }
.grid--320 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.grid--340 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.grid--240 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px; }
.grid--220 { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px 32px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; }

/* Usługi */
.service { padding: 30px 28px; display: flex; flex-direction: column; gap: 14px; }
.service-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.service-num { font-family: var(--mono); font-size: 14px; color: var(--accent); font-weight: 500; }
.service-tag { font-family: var(--mono); font-size: 13px; color: var(--muted-2); text-align: right; }
.service h3 { margin: 0; font-size: 23px; letter-spacing: -0.01em; line-height: 1.2; }
.service p { margin: 0; color: var(--muted); font-size: 16px; }
.checklist { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist svg { margin-top: 4px; flex: none; }

/* Znaczki statusu */
.badge {
  align-self: flex-start; display: inline-block; font-family: var(--mono); font-size: 12px; color: var(--ink);
  padding: 4px 10px; border-radius: 99px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.02em;
}
.badge--green { background: #BFF0D8; }
.badge--yellow { background: #F7DFA8; }
.badge--blue { background: #D4E3FA; }
.badge--gray { background: #E1E6E3; }
.on-dark .badge--green { background: var(--mint); }
.on-dark .badge--yellow { background: #F2C46B; }
.on-dark .badge--blue { background: #A9C8F5; }
.on-dark .badge--gray { background: var(--on-dark); }

/* Kroki */
.step { border-top: 2px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.step-num { font-family: var(--mono); font-size: 14px; color: var(--accent); }
.step h3 { margin: 0; font-size: 21px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* Cennik */
.pricing { display: flex; flex-wrap: wrap; gap: 48px; }
.pricing-intro { flex: 1 1 320px; min-width: 0; }
.pricing-intro p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 17px; }
.price-table { flex: 999 1 560px; min-width: 0; padding: 8px 28px; margin: 0; }
.price-row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px 0;
  border-bottom: 1px solid var(--line-2);
}
.price-row:last-child { border-bottom: 0; }
.price-row dt { font-weight: 500; }
.price-row dd { margin: 0; font-family: var(--mono); font-weight: 500; }

/* Pasek CTA */
.cta {
  background: var(--accent); color: #fff; border-radius: 18px; padding: 48px 44px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px;
}
.cta-text { flex: 1 1 420px; min-width: 0; }
.cta h2 { margin: 0 0 8px; font-size: 32px; letter-spacing: -0.02em; line-height: 1.15; }
.cta p { margin: 0; font-size: 18px; color: var(--on-accent); }
.cta-section { padding-bottom: 72px; }

/* Realizacje: filtr */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; padding: 0; list-style: none; }
.pill {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 99px;
  border: 1px solid var(--input); background: #fff; color: var(--ink); text-decoration: none; font-size: 15px;
}
.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Realizacje: wspólne elementy opisu, funkcji i tagów */
.project-desc p { margin: 0 0 12px; font-size: 18px; color: var(--text-2); }
.project-desc p:last-child { margin-bottom: 0; }
.feature-label { margin: 0 0 6px; font-family: var(--mono); font-size: 13px; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.02em; }
.feature-text { margin: 0; font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li { font-family: var(--mono); font-size: 13px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); }

/* Realizacje: mała karta */
.project-small { overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 24px; }
.project-small-img { aspect-ratio: 16 / 10; background: var(--soft); width: 100%; object-fit: cover; }
.project-small-placeholder { aspect-ratio: 16 / 10; background: var(--soft); display: flex; align-items: center; justify-content: center; color: var(--muted-2); }
.project-small-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.project-small-tag { font-family: var(--mono); font-size: 13px; color: var(--accent); font-weight: 500; text-transform: uppercase; }
.project-small h3 { margin: 0; font-size: 20px; }
.project-small p { margin: 0; color: var(--muted); font-size: 15px; }
.project-small .link-strong { margin-top: auto; padding-bottom: 0; }

/* Podstrona realizacji */
.detail-grid { display: flex; flex-wrap: wrap; gap: 40px; }
.detail-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.detail-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.detail-side .card { padding: 24px 26px; display: flex; flex-direction: column; gap: 14px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: 14px; color: var(--muted); padding: 8px 12px; }
.notice { background: #F7DFA8; color: var(--ink); padding: 12px 16px; border-radius: 10px; font-size: 15px; }
.back-link { display: inline-block; color: var(--on-dark); text-decoration: none; padding: 8px 0; margin-bottom: 8px; }
.back-link:hover { color: #fff; }

/* Kontakt */
.contact-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 56px; padding-bottom: 72px; }
.contact-side { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-card { text-decoration: none; border-radius: 14px; padding: 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.contact-card--wa { background: var(--accent); color: #fff; padding: 26px; }
.contact-card--wa:hover { background: var(--accent-dark); color: #fff; }
.contact-card--mail { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.contact-card--mail:hover { border-color: var(--accent); color: var(--ink); }
.contact-card .label { font-family: var(--mono); font-size: 13px; color: var(--muted-2); text-transform: uppercase; }
.contact-card .big { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.contact-card--mail .big { font-size: 22px; font-weight: 600; }
.contact-card .hint { font-size: 15px; }
.contact-card--wa .label, .contact-card--wa .hint { color: var(--on-accent); }
.info-list { margin: 0; padding: 24px 26px; display: flex; flex-direction: column; gap: 18px; font-size: 16px; }
.info-list dt { font-family: var(--mono); font-size: 13px; color: var(--muted-2); margin-bottom: 4px; text-transform: uppercase; }
.info-list dd { margin: 0; }

.form-card { flex: 999 1 560px; min-width: 0; border-radius: 18px; padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.form-card h2 { margin: 0; font-size: 26px; letter-spacing: -0.015em; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .legend { font-size: 15px; font-weight: 500; }
.input, .textarea {
  font: inherit; padding: 12px 14px; border: 1px solid var(--input); border-radius: 8px;
  background: #fff; color: var(--ink); width: 100%; min-height: 48px;
}
.textarea { resize: vertical; min-height: 150px; }
.input:focus, .textarea:focus { outline: 3px solid rgba(15, 123, 90, 0.25); border-color: var(--accent); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.legend { padding: 0; margin-bottom: 10px; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topic input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.topic span {
  display: inline-flex; align-items: center; font-size: 15px; padding: 10px 16px; border-radius: 99px;
  cursor: pointer; min-height: 44px; background: #fff; color: var(--ink); border: 1px solid var(--input);
}
.topic span:hover { border-color: var(--ink); }
.topic input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.topic input:focus-visible + span { outline: 3px solid var(--mint); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form-foot .note { font-size: 14px; color: var(--muted-2); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 10px; padding: 16px 18px; font-size: 15px; }
.alert ul { margin: 6px 0 0; padding-left: 20px; }
.alert--error { background: #FBE3DC; color: #6B1E0E; border: 1px solid #F0B9A8; }
.alert--success { background: #DDF5E9; color: #0A4A35; border: 1px solid #A6E3C6; }
.thanks { text-align: left; }
.thanks h2 { margin: 0 0 8px; }

/* Polityka prywatności */
.prose { max-width: 760px; padding-top: 56px; padding-bottom: 72px; }
.prose h2 { font-size: 24px; margin: 36px 0 10px; letter-spacing: -0.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-2); }
.prose ul { padding-left: 22px; }

/* 404 / błąd */
.error-page { padding-top: 72px; padding-bottom: 96px; }
.error-page h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 12px; letter-spacing: -0.02em; }
.error-page p { color: var(--muted); font-size: 18px; margin: 0 0 28px; }

/* Stopka */
.site-footer { background: var(--ink); color: var(--on-dark); font-size: 15px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 32px; }
.footer-about { flex: 1 1 280px; min-width: 0; }
.footer-name { margin: 0 0 8px; color: var(--ground); font-weight: 700; font-size: 19px; }
.footer-about p { margin: 0; max-width: 340px; }
.footer-col { display: flex; flex-direction: column; gap: 4px; }
.footer-col a { color: var(--on-dark); text-decoration: none; padding: 4px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 20px; padding-bottom: 20px; border-top: 1px solid var(--dark-line); font-size: 14px; color: var(--on-dark-2); }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: 48px; padding-bottom: 64px; gap: 40px; }
  .section { padding-top: 48px; padding-bottom: 40px; }
  .section--band > .wrap { padding-top: 48px; padding-bottom: 48px; }
  .cta-section { padding-bottom: 48px; }
  .cta { padding: 32px 24px; }
  .form-card { padding: 24px 20px; }
  .price-table { padding: 4px 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Jak pracuję: bloki technologii */
.tech { display: flex; flex-wrap: wrap; gap: 32px 48px; padding: 40px; margin-bottom: 24px; border-radius: 18px; scroll-margin-top: 24px; }
.tech-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.tech-side .tech-name { margin: 0; font-size: 32px; letter-spacing: -0.02em; line-height: 1.1; }
.tech-tagline { margin: 0; color: var(--muted); font-size: 18px; }
.tech-main { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.tech-example { background: var(--soft); border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; padding: 18px 20px; }
.tech-example .feature-label { margin-bottom: 8px; }
.tech-example p:not(.feature-label) { margin: 0 0 8px; font-size: 16px; color: var(--text-2); }
.tech-example p:last-child { margin-bottom: 0; }
.tech .link-strong { align-self: flex-start; padding: 6px 0; }
@media (max-width: 640px) {
  .tech { padding: 24px 20px; }
  .tech-side .tech-name { font-size: 26px; }
}

/* ---------- 1.0.6 ---------- */
.grid--300 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
/* Karty nie rozciągają się, gdy jest ich mniej niż miejsc w rzędzie (np. jedna wyróżniona realizacja) */
.grid--320.grid--fill { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.grid--300.grid--fill { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.btn--line { color: var(--ink); border-color: var(--input); background: #fff; font-weight: 500; }
.btn--line:hover { border-color: var(--ink); color: var(--ink); }

/* Pasek kompetencji pod nagłówkiem */
.skills-bar { background: #fff; border-bottom: 1px solid var(--line); }
.skills-list {
  list-style: none; margin: 0 auto; padding-top: 28px; padding-bottom: 28px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px 32px;
}
.skill { display: flex; gap: 14px; align-items: flex-start; }
.skill-icon { color: var(--accent); flex: none; margin-top: 2px; display: flex; }
.skill-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.skill-title { font-weight: 600; }
.skill-sub { font-family: var(--mono); font-size: 13px; color: var(--muted-2); }

/* Karty wybranych projektów na stronie głównej */
.project-card { overflow: hidden; display: flex; flex-direction: column; }
.project-card:hover { border-color: var(--accent); }
.project-card-media { display: block; border-bottom: 1px solid var(--line); background: var(--soft); }
.project-card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
.project-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.project-card-title { margin: 0; font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; }
.project-card-title a { color: var(--ink); text-decoration: none; }
.project-card-title a:hover { color: var(--accent); }
.project-card-desc { margin: 0; color: var(--muted); font-size: 16px; }
.card-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin-top: auto; padding-top: 6px; }
.card-links .link-strong { padding: 8px 0; }
.code-link { font-family: var(--mono); font-size: 14px; color: var(--muted); padding: 8px 0; }
.code-link:hover { color: var(--accent); }

/* Technologie (etykiety) + karta „O mnie” */
.section--plain > .wrap { padding-top: 64px; padding-bottom: 56px; }
.tech-about { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; }
.tech-about-main { flex: 999 1 560px; min-width: 0; }
.tech-labels { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; padding: 0; list-style: none; }
.tech-labels li { font-family: var(--mono); font-size: 15px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.about-card { flex: 1 1 340px; min-width: 0; padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; }
.about-card h3 { margin: 0; font-size: 23px; letter-spacing: -0.01em; line-height: 1.2; }
.about-card p:not(.feature-label) { margin: 0; color: var(--text-2); font-size: 16px; }

/* Najnowsze wpisy z bloga */
.section--blog { padding-top: 0; }
.post-card { text-decoration: none; color: var(--ink); padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 10px; }
.post-card:hover { border-color: var(--accent); color: var(--ink); }
.post-meta { font-family: var(--mono); font-size: 13px; color: var(--muted-2); }
.post-title { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.post-lead { color: var(--muted); font-size: 15px; }
.post-more { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--accent); font-size: 16px; }

/* Jak pracuję: zasady */
.principles { list-style: none; margin: 0; padding: 0; gap: 20px; }
.principle { padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; }
.principle-icon { color: var(--accent); display: flex; }
.principle h3 { margin: 0; font-size: 20px; letter-spacing: -0.01em; line-height: 1.25; }
.principle p { margin: 0; color: var(--muted); font-size: 16px; }

/* Realizacje: zwarta lista */
.project-rows { display: flex; flex-direction: column; gap: 16px; }
.project-row { padding: 20px; display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; scroll-margin-top: 24px; }
.project-row-media { flex: 0 1 300px; min-width: 0; display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.project-row-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
.project-row-body { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.project-row--noimg .project-row-body { flex-basis: 100%; }
.project-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.project-cat { font-family: var(--mono); font-size: 13px; color: var(--muted-2); }
.project-cat--dark { color: var(--on-dark-2); }
.project-row-title { margin: 0; font-size: 26px; letter-spacing: -0.02em; line-height: 1.15; }
.project-row-title a { color: var(--ink); text-decoration: none; }
.project-row-title a:hover { color: var(--accent); }
.project-row-sub { margin: -4px 0 0; color: var(--muted); font-size: 16px; }
.project-row-desc { margin: 0; color: var(--muted); font-size: 16px; max-width: 680px; }
.project-row-desc p { margin: 0 0 8px; }
.project-row .card-links { margin-top: 0; padding-top: 0; }
@media (max-width: 640px) {
  .project-row { padding: 16px; }
  .project-row-media { flex-basis: 100%; }
  .project-row-title { font-size: 22px; }
}

/* Podstrona realizacji */
.detail > * + * { margin-top: 48px; }
.detail-shot { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.detail-shot img { width: 100%; max-height: 560px; object-fit: cover; object-position: left top; }
.detail-main > section + section { margin-top: 8px; }
.features { gap: 16px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.detail-actions { display: flex; flex-direction: column; gap: 10px; }
.detail-actions .btn { width: 100%; }
.next-nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; border-top: 1px solid var(--line); }
.next-link { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; color: var(--ink); padding: 4px 0; text-align: right; }
.next-link:hover { color: var(--accent); }
.next-label { font-family: var(--mono); font-size: 13px; color: var(--muted-2); }
.next-title { font-weight: 700; font-size: 20px; }

/* O mnie */
.about > * + * { margin-top: 48px; }
.job-box {
  background: #DDF5E9; border: 1px solid #A6E3C6; border-radius: 14px; padding: 24px 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
}
.job-text { flex: 1 1 420px; min-width: 0; }
.job-text h2 { margin: 0 0 4px; font-size: 21px; letter-spacing: -0.01em; }
.job-text p { margin: 0; font-size: 16px; color: #0A4A35; }
.about-grid { display: flex; flex-wrap: wrap; gap: 40px 48px; align-items: flex-start; }
.about-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 44px; }
.about-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.practice-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.practice { padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 10px; }
.practice-icon { color: var(--accent); display: flex; }
.practice h3 { margin: 0; font-size: 19px; letter-spacing: -0.01em; line-height: 1.25; }
.practice p { margin: 0; color: var(--muted); font-size: 15px; }
.practice .link-strong { margin-top: auto; padding: 8px 0 0; font-size: 15px; }
.exp-list { list-style: none; margin: 0; padding: 0; }
.exp-item { display: flex; flex-wrap: wrap; gap: 4px 28px; padding: 18px 0; border-top: 1px solid var(--line); }
.exp-years { flex: 0 0 140px; font-family: var(--mono); font-size: 14px; color: var(--accent); padding-top: 3px; }
.exp-body { flex: 1 1 300px; min-width: 0; }
.exp-role { margin: 0 0 4px; font-weight: 600; font-size: 18px; }
.exp-text { margin: 0; color: var(--muted); font-size: 16px; }
.about-skills { padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.about-skills h2 { margin: 0; font-size: 22px; letter-spacing: -0.01em; }
.about-skills .feature-label { margin-bottom: 8px; }
.about-links { padding: 14px 26px; display: flex; flex-direction: column; }
.about-links a { padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.about-links a:last-child { border-bottom: 0; }

@media (max-width: 640px) {
  .section--plain > .wrap { padding-top: 48px; padding-bottom: 40px; }
}

/* Tekst z panelu (Markdown): linki, pogrubienie, listy */
.hero-lead a, .project-desc a, .prose a, .feature-text a, .tech-example a, .principle p a, .practice p a, .exp-text a,
.service p a, .step p a, .about-card p a, .project-row-desc a, .project-card-desc a, .job-text a, .checklist a { color: var(--accent); text-decoration: underline; }
.site-header .hero-lead a, .site-header .hero-lead strong { color: #fff; }
.project-desc ul, .tech-example ul { margin: 0 0 12px; padding-left: 22px; color: var(--text-2); }
.project-desc li, .tech-example li { margin-bottom: 4px; }
.project-desc h2 { font-size: 22px; margin: 20px 0 8px; letter-spacing: -0.01em; }
