/* Jarobud – wariant A „Inżynierska precyzja” */
:root {
  --n950: #040d20;
  --n900: #071833;
  --n800: #0b2350;
  --blue: #103e8a;
  --b600: #1a4fa8;
  --b400: #3f78d6;
  --b300: #8db2f0;
  --b100: #e3ecfb;
  --b50: #f4f7fd;
  --cream: #fffeed;
  --ink: #0b1630;
  --text: #2a3550;
  --muted: #55607a;
  --line-d: rgba(141, 178, 240, .2);
  --line-l: rgba(16, 62, 138, .14);
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1320px;
  --pad: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.2, .75, .15, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: #fff; line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
.mono { font-family: var(--mono); font-weight: 400; letter-spacing: .04em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); position: relative; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--cream); color: var(--ink); padding: 10px 16px; border-radius: 4px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--b400); outline-offset: 3px; }
.dark :focus-visible, .hero :focus-visible, .header :focus-visible, .mnav :focus-visible, .cta :focus-visible, .footer :focus-visible { outline-color: var(--cream); }

/* ---------- Blueprint grid ---------- */
.bp { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(var(--line-d) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-d) 1px, transparent 1px),
    linear-gradient(rgba(141,178,240,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141,178,240,.06) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 100%);
}
.bp--light {
  background-image:
    linear-gradient(var(--line-l) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-l) 1px, transparent 1px),
    linear-gradient(rgba(16,62,138,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,62,138,.045) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
}

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 14px; padding: 15px 24px; border-radius: 2px; border: 1px solid transparent; cursor: pointer; text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.2; letter-spacing: .01em; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn .arr { width: 12px; height: 12px; flex: none; transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translate(3px, -3px) rotate(-45deg); }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--lg { padding: 19px 30px; font-size: 16px; }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream::before { background: #fff; }
.btn--cream:hover { box-shadow: 0 10px 30px -10px rgba(141,178,240,.6); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue::before { background: var(--n900); }
.btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline::before { background: var(--blue); }
.btn--outline:hover { color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost::before { background: rgba(255,255,255,.12); }
.btn--ghost:hover { border-color: #fff; }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--b400), var(--b300)); transform-origin: left; transform: scaleX(var(--sp, 0)); }

/* ---------- Header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; color: #fff; transition: background .4s, box-shadow .4s, backdrop-filter .4s, transform .5s var(--ease); }
.header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-d); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.header.is-scrolled { background: rgba(7, 24, 51, .82); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.header.is-scrolled::after { transform: scaleX(1); }
.header.is-hidden { transform: translateY(-100%); }
.header__in { display: flex; align-items: center; gap: 28px; height: 84px; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); transition: height .4s var(--ease); }
.is-scrolled .header__in { height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font-weight: 700; font-size: 24px; letter-spacing: -.02em; }
.brand img { width: 22px; height: 42px; }
.nav { margin: 0 auto; }
.nav ul { display: flex; gap: 6px; }
.nav a { position: relative; display: block; padding: 8px 12px; text-decoration: none; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.86); transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: var(--b300); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; width: 46px; height: 46px; margin-left: auto; border: 1px solid rgba(255,255,255,.35); background: transparent; border-radius: 2px; cursor: pointer; padding: 0 12px; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; height: 1.5px; background: #fff; transition: transform .3s var(--ease); }
.burger span:nth-child(2) { width: 70%; margin-left: auto; }
.burger:hover span:nth-child(2) { transform: scaleX(1.43); transform-origin: right; }

/* Mobile nav */
.mnav { position: fixed; inset: 0; z-index: 150; background: var(--n900); color: #fff; display: flex; flex-direction: column; padding: 18px var(--pad) 32px; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease-io); overflow-y: auto; }
.mnav::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px); background-size: 48px 48px; opacity: .5; }
.mnav.open { clip-path: inset(0 0 0 0); }
.mnav__top { display: flex; align-items: center; justify-content: space-between; height: 48px; }
.mnav__label { font-size: 12px; color: var(--b300); }
.mnav__close { width: 46px; height: 46px; display: grid; place-items: center; background: none; border: 1px solid rgba(255,255,255,.35); border-radius: 2px; color: #fff; cursor: pointer; }
.mnav__close svg { width: 22px; height: 22px; }
.mnav ol { margin-top: 36px; border-top: 1px solid var(--line-d); }
.mnav li { border-bottom: 1px solid var(--line-d); opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.mnav.open li { opacity: 1; transform: none; }
.mnav.open li:nth-child(1) { transition-delay: .15s; } .mnav.open li:nth-child(2) { transition-delay: .2s; } .mnav.open li:nth-child(3) { transition-delay: .25s; } .mnav.open li:nth-child(4) { transition-delay: .3s; } .mnav.open li:nth-child(5) { transition-delay: .35s; }
.mnav a:not(.btn) { display: flex; align-items: baseline; gap: 18px; padding: 16px 0; color: #fff; text-decoration: none; font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.mnav a .mono { font-size: 12px; color: var(--b300); }
.mnav .btn { margin-top: 32px; align-self: flex-start; }
body.menu-open { overflow: hidden; }

/* ---------- Reveal system ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .wi { display: inline-block; will-change: transform; }
.js [data-split] .wi { transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms + var(--d, 0s)); }
.js [data-split].is-in .wi { transform: none; }

/* Static mode for screenshots (?static=1) */
.is-static .reveal, .is-static [data-split] .wi { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- Section heads ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 150px) 0; overflow: hidden; overflow: clip; }
.section > .wrap { z-index: 1; }
.dark { background: var(--n900); color: #fff; position: relative; }
.shead { position: relative; max-width: 860px; }
.shead__no { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 13px; color: var(--blue); margin-bottom: 26px; }
.dark .shead__no, .quality .shead__no { color: var(--b300); }
.shead__no span { display: inline-flex; align-items: center; gap: 10px; }
.shead__no span::before { content: ""; width: 7px; height: 7px; border: 1px solid currentColor; transform: rotate(45deg); }
.shead__rule { position: relative; flex: 0 0 120px; height: 1px; background: currentColor; opacity: .7; transform-origin: left; }
.shead__rule::after { content: ""; position: absolute; right: 0; top: -4px; width: 1px; height: 9px; background: currentColor; }
.js .shead__rule { transform: scaleX(0); transition: transform 1.2s var(--ease) .2s; }
.js .shead__rule.is-in, .is-static .shead__rule { transform: scaleX(1); }
.section h2, .quality h2, .cta h2 { text-wrap: balance; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -.035em; font-weight: 600; color: var(--ink); }
.dark h2, .quality h2, .cta h2 { color: #fff; }
.eyebrow { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--blue); margin-bottom: 14px; }

/* Corner ticks (draw in) */
.ticks { position: absolute; inset: 0; pointer-events: none; }
.ticks i { position: absolute; width: 22px; height: 22px; border-color: var(--b400); border-style: solid; border-width: 0; transition: transform .9s var(--ease), opacity .9s var(--ease); }
.ticks i:nth-child(1) { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.ticks i:nth-child(2) { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.ticks i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.ticks i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.js .ticks i { opacity: 0; }
.js .ticks i:nth-child(1) { transform: translate(18px, 18px); } .js .ticks i:nth-child(2) { transform: translate(-18px, 18px); }
.js .ticks i:nth-child(3) { transform: translate(18px, -18px); } .js .ticks i:nth-child(4) { transform: translate(-18px, -18px); }
.js .ticks.is-in i, .is-static .ticks i { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; min-height: clamp(640px, 100svh, 1000px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--n950); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; transform: scale(1.06); animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(4,13,32,.92) 0%, rgba(7,24,51,.78) 38%, rgba(16,62,138,.38) 72%, rgba(16,62,138,.2) 100%),
    linear-gradient(0deg, rgba(4,13,32,.85) 0%, rgba(4,13,32,0) 45%),
    linear-gradient(180deg, rgba(4,13,32,.6) 0%, rgba(4,13,32,0) 22%); }
.hero__grid { position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: linear-gradient(rgba(141,178,240,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(141,178,240,.14) 1px, transparent 1px);
  background-size: 80px 80px; animation: gridDrift 40s linear infinite;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.5) 50%, transparent 85%); mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.5) 50%, transparent 85%); }
@keyframes gridDrift { to { background-position: 80px 80px; } }
.frame { position: absolute; inset: 100px var(--pad) 28px; pointer-events: none; z-index: 0; }
.frame i { position: absolute; width: 28px; height: 28px; border: 0 solid rgba(255,255,255,.55); animation: tickIn 1.2s var(--ease) .3s both; }
.frame i:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; --tx: 30px; --ty: 30px; }
.frame i:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; --tx: -30px; --ty: 30px; }
.frame i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; --tx: 30px; --ty: -30px; }
.frame i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; --tx: -30px; --ty: -30px; }
@keyframes tickIn { from { opacity: 0; transform: translate(var(--tx), var(--ty)); } }
.hero__in { padding-top: 130px; padding-bottom: 36px; z-index: 1; }
.hero__meta { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--b300); margin-bottom: 28px; }
.hero__meta .sep { opacity: .5; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--b300); box-shadow: 0 0 0 0 rgba(141,178,240,.7); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(141,178,240,0); } 100% { box-shadow: 0 0 0 0 rgba(141,178,240,0); } }
.hero h1 { font-size: clamp(36px, 4.5vw, 66px); line-height: 1.04; letter-spacing: -.035em; font-weight: 600; max-width: 20ch; text-wrap: balance; }
.hero h1 { --d: .15s; }
.dim { display: flex; align-items: center; gap: 14px; max-width: 640px; margin: 30px 0 24px; color: var(--b300); }
.dim__line { position: relative; flex: 1; height: 1px; background: currentColor; transform-origin: left; }
.dim__line::before, .dim__line::after { content: ""; position: absolute; top: -5px; width: 1px; height: 11px; background: currentColor; }
.dim__line::before { left: 0; } .dim__line::after { right: 0; }
.dim__val { font-size: 12px; letter-spacing: .1em; }
.js .dim .dim__line { transform: scaleX(0); transition: transform 1.4s var(--ease) .6s; }
.js .dim .dim__val { opacity: 0; transition: opacity .6s 1.6s; }
.js .dim.is-in .dim__line, .is-static .dim .dim__line { transform: none; }
.js .dim.is-in .dim__val, .is-static .dim .dim__val { opacity: 1; }
.hero__lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: rgba(255,255,255,.88); max-width: 640px; font-weight: 300; }
.hero__cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__foot { display: flex; align-items: center; gap: 24px; padding-bottom: 44px; z-index: 1; }
.scrollcue { width: 22px; height: 36px; border: 1px solid rgba(255,255,255,.5); border-radius: 11px; position: relative; flex: none; }
.scrollcue span { position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; background: #fff; border-radius: 1px; animation: cue 2s var(--ease-io) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
.hero__ruler { flex: 1; height: 12px; opacity: .45;
  background-image: linear-gradient(90deg, #fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px), linear-gradient(#fff, #fff);
  background-size: 80px 12px, 16px 5px, 100% 1px; background-repeat: repeat-x; background-position: 0 0, 0 0, 0 0; }
.vidtoggle { position: absolute; right: calc(var(--pad) + 12px); bottom: 62px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: rgba(4,13,32,.35); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .3s; }
.vidtoggle:hover { background: rgba(255,255,255,.15); }
.vidtoggle svg { width: 14px; height: 14px; }
.vidtoggle .i-play, .vidtoggle[aria-pressed="true"] .i-pause { display: none; }
.vidtoggle[aria-pressed="true"] .i-play { display: block; }
.hero__foot .hero__ruler { margin-right: 64px; }

/* ---------- 01 WHY ---------- */
.why { background: var(--b50); }
.why__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: clamp(48px, 6vw, 80px); }
.why__item { position: relative; background: #fff; padding: 10px 10px 22px; transition: transform .6s var(--ease), box-shadow .6s var(--ease); box-shadow: 0 1px 0 var(--line-l); }
.js .why__item.reveal.is-in, .js .card.reveal.is-in, .js .review.reveal.is-in { transition: opacity .9s var(--ease) var(--d, 0s), transform .6s var(--ease), box-shadow .6s var(--ease), background .5s; }
.why__item:hover { transform: translateY(-10px); box-shadow: 0 30px 50px -28px rgba(7,24,51,.45); }
.why__img { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--b100); }
.why__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.85); }
.why__item:hover .why__img img { transform: scale(1.07); filter: saturate(1.05); }
.why__no { display: block; margin: 18px 6px 8px; font-size: 12px; color: var(--blue); }
.why__item h3 { margin: 0 6px; font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
/* line-draw borders */
.edge, .edge::before, .why__item::before, .why__item::after, .card::before, .card::after { pointer-events: none; }
.why__item::before, .why__item::after, .card::before, .card::after { content: ""; position: absolute; z-index: 2; background: var(--blue); transition: transform .55s var(--ease); }
.why__item::before, .card::before { left: 0; right: 0; top: 0; height: 1.5px; transform: scaleX(0); transform-origin: left; }
.why__item::after, .card::after { top: 0; bottom: 0; right: 0; width: 1.5px; transform: scaleY(0); transform-origin: top; transition-delay: .1s; }
.edge { position: absolute; inset: 0; z-index: 2; }
.edge::before, .edge::after { content: ""; position: absolute; background: var(--blue); transition: transform .55s var(--ease); }
.edge::before { left: 0; right: 0; bottom: 0; height: 1.5px; transform: scaleX(0); transform-origin: right; transition-delay: .2s; }
.edge::after { top: 0; bottom: 0; left: 0; width: 1.5px; transform: scaleY(0); transform-origin: bottom; transition-delay: .3s; }
.why__item:hover::before, .why__item:hover::after, .why__item:hover .edge::before, .why__item:hover .edge::after,
.card:hover::before, .card:hover::after, .card:hover .edge::before, .card:hover .edge::after { transform: none; }
.card::before, .card::after, .card .edge::before, .card .edge::after { background: var(--b300); }

.why__lead { position: relative; margin: clamp(64px, 8vw, 110px) auto 0; max-width: 980px; padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 72px); text-align: center; }
.why__lead p { font-size: clamp(22px, 2.6vw, 36px); line-height: 1.3; letter-spacing: -.025em; color: var(--ink); font-weight: 400; text-wrap: balance; }
.why__lead strong { font-weight: 650; color: var(--blue); }

