/* Stare Mury - strona z artykułami.
   Tokeny i kroje z obecnej staremury.com (raw/2026-09-24_staremury-com/site/style.css);
   układ sekcji i brąz z makiety Wojtka (raw/2026-10-19_poprawki-wojtka, Cała strona.pdf). */

@font-face { font-family: "Inter"; src: url("fonts/Inter.woff2") format("woff2-variations"), url("fonts/Inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("fonts/Roboto.woff2") format("woff2-variations"), url("fonts/Roboto.woff2") format("woff2"); font-weight: 100 900; font-stretch: 75% 100%; font-display: swap; }

:root {
  --ink: #1d1d1b;
  --bg: #f1f1f1;
  --paper: #f7f6f3;
  --white: #fff;
  --gray: #475467;
  --gray-2: #5f6a7d;
  --accent: #d64a3a;
  --accent-deep: #b23a2c;
  --accent-text: #b5392a; /* drobny tekst w kolorze akcentu - kontrast min. 4.5:1 */
  --stone: #eaeae8;
  --brown: #7b4b40;
  --accent-on-brown: #f6a08c;
  --line: rgba(71, 84, 103, 0.24);
  --line-soft: rgba(29, 29, 27, 0.08);
  --container: 1216px;
  --gutter: 32px;
  --display: "Roboto", system-ui, sans-serif;
  --text: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--text); color: var(--ink); background: var(--bg); line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); padding-inline: var(--gutter); margin-inline: auto; }

/* ---------- elementy wspólne ---------- */
.label { display: inline-block; font-size: 12px; font-weight: 600; line-height: 16px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gray); }
.label--accent { color: var(--accent-text); font-weight: 800; }
.divider { display: block; width: 36px; height: 2px; background: var(--ink); }
.light { font-weight: 200; }

.display { font-family: var(--display); font-weight: 400; font-size: clamp(52px, 6.6vw, 104px); line-height: .98; letter-spacing: -0.025em; margin: 20px 0 32px; }
.h2 { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -0.02em; margin: 24px 0 0; }
.lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; color: var(--gray); max-width: 540px; margin: 0; }

.arr { display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: -1px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 11'%3E%3Cpath d='M20 5.27L14.34 0l-1.41 1.22 3.24 3.01H0v1.96h16.17l-3.24 3.34L14.34 11 20 5.27z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 11'%3E%3Cpath d='M20 5.27L14.34 0l-1.41 1.22 3.24 3.01H0v1.96h16.17l-3.24 3.34L14.34 11 20 5.27z'/%3E%3C/svg%3E") center/contain no-repeat;
  transform: rotate(-45deg); transition: transform .35s var(--ease); }
.arr--down { transform: rotate(90deg); }

