/* AlignIT · strona główna · kierunek „Grafit z przełamaniami” */

/* ---------- Fonty (self-hosted, OFL) ---------- */
@font-face {
  font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/geist-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/geist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/geist-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Mono'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/geist-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokeny ---------- */
:root {
  /* strefy ciemne */
  --bg: #0E0F11;
  --bg-deep: #0A0B0C;
  --surf: #191B1F;
  --line: rgba(237, 234, 228, .10);
  --line-2: rgba(237, 234, 228, .18);
  --tx: #EDEAE4;
  --tx-2: #A9A79F;
  --tx-3: #8A8882;
  --tx-dim: #6E6D68;
  /* strefy jasne */
  --ivory: #EEEBE5;
  --paper: #F8F6F2;
  --ink: #111214;
  --ink-2: #4A4944;
  --ink-3: #686660;
  --rule: rgba(17, 18, 20, .12);
  /* akcent */
  --acc-pale: #86A9FF;
  --acc-ink: #3B63E0;
  --acc: var(--acc-pale);
  --on-acc: #111214;

  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --max: 1360px;
  --pad: clamp(20px, 4vw, 56px);
  --gap: 32px;
  --hh: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hh) + 16px); }
body {
  background: var(--bg); color: var(--tx);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
address { font-style: normal; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.mono { font-family: var(--mono); font-size: 11.5px; font-weight: 400; line-height: 1.6; letter-spacing: .08em; text-transform: uppercase; color: var(--tx-2); }
.light { background: var(--ivory); color: var(--ink); }
/* na jasnym tle akcent ciemnieje, żeby nie ginął */
.light, .hdr.on-light { --acc: var(--acc-ink); --on-acc: #fff; }
.light .mono { color: var(--ink-3); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--tx-2); }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); flex: none; }
.light .eyebrow { color: var(--ink-3); }
.idx { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: var(--ink-3); }
.idx::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -.005em; white-space: nowrap;
  transition: background .25s, color .25s, box-shadow .25s;
}
.btn svg { width: 14px; height: 14px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-acc { background: var(--acc); color: var(--on-acc); }
.btn-acc:hover { background: var(--tx); }
.hdr.on-light .btn-acc:hover { background: var(--ink); color: var(--tx); }
.btn-ink { background: var(--ink); color: var(--tx); }
.btn-ink:hover { background: #000; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 58px; padding: 0 30px; font-size: 16px; }
.link { display: inline-flex; align-items: center; font-size: 15px; font-weight: 500; }
.link span {
  padding-bottom: 2px; border-bottom: 1px solid color-mix(in srgb, currentColor 32%, transparent);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat border-box;
  transition: background-size .5s var(--ease);
}
.link:hover span { background-size: 100% 1px; }

/* ---------- Nagłówek ---------- */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(14, 15, 17, .76); color: var(--tx);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  transition: background .35s, color .35s, border-color .35s;
}
.hdr.on-light { background: rgba(238, 235, 229, .84); color: var(--ink); border-color: var(--rule); }
.hdr::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--acc); transform: scaleX(var(--sp, 0)); transform-origin: left; pointer-events: none;
}
.hdr-row { display: flex; align-items: center; gap: 36px; height: var(--hh); }
.brand { display: inline-flex; align-items: center; flex: none; padding-block: 8px; }
.brand-word { width: 106px; height: 14px; }
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px;
  font-size: 14px; color: var(--tx-2); transition: color .2s, background .2s;
}
.nav-link:hover, .has-dd.is-open .nav-btn { color: var(--tx); background: rgba(237, 234, 228, .07); }
.hdr.on-light .nav-link { color: var(--ink-2); }
.hdr.on-light .nav-link:hover, .hdr.on-light .has-dd.is-open .nav-btn { color: var(--ink); background: rgba(17, 18, 20, .06); }
.chev { width: 10px; height: 10px; opacity: .75; transition: transform .25s var(--ease); }
.has-dd { position: relative; }
.has-dd.is-open .chev { transform: rotate(180deg); }
.dd {
  position: absolute; top: calc(100% + 12px); left: -4px; z-index: 5;
  width: max-content; min-width: 260px; padding: 8px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--rule); border-radius: 14px;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .5);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.dd::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-dd.is-open .dd { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease), visibility 0s; }