/* ---------- 02 STEPS / timeline ---------- */
.steps { background: var(--n900); }
.steps__in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.steps__side { position: sticky; top: 120px; }
.plan { width: 100%; max-width: 380px; margin-top: 56px; overflow: visible; }
.plan path { fill: none; stroke: var(--b300); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 0; }
.plan .thin, .plan__dims path { stroke-width: .8; stroke-dasharray: 1; opacity: .75; }
.plan__x path { stroke: var(--b400); stroke-width: .8; opacity: .6; }
.js .plan path { stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease-io); }
.js .plan .plan__walls path:nth-child(2) { transition-delay: .5s; } .js .plan .thin { transition-delay: 1s !important; }
.js .plan .plan__dims path { transition-delay: 1.3s; } .js .plan .plan__x path { transition-delay: 1.7s; }
.js .plan.is-in path, .is-static .plan path { stroke-dashoffset: 0; }

.tl { position: relative; padding-left: 64px; }
.tl__line { position: absolute; left: 15px; top: 10px; bottom: 10px; width: 1px; background: var(--line-d); }
.tl__line span { position: absolute; inset: 0; background: linear-gradient(180deg, var(--b300), var(--cream)); transform-origin: top; transform: scaleY(var(--p)); }
.tl__step { position: relative; padding: 0 0 56px; }
.tl__step:last-child { padding-bottom: 0; }
.tl__node { position: absolute; left: -64px; top: 4px; width: 31px; height: 31px; display: grid; place-items: center; }
.tl__node::before { content: ""; width: 11px; height: 11px; border: 1.5px solid var(--b300); background: var(--n900); transform: rotate(45deg); transition: background .5s var(--ease), transform .6s var(--ease), border-color .5s; }
.tl__node::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--b300); border-radius: 50%; opacity: 0; transform: scale(.4); transition: opacity .5s, transform .7s var(--ease); }
.tl__step h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; color: rgba(255,255,255,.55); transition: color .6s var(--ease); }
.tl__step h3 .mono { font-size: .62em; color: var(--b300); vertical-align: .2em; margin-right: 4px; }
.tl__step p { margin-top: 12px; max-width: 520px; color: rgba(255,255,255,.62); font-size: 17px; line-height: 1.6; font-weight: 300; transition: color .6s var(--ease); }
.tl__step.is-on h3 { color: #fff; }
.tl__step.is-on p { color: rgba(255,255,255,.86); }
.tl__step.is-on .tl__node::before { background: var(--cream); border-color: var(--cream); transform: rotate(225deg); }
.tl__step.is-on .tl__node::after { opacity: .6; transform: scale(1); }
.is-static .tl { --p: 1 !important; }

/* ---------- 03 PROJECTS / carousel ---------- */
.projects { background: #fff; padding-bottom: clamp(64px, 8vw, 110px); }
.projects__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.projects__head .shead { max-width: 760px; }
.car { position: relative; z-index: 1; margin-top: clamp(40px, 5vw, 64px); }
.car__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))); scroll-padding-inline: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))); cursor: grab; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.car__track::-webkit-scrollbar { display: none; }
.car__track.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.car__track.is-drag a { pointer-events: none; }
.car__slide { flex: 0 0 clamp(270px, 29vw, 420px); scroll-snap-align: start; }
.car__slide a { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--b100); text-decoration: none; user-select: none; -webkit-user-drag: none; }
.car__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.car__slide a:hover img, .car__slide a:focus-visible img { transform: scale(1.1); }
.car__slide a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,13,32,.85) 0%, rgba(4,13,32,0) 50%); }
.car__slide a:focus-visible { outline-offset: -4px; outline-color: var(--cream); }
.car__cap { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; color: #fff; font-size: 16px; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; display: flex; flex-direction: column; gap: 8px; transform: translateY(6px); transition: transform .6s var(--ease); }
.car__cap .mono { font-size: 11px; color: var(--b300); }
.car__slide a:hover .car__cap { transform: none; }
.car__bar { display: flex; align-items: center; gap: 24px; margin-top: 28px; }
.car__count { font-size: 13px; color: var(--muted); min-width: 64px; }
.car__count b { color: var(--blue); font-weight: 500; }
.car__progress { flex: 1; height: 1px; background: var(--line-l); position: relative; overflow: hidden; }
.car__progress span { position: absolute; inset: 0; background: var(--blue); transform-origin: left; transform: scaleX(var(--cp, .1)); transition: transform .3s linear; }
.car__btns { display: flex; gap: 8px; }
.car__btn { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line-l); border-radius: 50%; background: #fff; color: var(--blue); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.car__btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.car__btn svg { width: 26px; height: 26px; }

/* ---------- 04 SERVICES ---------- */
.services { background: var(--n800); }
.shead--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; max-width: none; flex-wrap: wrap; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(44px, 5vw, 72px); }
.card { position: relative; padding: 36px 32px 40px; background: rgba(255,255,255,.035); border: 1px solid var(--line-d); color: #fff; transition: opacity .9s var(--ease) var(--d, 0s), transform .6s var(--ease), background .5s; }
.card:hover { transform: translateY(-10px); background: rgba(255,255,255,.07); }
.card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 40px; }
.card__top img { width: 64px; height: 64px; transition: transform .8s var(--ease); }
.card:hover .card__top img { transform: rotate(-6deg) scale(1.06); }
.card__top .mono { font-size: 12px; color: var(--b300); }
.card h3 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 16px; }
.card p { color: rgba(255,255,255,.76); font-size: 15.5px; line-height: 1.7; font-weight: 300; }