.link { display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; text-decoration: none; padding-bottom: 6px; border-bottom: 2px solid currentColor; }
.link:hover .arr { transform: rotate(0deg); }
.link--inv { color: #fff; }

.btn { display: inline-flex; align-items: center; height: 56px; padding: 0 26px; background: var(--ink); color: #fff; text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; transition: background .3s var(--ease); }
.btn:hover { background: var(--accent); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); padding: 0 4px; }
.btn--ghost:hover { background: transparent; color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }

.section-head { margin-bottom: 56px; }
.section-head .divider { margin-top: 18px; }
.section-head__lead { color: var(--gray); font-size: 18px; max-width: 520px; margin: 20px 0 0; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-anim *, .no-anim *::before, .no-anim *::after { transition: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- skip link, focus ---------- */
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- nagłówek ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(241,241,241,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line-soft); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; height: 96px; transition: height .3s var(--ease); }
.site-header.is-scrolled .site-header__row { height: 72px; }
.logo img { width: 92px; height: auto; transition: width .3s var(--ease); }
.site-header.is-scrolled .logo img { width: 74px; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; position: relative; }
.nav .nav__cta { font-size: 13px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; }
.nav a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--accent); transition: right .35s var(--ease); }
.nav a:not(.nav__cta):hover::after { right: 0; }
.nav .nav__cta { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; background: var(--ink); color: #fff; transition: background .3s var(--ease); }
.nav .nav__cta:hover { background: var(--accent); }
.nav__cta:hover .arr { transform: rotate(0); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .3s; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(88vh, 920px); display: flex; align-items: center; overflow: hidden; }
.hero__grid { position: relative; z-index: 2; padding-block: 72px 140px; }
.hero__text { max-width: 640px; }
.hero__text .lead { max-width: 460px; }
.hero__actions { display: flex; gap: 32px; align-items: center; margin-top: 44px; flex-wrap: wrap; }
.hero__stage { position: absolute; right: 0; bottom: 0; width: min(52vw, 900px); aspect-ratio: 1219 / 1004; z-index: 1; pointer-events: none; }
.hero__logo { position: absolute; left: 2%; top: 14%; width: 73%; opacity: .95; animation: rise 1.6s var(--ease) both .2s; }
.hero__building { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: rise 1.4s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

/* ---------- filary ---------- */
.pillars { background: var(--white); border-top: 1px solid var(--line-soft); }
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar { padding: 56px 40px 60px; border-left: 1px solid var(--line-soft); }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar__nr { font-family: var(--display); font-weight: 200; font-size: 44px; color: var(--accent); line-height: 1; }
.pillar h2 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; margin: 26px 0 12px; }
.pillar p { color: var(--gray); margin: 0; max-width: 34ch; }

/* ---------- artykuły (Eksperci, wiedza, technologie) ---------- */
.articles { padding: 120px 0 140px; background: var(--paper); }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 72px 0 36px; }
.chip { font: inherit; font-size: 12px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; cursor: pointer; transition: all .25s; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; }
.card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.card.is-hidden { display: none; }
.card__img { overflow: hidden; aspect-ratio: 4 / 3; background: #ddd; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; filter: saturate(.92); }
.card:hover .card__img img { transform: scale(1.045); filter: saturate(1.05); }
.card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 22px; flex: 1; }
.card__title { font-family: var(--display); font-weight: 400; font-size: 25px; line-height: 1.2; letter-spacing: -.01em; margin: 0; transition: color .25s; }
.card:hover .card__title { color: var(--accent-deep); }
.card__meta { font-size: 14px; color: var(--gray-2); }
.card__lead { color: var(--gray); font-size: 18px; margin: 0; max-width: 46ch; }
.card .link { margin-top: auto; }
.card:hover .arr { transform: rotate(0); }

.card--big { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: stretch; background: var(--white); }
.card--big .card__img { aspect-ratio: auto; min-height: 520px; }
.card--big .card__body { padding: 56px 56px 56px 0; gap: 20px; justify-content: center; }
.card--big .card__title { font-size: clamp(30px, 3vw, 44px); line-height: 1.1; font-weight: 300; }
.card--big .link { margin-top: 12px; }

/* ---------- on-tour: oś czasu + najbliższe wydarzenie ---------- */
.tour { padding: 120px 0 130px; background: var(--stone); }
.tour__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.tour .section-head { margin-bottom: 48px; }
.tl { list-style: none; margin: 0; padding: 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 6px; top: 12px; bottom: 40px; width: 1px; background: var(--line); }
.tl__i { position: relative; display: grid; grid-template-columns: 20px 92px 1fr; gap: 16px; padding-bottom: 40px; }
.tl__dot { width: 13px; height: 13px; margin-top: 8px; border-radius: 50%; border: 1px solid var(--gray-2); background: var(--stone); position: relative; z-index: 1; }
.tl__i.is-next .tl__dot { background: var(--accent); border-color: var(--accent); }
.tl__date b { display: block; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: .04em; line-height: 1.2; }
.tl__i.is-next .tl__date b { color: var(--accent); }
.tl__date span { display: block; margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gray); }
.tl__body h3 { font-size: 18px; font-weight: 600; line-height: 1.3; margin: 2px 0 6px; }
.tl__place { display: block; font-size: 13px; font-style: italic; color: var(--gray); }
.tl__more { display: inline-flex; align-items: center; margin-top: 8px; font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; text-decoration: none; color: var(--accent-text); }
.tl__more .arr { width: 11px; height: 11px; margin-left: 6px; transform: none; }
.next { background: var(--white); box-shadow: 0 1px 2px rgba(16,24,40,.05); }
.next__img { aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; }
.next__img img { width: 100%; height: 100%; object-fit: cover; }
.next__body { padding: 32px 36px 36px; }
.next h3 { font-size: 24px; font-weight: 600; margin: 16px 0 4px; }
.next__place { font-size: 13px; font-style: italic; color: var(--gray); }
.next__date { font-size: 19px; font-weight: 600; margin: 20px 0 14px; }
.next__desc { color: var(--gray); margin: 0 0 28px; }
.next__link { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; border-top: 1px solid var(--line-soft); font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; text-decoration: none; }
.next__link .arr { color: var(--accent); transform: none; }