.dd-list a { display: block; padding: 10px 12px; border-radius: 9px; font-size: 14.5px; white-space: nowrap; transition: background .15s; }
.dd-list a:hover, .dd-list a:focus-visible { background: var(--ivory); }
.hdr-cta { flex: none; }
.menu-btn { display: none; width: 44px; height: 44px; margin-right: -10px; position: relative; flex: none; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* Menu mobilne */
.mnav {
  position: fixed; inset: var(--hh) 0 0; z-index: 55; overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); color: var(--tx);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .5s var(--ease-io), visibility 0s .5s;
}
.mnav.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .5s var(--ease-io), visibility 0s; }
.mnav-inner { display: grid; gap: 36px; padding-block: 32px 40px; }
.mnav-group .mono { margin-bottom: 10px; }
.mnav-group a { display: block; padding: 7px 0; font-size: 18px; color: var(--tx); }
.mnav-main { border-top: 1px solid var(--line); padding-top: 24px; }
.mnav-main a { display: block; padding: 6px 0; font-size: 30px; font-weight: 300; letter-spacing: -.03em; }
.mnav-cta { justify-self: start; }
html.js .mnav a { opacity: 0; transform: translateY(14px); transition: opacity .25s, transform .25s; }
html.js .mnav.is-open a {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease) calc(.12s + var(--i) * 26ms), transform .7s var(--ease) calc(.12s + var(--i) * 26ms), background .25s;
}

/* ---------- Pojawianie się ---------- */
html.js .rv { opacity: 0; transform: translateY(24px); }
html.js .rv.is-in {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
html.js [data-split]:not(.is-split) { opacity: 0; }
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding: .14em .02em .16em; margin: -.14em -.02em -.16em; }
.sw > span { display: inline-block; }
html.js .is-split .sw > span { transform: translateY(112%); }
html.js .is-split.is-in .sw > span {
  transform: none;
  transition: transform 1.15s var(--ease) calc(var(--d, 0s) + var(--wi) * 42ms);
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(34% 44% at 80% 46%, color-mix(in srgb, var(--acc) 13%, transparent), transparent 70%),
    radial-gradient(52% 64% at 70% 36%, rgba(240, 232, 214, .08), transparent 72%),
    radial-gradient(30% 40% at 10% 0%, rgba(240, 232, 214, .05), transparent 70%);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gap);
  min-height: min(calc(100svh - var(--hh)), 840px);
  padding-block: clamp(72px, 9vw, 128px) clamp(64px, 7vw, 104px);
}
.hero-copy { grid-column: 1 / span 7; align-self: end; position: relative; z-index: 2; }
.h1 { font-size: clamp(40px, 6vw, 92px); font-weight: 300; line-height: 1.01; letter-spacing: -.045em; text-wrap: balance; }
.h1 .dim { color: var(--tx-dim); }
.lede { margin-top: 32px; max-width: 540px; font-size: 18px; line-height: 1.6; color: var(--tx-2); text-wrap: pretty; }
.hero-act { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }

.field {
  position: absolute; top: 0; right: 0; bottom: 0; width: 64%; z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%, #000 88%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 38%, #000 88%, transparent 100%);
}
.field svg { width: 100%; height: 100%; }
.hero:hover .field { cursor: default; }
.field path { fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
.field .ln { stroke: url(#g-line); }
.field .ln-hi { stroke: url(#g-hi); stroke-width: 1.6; }
.field .s-acc { stop-color: var(--acc); }
.field .dot { fill: var(--acc); filter: drop-shadow(0 0 8px var(--acc)); }
html.js .field .ln { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.js .field.is-drawn .ln { stroke-dashoffset: 0; transition: stroke-dashoffset 2.6s var(--ease); transition-delay: calc(var(--i) * 28ms); }
html.js .field .dot { opacity: 0; transition: opacity .8s; }
html.js .field.is-live .dot { opacity: 1; }

/* ---------- Sekcje ---------- */
.sec { padding-block: clamp(88px, 10vw, 148px); }
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gap); margin-bottom: clamp(44px, 5vw, 72px); }
.sec-head .eyebrow { grid-column: 1 / span 3; align-self: start; padding-top: 16px; }
.h2 { grid-column: 4 / span 8; font-size: clamp(34px, 4.2vw, 62px); font-weight: 340; line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.light .h2 { font-weight: 400; }

/* ---------- Usługi ---------- */
.svc { padding-block: clamp(28px, 3vw, 40px) clamp(72px, 7vw, 104px); }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; padding: 26px 26px 30px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 18px;
}
.card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--acc-pale) 26%, transparent), transparent 62%);
  opacity: 0; transition: opacity .5s;
}
.card:hover::before { opacity: 1; }
html.js .card.rv.is-in { transition: opacity .9s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s), background .45s var(--ease), color .45s var(--ease), border-color .45s; }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.card-arr {
  width: 32px; height: 32px; padding: 9px; border-radius: 50%; border: 1px solid var(--rule); color: var(--ink);
  transition: background .3s, color .3s, border-color .3s, transform .45s var(--ease);
}
.card-body { padding-top: clamp(64px, 8vw, 116px); }
.card-name { font-family: var(--mono); font-size: 11.5px; font-weight: 400; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); transition: color .45s; }
.card-q { margin-top: 12px; font-size: clamp(21px, 1.75vw, 25px); font-weight: 450; line-height: 1.2; letter-spacing: -.028em; text-wrap: balance; }
.card-text { margin-top: 14px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); transition: color .45s; }
.card:hover { --acc: var(--acc-pale); --on-acc: #111214; background: var(--ink); color: var(--tx); border-color: var(--ink); }
.card:hover .card-name, .card:hover .card-text, .card:hover .idx { color: var(--tx-2); }
.card:hover .card-arr { background: var(--acc); border-color: var(--acc); color: var(--on-acc); transform: rotate(45deg); }
html.js .card.rv.is-in:hover { transform: translateY(-4px); transition: transform .45s var(--ease), background .45s var(--ease), color .45s var(--ease), border-color .45s; }

/* ---------- Jak pracujemy ---------- */
.track { position: relative; }
.track-line { position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-2); }
.tl-prog {
  position: absolute; left: 0; top: 0; height: 1px; width: 100%;
  background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 25%, transparent), var(--acc));
  transform: scaleX(var(--p, 1)); transform-origin: left;
}
.tl-prog::after {
  content: ''; position: absolute; right: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--acc); box-shadow: 0 0 14px 2px var(--acc);
  opacity: min(var(--p, 1) * 40 - .2, (1 - var(--p, 1)) * 30); transform: scaleX(calc(1 / max(var(--p, 1), .01)));
}
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--gap); }
.st { position: relative; padding-top: 44px; }
.st-node { position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 1px solid var(--tx); transition: border-color .4s, transform .5s var(--ease); }
.st-node::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--tx); transition: transform .5s var(--ease); }
.st-gate .st-node { border-radius: 2px; transform: rotate(45deg); background: var(--acc); border-color: var(--acc); }
.st-gate .st-node::after { display: none; }
.st-gate .st-dur { color: var(--acc); }
.st h3 { margin-top: 12px; font-size: 24px; font-weight: 400; line-height: 1.2; letter-spacing: -.03em; }
.st-text { margin-top: 14px; max-width: 38ch; font-size: 15px; color: var(--tx-2); }
html.js .st { transition: opacity .6s var(--ease), transform .7s var(--ease); }
html.js .st:not(.is-on) { opacity: .22; transform: translateY(10px); }
html.js .st:not(.is-on) .st-node { border-color: var(--line-2); }
html.js .st:not(.is-on) .st-node::after { transform: scale(0); }
html.js .st-gate .st-node { transition: transform .6s cubic-bezier(.3, 1.6, .5, 1), background .4s, border-color .4s; }
html.js .st-gate:not(.is-on) .st-node { transform: rotate(45deg) scale(.45); background: var(--bg); border-color: var(--line-2); }
.how-foot { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.how-foot p { max-width: 60ch; font-size: 15px; color: var(--tx-2); }

/* ---------- Dlaczego my ---------- */
.why { padding-bottom: clamp(72px, 8vw, 120px); }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 var(--gap); }
.why-item { position: relative; padding-top: 22px; }
.why-item::before, .why-item::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ink); transform-origin: left; }
.why-item::after { height: 2px; top: -.5px; background: var(--acc); transform: scaleX(0); transition: transform .6s var(--ease); }
.why-item:hover::after { transform: scaleX(1); }
html.js .why-item::before { transform: scaleX(0); }
html.js .why-item.is-in::before { transform: scaleX(1); transition: transform 1.3s var(--ease-io) var(--d, 0s); }
.why-top { margin-bottom: 64px; }
.why-item h3 { font-size: clamp(19px, 1.55vw, 22px); font-weight: 450; line-height: 1.25; letter-spacing: -.022em; text-wrap: balance; }
.why-item p { margin-top: 14px; font-size: 15px; color: var(--ink-2); text-wrap: pretty; }
.team-row {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gap); align-items: center;
  margin-top: clamp(72px, 8vw, 112px); padding-top: clamp(48px, 5vw, 72px); border-top: 1px solid var(--rule);
}
.faces { grid-column: 1 / span 5; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.faces img {
  width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px;
  filter: saturate(.8) contrast(1.02); background: var(--paper);
  translate: 0 calc(var(--o, 0px) * (1 - var(--k, 1)));
  transition: filter .4s;
}
.faces img:hover { filter: saturate(1) contrast(1.02); }
html.js .faces img { clip-path: inset(100% 0 0 0 round 12px); }
html.js .team-row.is-in .faces img { clip-path: inset(0 0 0 0 round 12px); transition: clip-path 1.2s var(--ease-io) calc(.15s + var(--i) * 110ms), filter .4s; }
.team-note { grid-column: 7 / span 6; font-size: clamp(22px, 2.3vw, 32px); font-weight: 350; line-height: 1.3; letter-spacing: -.03em; text-wrap: pretty; }
.team-note a { border-bottom: 2px solid var(--acc); transition: color .2s; }
.team-note a:hover { color: var(--ink-2); }

/* ---------- Doświadczenie ---------- */
.res { padding-top: 0; }
.res .sec-head { padding-top: clamp(72px, 8vw, 112px); border-top: 1px solid var(--rule); }
.res-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.case { display: flex; flex-direction: column; padding: 32px 30px 28px; background: var(--paper); border: 1px solid var(--rule); border-radius: 18px; }
.fig { font-size: clamp(76px, 8.4vw, 136px); font-weight: 250; line-height: .9; letter-spacing: -.06em; font-feature-settings: 'tnum'; white-space: nowrap; }
.fig .x { color: var(--ink-3); margin-left: .02em; }
.bars { display: grid; gap: 6px; margin-top: 28px; }
.bars i { display: block; height: 4px; width: var(--w); border-radius: 99px; background: rgba(17, 18, 20, .16); transform-origin: left; }
.bars .b-acc { background: var(--acc); }
html.js .bars i { transform: scaleX(0); }
html.js .case.is-in .bars i { transform: scaleX(1); transition: transform 1.2s var(--ease-io) .35s; }
html.js .case.is-in .bars .b-acc { transition-delay: .7s; }
.fig-l { margin-top: 22px; max-width: 26ch; font-size: 18px; font-weight: 450; line-height: 1.35; letter-spacing: -.015em; }
.case-text { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); }
.ctx { margin-top: auto; padding-top: 28px; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--acc); color: var(--on-acc); padding-block: clamp(96px, 11vw, 168px); }
.cta-lines {
  position: absolute; top: 50%; right: var(--pad); width: min(36vw, 520px); transform: translateY(-50%);
  display: grid; gap: 13px; pointer-events: none;
}
.cta-lines i { display: block; height: 1.5px; width: var(--w); background: var(--on-acc); opacity: .2; border-radius: 2px; }
html.js .cta-lines i { transform: translateX(calc(var(--x) * (1 - var(--k, 1)))); }
.cta-row { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gap); align-items: end; }
.cta h2 { grid-column: 1 / span 7; font-size: clamp(42px, 6vw, 96px); font-weight: 350; line-height: .98; letter-spacing: -.05em; text-wrap: balance; }
.cta-act { grid-column: 1 / span 6; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.cta-act .mono { color: var(--on-acc); opacity: .8; }

/* ---------- Stopka ---------- */
.foot { background: var(--bg-deep); color: var(--tx); padding: 80px 0 36px; }
.foot-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px var(--gap); padding-bottom: 64px; }
.foot-brand { grid-column: 1 / span 4; }
.foot-brand address { display: grid; gap: 4px; margin-top: 28px; font-size: 14.5px; line-height: 1.6; color: var(--tx-2); }
.foot-brand address a { color: var(--tx); justify-self: start; border-bottom: 1px solid var(--line-2); transition: border-color .2s; }
.foot-brand address a:hover { border-color: var(--tx); }
.foot-cols { grid-column: 5 / span 8; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-col .mono { margin-bottom: 18px; color: var(--tx-3); }
.foot-col li + li { margin-top: 9px; }
.foot-col a { font-size: 14.5px; color: var(--tx-2); transition: color .2s; }
.foot-col a:hover { color: var(--tx); }
.foot-word { margin-bottom: 36px; }
.foot-word svg { width: 100%; height: auto; overflow: visible; }
.foot-word text { font-family: var(--sans); font-size: 200px; font-weight: 200; fill: none; stroke: var(--line-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.foot-bot { display: flex; justify-content: space-between; gap: 16px 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.foot-bot .mono { color: var(--tx-3); }
.f-cookies { transition: color .2s; }
.f-cookies:hover { color: var(--tx); }

/* ---------- Ograniczony ruch ---------- */
@media (prefers-reduced-motion: reduce) {
  html.js .rv, html.js .st, html.js .st-node, html.js .bars i, html.js .why-item::before, html.js .faces img { transition: none !important; }
  html.js .rv { opacity: 1; transform: none; }
  html.js .bars i { transform: none; }
  html.js .why-item::before { transform: none; }
  html.js .faces img { clip-path: none; }
  html.js [data-split] { opacity: 1; }
  html.js .mnav a { opacity: 1; transform: none; transition: none; }
  html.js .field .ln { stroke-dashoffset: 0; }
  html.js .field .dot { opacity: 1; }
  html.js .card.rv.is-in:hover { transform: none; }
  .mnav, .mnav.is-open { transition: none; }
}

/* ---------- Responsywność ---------- */
@media (max-width: 1180px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px var(--gap); }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .hdr-row { gap: 16px; }
  .hdr-cta { margin-left: auto; }
  .hero-inner { min-height: 0; }
  .hero-copy { grid-column: 1 / -1; }
  .field { width: 100%; opacity: .42; }
  .sec-head .eyebrow, .h2 { grid-column: 1 / -1; }
  .sec-head .eyebrow { padding-top: 0; }
  .h2 { margin-top: 16px; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .track-line { left: 7px; right: auto; top: 8px; bottom: 0; width: 1px; height: auto; }
  .tl-prog { width: 1px; height: 100%; transform: scaleY(var(--p, 1)); transform-origin: top; background: linear-gradient(180deg, color-mix(in srgb, var(--acc) 25%, transparent), var(--acc)); }
  .tl-prog::after { right: -3px; top: auto; bottom: -3px; transform: scaleY(calc(1 / max(var(--p, 1), .01))); }
  .st { padding-top: 0; padding-left: 36px; }
  .st-node { top: 3px; }
  .res-grid { grid-template-columns: 1fr; }
  .case { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 var(--gap); align-items: start; }
  .case > * { grid-column: 2; }
  .case .fig, .case .bars { grid-column: 1; }
  .case .fig { grid-row: 1 / span 2; }
  .case .bars { grid-row: 3 / span 2; align-self: start; margin-top: 24px; }
  .case .fig-l { grid-row: 1; margin-top: 0; }
  .case-text { grid-row: 2; }
  .ctx { grid-row: 3; padding-top: 20px; }
  .faces, .team-note { grid-column: 1 / -1; }
  .faces { max-width: 560px; }
  .cta-lines { display: none; }
  .cta h2, .cta-act { grid-column: 1 / -1; }
  .foot-brand, .foot-cols { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  :root { --gap: 20px; --hh: 64px; }
  .hdr-cta { display: none; }
  .menu-btn { margin-left: auto; }
  .h1 { letter-spacing: -.04em; }
  .lede { font-size: 17px; }
  .svc-grid { grid-template-columns: 1fr; }
  .card-body { padding-top: 40px; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-top { margin-bottom: 36px; }
  .brand-word { width: 99px; height: 13px; }
  .how-foot { flex-direction: column; align-items: flex-start; }
  .cta-lines { display: none; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .foot-bot { flex-direction: column; align-items: flex-start; }
  .case { display: flex; }
  .case .bars { margin-top: 28px; }
  .case .fig-l { margin-top: 22px; }
}