/* ---------- Reviews ---------- */
.reviews-wrap { background: var(--cream); padding: clamp(72px, 8vw, 120px) 0; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.review { position: relative; background: #fff; padding: 34px 30px 32px; border: 1px solid rgba(16,62,138,.12); box-shadow: 0 20px 40px -32px rgba(7,24,51,.5); transition: opacity .9s var(--ease) var(--d, 0s), transform .6s var(--ease), box-shadow .6s; }
.review:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(7,24,51,.55); }
.review__q { position: absolute; top: 6px; right: 22px; font-size: 96px; line-height: 1; font-weight: 700; color: var(--b100); }
.review h3 { position: relative; display: flex; flex-direction: column; gap: 6px; font-size: 19px; font-weight: 600; color: var(--ink); margin-bottom: 18px; }
.stars { color: var(--blue); letter-spacing: .18em; font-size: 15px; }
.review blockquote { position: relative; font-size: 16px; line-height: 1.7; color: var(--text); }
.reviews__more { margin-top: 44px; text-align: center; }

/* ---------- 05 QUALITY / marquee ---------- */
.quality { position: relative; background: var(--n900); padding: clamp(80px, 9vw, 130px) 0; overflow: hidden; }
.quality__head { z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.quality__head .shead__no { margin-bottom: 18px; }
.quality small { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .2em; color: var(--b300); margin-bottom: 10px; }
.marquee { position: relative; z-index: 1; margin-top: clamp(48px, 5vw, 72px); overflow: hidden; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logos { display: flex; align-items: center; flex: none; }
.logos li { display: grid; place-items: center; width: clamp(200px, 22vw, 320px); height: 140px; border-right: 1px solid var(--line-d); }
.logos img { max-width: 62%; max-height: 52px; width: auto; height: auto; opacity: .82; transition: opacity .4s, transform .4s var(--ease); }
.logos li:hover img { opacity: 1; transform: scale(1.06); }

/* ---------- CTA ---------- */
.cta { position: relative; background: var(--blue); color: #fff; padding: clamp(80px, 9vw, 130px) 0; overflow: hidden; }
.cta .bp { opacity: .9; }
.cta__in { z-index: 1; text-align: center; padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); max-width: 980px; }
.cta .ticks i { border-color: rgba(255,255,255,.7); }
.cta p { margin: 22px auto 0; max-width: 560px; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.88); font-weight: 300; }
.cta__btns { margin-top: 36px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--n950); color: rgba(255,255,255,.78); padding: 72px 0 0; }
.footer__in { display: grid; grid-template-columns: 1.2fr 1.6fr auto; gap: 48px; align-items: start; padding-bottom: 56px; }
.footer nav ul { margin-top: 28px; display: grid; gap: 10px; }
.footer nav a, .footer__contact a { text-decoration: none; transition: color .3s; }
.footer nav a:hover, .footer__contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer__contact { display: grid; gap: 10px; }
.footer__contact a { font-size: 22px; color: #fff; font-weight: 500; letter-spacing: -.01em; }
.footer .area { margin-top: 16px; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.62); max-width: 520px; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; font-size: 12px; color: rgba(255,255,255,.62); border-top: 1px solid var(--line-d); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .why__grid { grid-template-columns: repeat(3, 1fr); }
  .nav ul { gap: 0; }
}
@media (max-width: 1040px) {
  .nav, .header__cta { display: none; }
  .burger { display: flex; }
  .steps__in { grid-template-columns: 1fr; }
  .steps__side { position: static; }
  .plan { max-width: 300px; margin-top: 40px; }
  .cards, .reviews { grid-template-columns: 1fr; }
  .cards { max-width: 640px; }
  .reviews { max-width: 720px; margin: 0 auto; }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .footer__cta { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .header__in { height: 68px; }
  .brand { font-size: 21px; }
  .brand img { width: 18px; height: 34px; }
  .hero__in { padding-top: 120px; padding-bottom: 28px; }
  .hero h1 { font-size: clamp(33px, 9.4vw, 44px); letter-spacing: -.035em; }
  .hero__meta { font-size: 10.5px; letter-spacing: .1em; margin-bottom: 20px; }
  .dim { margin: 24px 0 20px; }
  .hero__lead { font-size: 16.5px; }
  .hero__cta .btn { width: 100%; justify-content: space-between; }
  .hero__foot { padding-bottom: 30px; }
  .frame { inset: 80px 12px 14px; }
  .vidtoggle { bottom: 26px; right: calc(var(--pad)); width: 36px; height: 36px; }
  .why__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .why__item { padding: 6px 6px 16px; }
  .why__item:last-child { grid-column: 1 / -1; }
  .why__item:last-child .why__img { aspect-ratio: 16 / 9; }
  .why__item h3 { font-size: 15.5px; }
  .why__no { margin: 12px 4px 6px; font-size: 11px; }
  .why__item h3 { margin: 0 4px; }
  .why__lead { padding: 32px 22px; }
  .tl { padding-left: 46px; }
  .tl__line { left: 11px; }
  .tl__node { left: -46px; width: 23px; height: 23px; top: 3px; }
  .tl__step { padding-bottom: 40px; }
  .tl__step p { font-size: 16px; }
  .car__slide { flex-basis: 78vw; }
  .car__track { gap: 12px; }
  .car__bar { gap: 16px; }
  .car__btn { width: 44px; height: 44px; }
  .card { padding: 28px 24px 32px; }
  .card__top { margin-bottom: 28px; }
  .review { padding: 28px 22px; }
  .logos li { height: 110px; width: 180px; }
  .logos img { max-height: 40px; }
  .footer__in { grid-template-columns: 1fr; gap: 36px; }
  .footer__contact a { font-size: 20px; }
  .cta__btns .btn { width: 100%; justify-content: center; }
  .shead__rule { flex-basis: 72px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal, .js [data-split] .wi { opacity: 1; transform: none; }
  .hero__media { transform: none; }
  .marquee__track { animation: none; width: auto; justify-content: center; flex-wrap: wrap; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .logos { flex-wrap: wrap; justify-content: center; }
  .logos[aria-hidden="true"] { display: none; }
  .why__item:hover, .card:hover, .review:hover { transform: none; }
}

/* Screenshot mode: realistic first-screen height */
.is-static .hero { min-height: 900px; }
@media (max-width: 760px) { .is-static .hero { min-height: 844px; } }

/* =========================================================
   Subpages
   ========================================================= */
.phead { position: relative; overflow: hidden; padding: clamp(150px, 16vw, 210px) 0 clamp(64px, 7vw, 100px); background: var(--n900); }
.phead .frame { inset: 92px var(--pad) 22px; }
.phead__in { z-index: 1; }
.phead .eyebrow, .contact .eyebrow { color: var(--b300); }
.phead h1 { font-size: clamp(38px, 5.6vw, 84px); line-height: 1.02; letter-spacing: -.04em; font-weight: 600; color: #fff; max-width: 18ch; text-wrap: balance; }
.phead .dim { margin-bottom: 0; }
.phead + .section { padding-top: clamp(64px, 7vw, 110px); }

/* Usługi */
.services-page { background: var(--n800); }
.cards--6 { margin-top: 0; }
.card h2 { font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; margin-bottom: 18px; color: #fff; }
.ticklist { display: grid; border-top: 1px solid var(--line-d); }
.ticklist li { position: relative; padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line-d); color: rgba(255,255,255,.82); font-size: 15.5px; line-height: 1.5; font-weight: 300; }
.ticklist li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 7px; height: 7px; border: 1px solid var(--b300); transform: rotate(45deg); transition: background .4s, transform .5s var(--ease); }
.card:hover .ticklist li::before { background: var(--b300); transform: rotate(225deg); }

/* Realizacje – gallery */
.gal-sec { background: var(--b50); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 44px) 20px; }
.gal__item figure { position: relative; }
.gal__item a { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--b100); cursor: zoom-in; }
.gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.gal__item a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,13,32,.55), rgba(4,13,32,0) 45%); opacity: 0; transition: opacity .5s; }
.gal__item a:hover img, .gal__item a:focus-visible img { transform: scale(1.07); }
.gal__item a:hover::after, .gal__item a:focus-visible::after { opacity: 1; }
.gal__zoom { position: absolute; right: 14px; bottom: 14px; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; background: rgba(4,13,32,.35); opacity: 0; transform: scale(.7); transition: opacity .4s, transform .5s var(--ease); }
.gal__zoom svg { width: 18px; height: 18px; }
.gal__item a:hover .gal__zoom, .gal__item a:focus-visible .gal__zoom { opacity: 1; transform: none; }
.gal__item figcaption { position: relative; margin-top: 14px; padding-top: 14px; font-size: 15px; line-height: 1.55; color: var(--ink); font-weight: 500; }
.gal__item figcaption::before, .gal__item figcaption::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 1px; background: var(--line-l); }
.gal__item figcaption::after { background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.gal__item:hover figcaption::after { transform: scaleX(1); }
.gal__item figcaption .mono { display: block; font-size: 11px; color: var(--blue); margin-bottom: 6px; font-weight: 400; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 180; display: flex; align-items: center; justify-content: center; padding: 72px 96px 64px; background: rgba(4,13,32,.96); opacity: 0; transition: opacity .4s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lightbox__bp { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px); background-size: 64px 64px; opacity: .35; }
.lightbox figure { position: relative; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.lightbox__frame { position: relative; display: block; }
.lightbox__frame::before, .lightbox__frame::after { content: ""; position: absolute; width: 22px; height: 22px; border: 0 solid var(--b300); }
.lightbox__frame::before { left: -10px; top: -10px; border-top-width: 1px; border-left-width: 1px; }
.lightbox__frame::after { right: -10px; bottom: -10px; border-bottom-width: 1px; border-right-width: 1px; }
.lightbox img { display: block; max-width: min(1200px, calc(100vw - 192px)); max-height: calc(100vh - 210px); max-height: calc(100svh - 210px); width: auto; height: auto; object-fit: contain; transition: opacity .35s var(--ease), transform .5s var(--ease); }
.lightbox img.is-swap { opacity: 0; transform: scale(.97); }
.lightbox figcaption { margin-top: 22px; max-width: 760px; text-align: center; color: rgba(255,255,255,.88); font-size: 16px; line-height: 1.55; }
.lightbox__count { position: absolute; left: 28px; top: 30px; color: var(--b300); font-size: 13px; }
.lightbox button { position: absolute; z-index: 2; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(4,13,32,.5); color: #fff; cursor: pointer; transition: background .3s, border-color .3s; }
.lightbox button:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.lightbox button svg { width: 24px; height: 24px; }
.lb-close { right: 22px; top: 18px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* Kontakt */
.contact { position: relative; overflow: hidden; padding: clamp(140px, 14vw, 190px) 0 clamp(72px, 8vw, 120px); }
.contact .frame { inset: 92px var(--pad) 22px; }
.contact__grid { z-index: 1; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact h1 { font-size: clamp(38px, 5vw, 72px); line-height: 1.03; letter-spacing: -.04em; font-weight: 600; color: #fff; text-wrap: balance; }
.contact__lead { margin-top: 24px; max-width: 560px; font-size: 18px; line-height: 1.6; font-weight: 300; color: rgba(255,255,255,.86); }
.formcard { position: relative; margin-top: 44px; background: #fff; color: var(--text); padding: clamp(28px, 4vw, 48px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.formcard :focus-visible { outline-color: var(--b400); }
.formcard .ticks { inset: -12px; }
.formcard .ticks i { border-color: var(--b300); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 24px; }
.field { display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.field label { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); margin-bottom: 8px; line-height: 1.4; }
.field input, .field select { width: 100%; border: 0; border-bottom: 1px solid #8a93a6; border-radius: 0; background: transparent; padding: 10px 0; font: inherit; font-size: 17px; min-height: 46px; color: var(--ink); transition: border-color .3s, box-shadow .3s; }
.field select { appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23103e8a' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 4px center / 12px 8px; padding-right: 26px; cursor: pointer; }
.field input:focus, .field select:focus { outline: none; border-bottom-color: var(--blue); box-shadow: 0 1px 0 0 var(--blue); }
.phone-wrap { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #8a93a6; transition: border-color .3s, box-shadow .3s; }
.phone-wrap span { font-size: 17px; color: var(--ink); white-space: nowrap; font-family: var(--mono); }
.phone-wrap input, .phone-wrap input:focus { border: 0; flex: 1; min-width: 0; box-shadow: none; }
.phone-wrap:focus-within { border-bottom-color: var(--blue); box-shadow: 0 1px 0 0 var(--blue); }
.field.invalid input, .field.invalid select, .field.invalid .phone-wrap { border-bottom-color: #c0262d; box-shadow: 0 1px 0 0 #c0262d; }
.field.invalid .phone-wrap input { box-shadow: none; }
.field.invalid label { color: #b3202a; }
.field .err { color: #b3202a; font-size: 13px; margin-top: 6px; }
.field .err:empty { display: none; }
.form__actions { grid-column: 1 / -1; margin-top: 6px; }
.form .btn { min-width: 280px; justify-content: space-between; }
.form .btn[disabled] { opacity: .65; cursor: progress; }
.form__note { margin-top: 16px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.form__note a { color: var(--blue); }
.form__msg { margin-top: 16px; padding: 12px 14px; border-left: 2px solid #c0262d; background: #fdf1f1; font-size: 15px; color: #8f1a22; }
.form__msg[hidden] { display: none; }
.form__msg a { color: inherit; font-weight: 700; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.contact__side { position: relative; }
.contact__photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--n800); }
.contact__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; transition: transform 1.6s var(--ease); }
.contact__side:hover .contact__photo img { transform: scale(1.04); }
.contact__info { display: grid; gap: 8px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-d); }
.contact__info a { color: #fff; text-decoration: none; font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -.01em; }
.contact__info a:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact__info .area { margin-top: 10px; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.66); }

/* Dziękujemy */
.thanks { position: relative; overflow: hidden; padding: clamp(150px, 15vw, 200px) 0 clamp(80px, 9vw, 130px); }
.thanks .frame { inset: 92px var(--pad) 22px; }
.thanks__in { z-index: 1; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.thanks h1 { font-size: clamp(38px, 5vw, 72px); line-height: 1.03; letter-spacing: -.04em; font-weight: 600; color: #fff; text-wrap: balance; }
.check { width: 120px; height: 120px; margin-top: 48px; }
.check circle, .check path { fill: none; stroke: var(--b300); stroke-width: 1.5; stroke-dasharray: 1; }
.check path { stroke: var(--cream); stroke-width: 2.5; stroke-linecap: square; }
.js .check circle, .js .check path { stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease-io) .3s; }
.js .check path { transition-delay: 1.1s; transition-duration: .8s; }
.js .check.is-in circle, .js .check.is-in path, .is-static .check circle, .is-static .check path { stroke-dashoffset: 0; }
.tl__step h2 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; color: rgba(255,255,255,.55); transition: color .6s var(--ease); }
.tl__step h2 .mono { font-size: .62em; color: var(--b300); vertical-align: .2em; margin-right: 4px; }
.tl__step.is-on h2 { color: #fff; }

/* Polityka */
.policy { background: var(--b50); }
.policy__doc { position: relative; max-width: 940px; background: #fff; padding: clamp(32px, 5vw, 64px); box-shadow: 0 30px 60px -40px rgba(7,24,51,.45); }
.policy__doc .ticks { inset: -12px; }
.policy__ref { font-size: 12px; color: var(--blue); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 28px; }
.policy__body { font-size: 17px; line-height: 1.75; color: var(--text); }
.policy__body strong { display: block; margin-bottom: 14px; font-size: clamp(20px, 2vw, 26px); line-height: 1.25; letter-spacing: -.02em; font-weight: 600; color: var(--ink); }
.policy__body ul { margin: 14px 0 18px; padding: 0; display: grid; gap: 8px; }
.policy__body li { position: relative; padding-left: 26px; }
.policy__body li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border: 1px solid var(--blue); transform: rotate(45deg); }

@media (max-width: 1180px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1040px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .contact__grid, .thanks__in { grid-template-columns: 1fr; }
  .contact__photo { aspect-ratio: 16 / 10; }
  .cards--6 { max-width: none; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .phead { padding: 128px 0 56px; }
  .phead .frame, .contact .frame, .thanks .frame { inset: 80px 12px 14px; }
  .phead h1 { font-size: clamp(34px, 10vw, 46px); }
  .cards--6 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; gap: 32px; }
  .gal__item a { aspect-ratio: 1 / 1; }
  .gal__zoom { opacity: 1; transform: none; width: 38px; height: 38px; }
  .contact { padding-top: 120px; }
  .contact h1, .thanks h1 { font-size: clamp(34px, 10vw, 46px); }
  .formcard { padding: 26px 20px 28px; }
  .formcard .ticks { inset: -8px; }
  .form { grid-template-columns: 1fr; gap: 24px; }
  .form .btn { width: 100%; min-width: 0; }
  .lightbox { padding: 64px 12px 92px; }
  .lightbox img { max-width: calc(100vw - 24px); max-height: calc(100svh - 230px); }
  .lb-prev, .lb-next { top: auto; bottom: 22px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .lightbox__count { left: 16px; top: 30px; }
  .lb-close { right: 12px; top: 14px; }
  .lightbox figcaption { font-size: 15px; padding: 0 8px; }
  .thanks { padding-top: 120px; }
  .check { width: 88px; height: 88px; margin-top: 32px; }
}