/* ---------- obiekty: Nowe życie, Nieruchomości ---------- */
.objects { padding: 120px 0 130px; }
.objects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: stretch; }
.obj { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.obj__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; }
.obj__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.obj:hover .obj__img img { transform: scale(1.04); }
.badge { position: absolute; top: 14px; left: 14px; padding: 6px 10px; border-radius: 4px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.obj__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding-top: 24px; }
.obj__place { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gray); }
.pin { display: inline-block; width: 14px; height: 14px; background: currentColor; flex: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center/contain no-repeat; }
.obj h3 { font-family: var(--display); font-weight: 400; font-size: 30px; letter-spacing: -.015em; line-height: 1.15; margin: 12px 0 10px; }
.obj p { margin: 0 0 22px; color: var(--gray); }
.obj .link { margin-top: auto; }
.obj:hover .arr { transform: rotate(0); }

.objects--brown { background: var(--brown); color: #fff; }
.objects--brown .label { color: rgba(255,255,255,.7); }
.objects--brown .label--accent { color: var(--accent-on-brown); }
.objects--brown .divider { background: #fff; }
.objects--brown .section-head__lead { color: rgba(255,255,255,.78); }
.obj--panel { background: var(--white); color: var(--ink); }
.obj--panel .obj__body { padding: 20px 24px 24px; }
.obj--panel .obj__place { font-style: italic; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--gray); }
.obj--panel h3 { font-family: var(--text); font-size: 20px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 28px; }
.obj--panel .link { border-bottom: 0; font-size: 12px; width: 100%; justify-content: space-between; }
.obj--panel .link .arr { color: var(--accent); }
.obj--add { align-items: center; justify-content: center; text-align: center; padding: 40px 32px; border: 1px dashed rgba(255,255,255,.55); color: #fff; min-height: 420px; transition: background .3s var(--ease); }
.obj--add:hover { background: rgba(255,255,255,.06); }
.obj__plus { position: relative; width: 72px; height: 72px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); margin-bottom: 28px; }
.obj__plus::before, .obj__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 1.5px; background: #fff; transform: translate(-50%, -50%); }
.obj__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.obj--add h3 { font-family: var(--text); font-size: 20px; font-weight: 600; margin: 0 0 12px; }
.obj--add p { color: rgba(255,255,255,.78); font-size: 15px; max-width: 30ch; margin: 0 auto 32px; }
.obj--add .link { margin-top: 0; font-size: 12px; }

/* ---------- partnerzy ---------- */
.partners { padding: 120px 0 130px; background: var(--brown); color: #fff; }
.partners .label--accent { color: var(--accent-on-brown); }
.partners .divider { background: #fff; }
.partners .section-head__lead { color: rgba(255,255,255,.78); max-width: 620px; }
.partners__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.partner { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 200px; padding: 32px; background: var(--white); color: var(--ink); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.partner:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.partner__logo { display: flex; align-items: center; height: 56px; }
.partner__logo img { max-height: 48px; max-width: 220px; width: auto; height: auto; object-fit: contain; }
.partner__desc { font-size: 14px; color: var(--gray); padding-right: 40px; }
.partner .arr { position: absolute; right: 30px; bottom: 34px; color: var(--accent); transform: none; }
.partner:hover .arr { transform: translateX(4px); }

/* ---------- kupujesz - ratujesz ---------- */
.buy { padding: 110px 0; background: var(--bg); }
.buy__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.buy .section-head { margin-bottom: 40px; }
.buy__img img { width: 100%; height: auto; }

/* ---------- zespół ---------- */
.team { padding: 120px 0 140px; background: var(--white); }
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.person { margin: 0; }
.person__img { aspect-ratio: 4 / 5; overflow: hidden; background: #ddd; }
.person__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.person:hover .person__img img { transform: scale(1.03); }
.person figcaption { padding-top: 24px; }
.person h3 { font-family: var(--display); font-weight: 400; font-size: 28px; margin: 10px 0 10px; letter-spacing: -.01em; }
.person p { color: var(--gray); margin: 0; }

/* ---------- bądź na bieżąco ---------- */
.follow { padding: 120px 0 110px; background: var(--bg); }
.follow__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: end; }
.follow .section-head { margin-bottom: 0; }
.follow__links { display: flex; flex-direction: column; gap: 22px; }
.social { display: flex; align-items: center; gap: 20px; text-decoration: none; }
.social img { width: 28px; height: 28px; }
.social span { flex: 1; font-size: 14px; font-weight: 600; letter-spacing: 1.28px; text-transform: uppercase; padding: 14px 0 12px; border-bottom: 2px solid var(--ink); }
.social .arr { margin-left: -34px; }
.social:hover .arr { transform: rotate(0); }
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 72px; }
.ig { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #ddd; }
.ig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ig:hover img { transform: scale(1.04); }

/* ---------- pasek „Masz obiekt z potencjałem?” ---------- */
.pitch { background: var(--bg); padding-bottom: 96px; }
.pitch__row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-block: 44px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pitch__t { font-family: var(--display); font-size: clamp(28px, 3vw, 42px); font-weight: 500; letter-spacing: -.015em; margin: 0; }

/* ---------- 404 ---------- */
.notfound { padding: 140px 0 160px; }
.notfound .divider { margin-top: 18px; }
.notfound .lead { margin-top: 28px; }
.notfound__actions { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 44px; }

/* ---------- stopka ---------- */
.site-footer { background: var(--ink); color: #fff; padding: 96px 0 32px; }
.site-footer .label { color: rgba(255,255,255,.5); margin-bottom: 8px; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; }
.site-footer__logo { width: 150px; height: auto; }
.site-footer__claim { color: rgba(255,255,255,.66); margin: 28px 0 0; line-height: 1.7; }
.site-footer__mail { display: inline-block; margin-top: 22px; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }
.site-footer__mail:hover { border-color: #fff; }
.site-footer__links { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.site-footer__links a { text-decoration: none; color: rgba(255,255,255,.88); }
.site-footer__links a:hover { color: #fff; }
.site-footer__base { margin-top: 80px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.62); }

/* ---------- artykuł ---------- */
.article__head { padding-top: 56px; padding-bottom: 56px; }
.back { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; text-decoration: none; color: var(--gray); margin-bottom: 48px; }
.back:hover { color: var(--accent); }
.article__meta { display: flex; gap: 22px; flex-wrap: wrap; }
.article__title { font-family: var(--display); font-weight: 300; font-size: clamp(40px, 5.6vw, 84px); line-height: 1.02; letter-spacing: -.025em; margin: 22px 0 28px; max-width: 18ch; }
.article__lead { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.55; color: var(--gray); max-width: 50ch; margin: 0 0 40px; }
.avatars { display: flex; flex-wrap: wrap; gap: 28px; }
.avatar { display: flex; align-items: center; gap: 14px; font-size: 14px; line-height: 1.35; color: var(--gray); }
.avatar b { color: var(--ink); font-weight: 600; }
.avatar img, .avatar__ph { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: #d9d9d9; }
.article__hero { margin: 0 auto; max-width: 1480px; padding-inline: var(--gutter); }
.article__hero img { width: 100%; height: auto; max-height: 78vh; object-fit: cover; }
.article__hero figcaption { font-size: 13px; color: var(--gray-2); padding-top: 12px; padding-inline: 0; }

.prose { max-width: 720px; margin: 0 auto; padding: 72px var(--gutter) 40px; font-size: 19px; line-height: 1.72; box-sizing: content-box; }
.prose > p, .prose li { color: #2b2b29; }
.prose h2 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.18; letter-spacing: -.015em; margin: 72px 0 20px; }
.prose h2::before { content: ""; display: block; width: 36px; height: 2px; background: var(--accent); margin-bottom: 22px; }
.prose h3 { font-size: 21px; font-weight: 700; margin: 44px 0 10px; letter-spacing: -.01em; }
.prose a { text-decoration-color: var(--accent); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: 8px 0; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.prose strong { font-weight: 650; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 64px 0; }
.caption { font-size: 14px !important; color: var(--gray-2) !important; margin-top: -10px; }

.tldr { background: var(--white); border-top: 3px solid var(--accent); padding: 30px 34px 22px; margin: 0 0 56px; font-size: 17px; line-height: 1.6; }
.tldr ul { margin: 16px 0 0; padding-left: 1.1em; }
.tldr li { margin: 0 0 12px; }

.pull { margin: 64px 0; padding: 0; border: 0; }
.pull p { font-family: var(--display); font-weight: 300; font-size: clamp(28px, 2.9vw, 40px); line-height: 1.22; letter-spacing: -.015em; color: var(--ink) !important; margin: 0; }
.pull p::before { content: "„"; display: block; font-family: var(--display); font-weight: 700; color: var(--accent); font-size: 90px; line-height: .6; margin-bottom: 8px; }
.pull cite { display: block; margin-top: 22px; font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; color: var(--gray); }
.quote { margin: 32px 0; padding-left: 24px; border-left: 2px solid var(--accent); color: var(--gray); }

.fig { margin: 56px 0; }
.fig.wide { margin-inline: calc(-1 * min(160px, (100vw - 720px) / 2 - var(--gutter))); }
.fig img { width: 100%; height: auto; }
.fig figcaption { font-size: 14px; color: var(--gray-2); padding-top: 12px; }

.clip { display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: center; margin: 64px 0; padding: 28px; background: var(--ink); color: #fff; }
.clip__media video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }
.clip .label { color: var(--accent); font-weight: 800; }
.clip figcaption p { font-family: var(--display); font-weight: 300; font-size: 24px; line-height: 1.35; color: #fff; margin: 16px 0 0; }

.table { overflow-x: auto; margin: 40px 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.prose th { text-align: left; font-size: 12px; letter-spacing: 1.3px; text-transform: uppercase; color: var(--gray); font-weight: 700; border-bottom: 2px solid var(--ink); padding: 10px 14px 10px 0; }
.prose td { border-bottom: 1px solid var(--line); padding: 14px 14px 14px 0; vertical-align: top; }

.endnote { font-size: 13px !important; font-family: var(--text) !important; font-weight: 800 !important; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gray); margin-top: 88px !important; }
.endnote::before { background: var(--ink) !important; }
.endnote ~ p, .endnote ~ ul { font-size: 16px; color: var(--gray); }

.article__people { margin-top: 88px; padding-top: 40px; border-top: 1px solid var(--line); }
.bio { display: grid; grid-template-columns: 76px 1fr; gap: 20px; margin: 26px 0; align-items: start; }
.bio img, .bio .avatar__ph { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; background: #d9d9d9; }
.bio h3 { margin: 4px 0 4px; font-size: 18px; }
.bio p { margin: 0 0 10px; font-size: 16px; color: var(--gray); }
.bio .link { font-size: 11px; padding-bottom: 3px; }
.source { font-size: 15px; color: var(--gray); margin-top: 36px; }

.more { background: var(--paper); padding: 110px 0 130px; margin-top: 80px; }


/* ---------- podstrona produktu (Kupujesz - ratujesz / Stargres) ---------- */
.product__hero { position: relative; overflow: hidden; }
.product__hero-grid { position: relative; z-index: 2; min-height: min(80vh, 820px); display: flex; align-items: center; padding-block: 72px 96px; }
.product__hero-text { max-width: 520px; }
.product__hero-text .display { margin: 22px 0 28px; font-size: clamp(44px, 4.8vw, 76px); }
.product__hero-text .lead { margin-bottom: 40px; }
.product__hero-img { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; z-index: 1; }
.product__hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(241,241,241,0) 38%); }
.product__hero-img img { width: 100%; height: 100%; object-fit: cover; }
.product__split { padding: 110px 0; }
.product__split + .product__split { padding-top: 0; }
.product__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.product__body { margin-top: 32px; color: var(--gray); max-width: 520px; }
.product__body p { margin: 0 0 18px; }
.product__text .btn { margin-top: 20px; }
.product__img { position: relative; box-shadow: 0 30px 60px rgba(0,0,0,.08); }
.product__img img { display: block; width: 100%; height: auto; }
.product__img--tall img { aspect-ratio: 4 / 5; object-fit: cover; }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 96px; }
.swatch { background: var(--white); padding: 16px 16px 24px; }
.swatch__c { display: block; aspect-ratio: 1 / 1; }
.swatch h3 { font-size: 18px; margin: 20px 0 4px; }
.swatch p { margin: 0; color: var(--gray); }
.product__feats { background: var(--stone); padding: 110px 0; }
.product__center { text-align: center; }
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 64px; text-align: center; }
.feat__ico { display: inline-block; width: 30px; height: 30px; background:
  linear-gradient(var(--ink), var(--ink)) 0 0 / 13px 13px no-repeat, linear-gradient(var(--ink), var(--ink)) 100% 0 / 13px 13px no-repeat,
  linear-gradient(var(--ink), var(--ink)) 0 100% / 13px 13px no-repeat, linear-gradient(var(--ink), var(--ink)) 100% 100% / 13px 13px no-repeat; opacity: .85; }
.feat h3 { font-size: 17px; margin: 20px 0 12px; }
.feat p { margin: 0; color: var(--gray); font-size: 15px; }
.cobrand { background: var(--stone); padding: 64px 0; }
.cobrand__row { display: flex; align-items: center; justify-content: center; gap: 56px; }
.cobrand__x { position: relative; width: 36px; height: 36px; }
.cobrand__x::before, .cobrand__x::after { content: ""; position: absolute; left: 50%; top: -6px; bottom: -6px; width: 1px; background: var(--ink); opacity: .5; transform: rotate(45deg); }
.cobrand__x::after { transform: rotate(-45deg); }
.cobrand__stargres { width: 170px; height: auto; }

/* ---------- responsywność ---------- */
@media (max-width: 1080px) {
  .cards, .objects__grid, .partners__grid { grid-template-columns: repeat(2, 1fr); }
  .card--big { grid-template-columns: 1fr; gap: 0; }
  .card--big .card__img { min-height: 0; aspect-ratio: 16 / 10; }
  .card--big .card__body { padding: 36px; }
  .tour__grid, .buy__grid, .follow__grid { grid-template-columns: 1fr; gap: 48px; }
  .next { max-width: 620px; }
  .team__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .product__grid { grid-template-columns: 1fr; gap: 48px; }
  .product__split--rev .product__img { order: 2; }
  .feats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  :root { --gutter: 20px; }
  .nav { position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; align-items: flex-start; gap: 26px; padding: 110px 28px 40px; background: var(--bg); transform: translateY(-105%); transition: transform .45s var(--ease); z-index: -1; box-shadow: 0 20px 40px rgba(0,0,0,.08); }
  .nav a { font-size: 20px; }
  .nav .nav__cta { height: 52px; margin-top: 8px; font-size: 14px; }
  .nav.is-open { transform: none; }
  .nav-toggle { display: block; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-header__row { height: 76px; }
  .logo img { width: 78px; }
  .hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero__grid { padding-block: 48px 24px; }
  .hero__stage { position: relative; width: 129.5vw; margin-left: -21.86vw; }
  .hero__logo { left: 27.65%; top: 22.88%; width: 55.65%; } /* proporcje z mobilnej staremury.com */
  .pillars__grid { grid-template-columns: 1fr; }
  .pillar { border-left: 0; border-top: 1px solid var(--line-soft); padding: 40px 0; }
  .pillar:first-child { border-top: 0; }
  .articles, .tour, .objects, .partners, .team, .follow, .buy { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .cards, .objects__grid, .team__grid, .cards--3, .partners__grid { grid-template-columns: 1fr; gap: 40px; }
  .partners__grid { gap: 12px; }
  .partner { min-height: 0; padding: 26px; gap: 28px; }
  .card--big .card__body { padding: 28px 24px 32px; }
  .obj--add { min-height: 0; }
  .tl__i { grid-template-columns: 20px 76px 1fr; gap: 12px; padding-bottom: 32px; }
  .next__body { padding: 26px 24px 28px; }
  .ig-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 48px; }
  .pitch { padding-bottom: 64px; }
  .pitch__row { padding-block: 32px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .prose { font-size: 18px; padding-top: 48px; }
  .fig.wide { margin-inline: calc(-1 * var(--gutter)); }
  .clip { grid-template-columns: 1fr; padding: 20px; }
  .clip__media { max-width: 260px; }
  .person__img { aspect-ratio: 1 / 1; }
  .product__hero-grid { min-height: 0; padding-block: 48px 40px; }
  .product__hero-img { position: relative; width: auto; height: 300px; }
  .product__hero-img::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(241,241,241,0) 30%); }
  .product__hero { display: flex; flex-direction: column; }
  .product__split, .product__feats { padding: 72px 0; }
  .swatches { grid-template-columns: 1fr; margin-top: 56px; }
  .swatch { display: grid; grid-template-columns: 88px 1fr; gap: 0 18px; align-items: center; }
  .swatch__c { grid-row: span 2; }
  .swatch h3 { margin: 0; }
  .feats { grid-template-columns: 1fr; gap: 36px; margin-top: 40px; }
  .cobrand__row { gap: 28px; }
  .cobrand__row img:first-child { width: 96px; height: auto; }
  .cobrand__stargres { width: 130px; }
}
