:root {
  --bg:        #05031b;
  --accent:    #5700FF;
  --accent-hi: #6e1aff;
  --light:     #F5F0FF;
  --mint:      #00FFB2;
  --muted:     rgba(245, 240, 255, 0.45);
  --border:    rgba(245, 240, 255, 0.08);
  --border-hi: rgba(87, 0, 255, 0.5);

  --font-ui:   'Syne', sans-serif;
  --font-mono: 'DM Mono', monospace;

  --pad-x: 56px;
  --pad-section: 120px;
}


*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body {  
  background: var(--bg);
  color: var(--light);
  font-family: var(--font-ui);
  font-weight: 400;
  overflow-x: hidden;
  cursor: none;
}

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 0; }

#cursor {
  width: 10px;
  height: 10px;
  background: var(--mint);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999999;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: width .22s cubic-bezier(0.16, 1, 0.3, 1), height .22s cubic-bezier(0.16, 1, 0.3, 1), background .22s ease, border .22s ease, opacity .2s ease;
  will-change: left, top, width, height;
}

#cursor.visible {
  opacity: 1;
}

#cursor.grow {
  width: 44px;
  height: 44px;
  background: rgba(0, 255, 178, 0.22);
  border: 1.5px solid var(--mint);
  opacity: 0.7 !important;
}

@media (hover: none) and (pointer: coarse) {
  #cursor { display: none !important; }
  body, * { cursor: auto !important; }
}

body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.blob-container {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0; overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.blob-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #1a00a8 0%, #5700FF 40%, transparent 70%);
  top: -100px; left: -100px;
  opacity: .6;
  animation: bF1 12s ease-in-out infinite;
}
.blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #00FFB2 0%, #00a86b 40%, transparent 70%);
  top: 30%; left: 40%;
  opacity: .15;
  animation: bF2 16s ease-in-out infinite;
}
.blob-3 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #5700FF 0%, #2200aa 50%, transparent 70%);
  bottom: -200px; right: -150px;
  opacity: .4;
  animation: bF3 14s ease-in-out infinite;
}
@keyframes bF1 {
  0%,100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(60px, 40px) scale(1.05); }
  66%      { transform: translate(-30px, 80px) scale(.95); }
}
@keyframes bF2 {
  0%,100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-80px, -60px) scale(1.1); }
}
@keyframes bF3 {
  0%,100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-50px, 30px) scale(1.08); }
  66%      { transform: translate(40px, -40px) scale(.92); }
}

img {
  content-visibility: auto;
}

.ch {
  position: absolute;
  width: 20px; height: 20px;
  z-index: 10;
}
.ch::before, .ch::after {
  content: '';
  position: absolute;
  background: rgba(245, 240, 255, .25);
}
.ch::before { width: 1px; height: 100%; left: 50%; top: 0; }
.ch::after  { width: 100%; height: 1px; top: 50%; left: 0; }
.ch.tl { top: 32px; left: 32px; }
.ch.tr { top: 32px; right: 32px; }
.ch.bl { bottom: 32px; left: 32px; }
.ch.br { bottom: 32px; right: 32px; }

.asterisk {
  display: inline-block;
  color: var(--mint);
  animation: spin 8s linear infinite;
  margin: 0 10px;
}
@keyframes spin  { to { transform: rotate(360deg); } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes scrollPulse {
  0%, 100% { opacity: .4; }
  50%       { opacity: 1;  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .15s; }
.reveal.d2 { transition-delay: .30s; }
.reveal.d3 { transition-delay: .45s; }
.reveal.d4 { transition-delay: .60s; }



.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono), DM Mono, monospace;
  font-size: 12px;
  letter-spacing: 1px;
  margin-right: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: none;
  transition: border-color .4s;
}
.lang-switch a, .lang-switch span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 6px;
  
}
.lang-active {
  color: var(--mint); 
  background: rgba(0, 255, 178, 0.08);
  font-weight: 500;
}
.lang-opt {
  color: white;
  text-decoration: none;
  transition: all .2s ease;
}
.lang-opthover {
  color: var(--mint); 
  background: rgba(0, 255, 178, 0.08);
}
.lang-sep {
  padding: 0;
  color: rgba(65, 255, 106, 0.6);
}
nav {
   backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  will-change: transform;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 500;
  padding: 20px var(--pad-x);
  display: 
flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s ease;
}
nav.hidden {
  transform: translateY(-120%);
}
.nav-links {
  list-style: none;
  display: 
flex;
  flex-direction: row;
  gap: 40px;
  margin-left: auto;
  margin-right: 24px;
}

.nav-logo {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 5px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--light);
}
.nav-logo span { color: var(--mint); }

.nav-icon {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: border-color .3s;
}
.nav-icon:hover { border-color: var(--mint); }

.nav-links {
  list-style: none;
  display: 
flex;
  gap: 40px;
  margin-left: auto;
  margin-right: 24px;
}
.nav-links a {
  cursor: none;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  transition: color .3s;
}
.nav-links a:hover { color: var(--mint); }
.nav-hamburger { display: none; }

.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
}

.vertical-text {
  position: absolute;
  right: var(--pad-x);
  top: 50%;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.hero-tag {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp .8s .3s forwards;
}

.hero-name {
  font-weight: 800;
  font-size: clamp(72px, 12vw, 190px);
  line-height: .88;
  letter-spacing: -3px;
  text-transform: uppercase;
  color: var(--light);
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp .9s .5s forwards;
}
.hero-name .outline {
  display: block;
  -webkit-text-stroke: 2px var(--accent);
  color: transparent;
}

.hero-sub {
  margin-top: 32px;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp .8s .7s forwards;
}
.hero-sub-bar {
  display: inline-block;
  background: rgba(87, 0, 255, .18);
  border: 1px solid rgba(87, 0, 255, .5);
  padding: 10px 24px;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mint);
  backdrop-filter: blur(8px);
}

.hero-scroll {
  position: absolute;
  bottom: 80px;
  right: var(--pad-x);
  display: 
flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeIn 1s 1.4s forwards;
}
.hero-scroll span {
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}


.ticker-wrap {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  background: rgba(87, 0, 255, .04);
}
.ticker-track {
  display: 
flex;
  white-space: nowrap;
  width: max-content;
  animation: ticker 60s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}
.ticker-item {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 48px;
  flex-shrink: 0;
}
.ticker-item .dot {
  color: var(--mint);
  margin-right: 12px;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


.section-header {
  display: 
flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 64px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.section-label {
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--mint);
  padding-left: 5px;
}
.section-title {
  font-weight: 800;
  font-size: clamp(40px, 6vw, 88px);
  line-height: .9;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin-top: 8px;
}
.section-num {
  font-family: var(--font-mono);
  font-size: clamp(80px, 10vw, 160px);
  font-weight: 300;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(245, 240, 255, .1);
  color: transparent;
  user-select: none;
}


#projekty {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--pad-section) var(--pad-x);
}

a.projekt {
  display: block;
  aspect-ratio: 16/9;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: none;
  transition: border-color .4s;
}
a.projekt:hover {
  border-color: var(--border-hi);
  cursor: none;
}

.projekty-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  row-gap: 56px; 
  column-gap: 16px;
  width: 100%;
}
.projekt {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: none;
  transition: border-color .4s;
}
.projekt:hover { border-color: var(--border-hi); }

.projekt:nth-child(1) { grid-column: 1 / 7;  grid-row: 1; aspect-ratio: 16/9; }
.projekt:nth-child(2) { grid-column: 7 / 13; grid-row: 1; aspect-ratio: 16/9; }

.projekt:nth-child(3) { grid-column: 1 / 5;  grid-row: 2; aspect-ratio: 4/5; }
.projekt:nth-child(4) { grid-column: 5 / 9;  grid-row: 2; aspect-ratio: 4/5; }
.projekt:nth-child(5) { grid-column: 9 / 13; grid-row: 2; aspect-ratio: 4/5; }

.projekt:nth-child(1) { background: linear-gradient(135deg, #0d0030, #1a005a); }
.projekt:nth-child(2) { background: linear-gradient(135deg, #001a0d, #003320); }
.projekt:nth-child(3) { background: linear-gradient(135deg, #1a0030, #30005a); }
.projekt:nth-child(4) { background: linear-gradient(135deg, #00101a, #00253a); }
.projekt:nth-child(5) { background: linear-gradient(135deg, #1a1000, #3a2500); }


.projekt img {
  position: absolute;   
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;           
  transition: transform .6s ease;
}
.projekt:hover img { transform: scale(1.04); }

.projekt-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.projekt-inner {
  position: absolute;
  inset: 0;
  z-index: 3;                
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;

  background: linear-gradient(
    to top,
    rgba(5, 3, 27, 0.95) 0%,    
    rgba(5, 3, 27, 0.60) 30%,   
    transparent 65%              
  );

  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s ease, transform .4s ease;
}

.projekt:hover .projekt-inner {
  opacity: 1;
  transform: translateY(0);
}
.projekt-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--mint);
  margin-bottom: 8px;
}
.projekt-tytul {
  font-weight: 700;
  font-size: clamp(16px, 2vw, 26px);
  line-height: 1.1;
  margin-bottom: 8px;
}
.projekt-kat {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #F5F0FF;
}


.foto-baner {
  display: block;
  position: relative;
  margin: 0 var(--pad-x);
  padding: 56px 48px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--light);
  overflow: hidden;
  cursor: none;
  transition: border-color .4s;
}
.foto-baner:hover { border-color: var(--mint); }

.foto-baner-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,rgba(0, 255, 178, 0.04) 0%,transparent 60%);
  transition: opacity .4s;
}
.foto-baner:hover .foto-baner-bg {
  opacity: 2;
  background: linear-gradient(
    135deg,
    rgba(0, 255, 178, 0.08) 0%,
    transparent 60%
  );
}

.foto-baner-content {
  position: relative;
  z-index: 1;
  display: 
flex;
  align-items: center;
  gap: 40px;
}

.foto-baner-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--mint);
  white-space: nowrap;
}

.foto-baner-tytul {
  font-weight: 800;
  font-size: clamp(24px, 4vw, 56px);
  line-height: .95;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: var(--light);
  flex: 1;
  transition: color .3s;
}
.foto-baner:hover .foto-baner-tytul { color: var(--mint); }

.foto-baner-cta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 10px 20px;
  white-space: nowrap;
  transition: color .3s, border-color .3s;
}
.foto-baner:hover .foto-baner-cta {
  color: var(--mint);
  border-color: var(--mint);
}


#inne-prace {
  position: relative;
  z-index: 2;
  padding: var(--pad-section) var(--pad-x);
  border-top: 1px solid var(--border);
}

.inne-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 0;
}

.inne-item {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0820;
  transition: border-color .4s;
  cursor: none;
}

.inne-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.inne-item:hover {
  border-color: var(--border-hi);
}

.inne-item:hover img {
  cursor: none;
  transform: scale(1.04);
}

.inne-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 3, 27, 0.92) 0%,
    rgba(5, 3, 27, 0.4) 40%,
    transparent 70%);
  display: 
flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity .4s ease;
   pointer-events: none;
}

.inne-item:hover .inne-overlay {
  opacity: 1;
}

.inne-kat {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mint);
}

.ip-lightbox {
  display: none;
  position: fixed; inset: 0;
  z-index: 9000;
  background: rgba(5,3,27,0.97);
  align-items: center; justify-content: center;
}
.ip-lightbox.active { display: 
flex; }
.ip-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}
.ip-lightbox-close {
  position: absolute; top: 20px; right: 20px;
  background: none; border: 1px solid rgba(245,240,255,0.08);
  color: rgba(245,240,255,0.45);
  width: 44px; height: 44px;
  display: 
flex; align-items: center; justify-content: center;
  cursor: pointer; transition: color .3s, border-color .3s;
}
.ip-lightbox-close:hover { color: #00FFB2; border-color: #00FFB2; }
.ip-lightbox-close svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.inne-item { cursor: pointer; }


#uslugi {
  position: relative;
  z-index: 2;
  padding: var(--pad-section) var(--pad-x);
}

.uslugi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 64px;
}

.usluga {
  background: var(--bg);
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  cursor: none;
}
.usluga::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(115, 0, 255, 0.126), transparent 70%);
  opacity: 0;
  transition: opacity .4s;
}
.usluga:hover::before { opacity: 1; }

.usluga-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--mint);
  margin-bottom: 32px;
}
.usluga-ikona {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--muted);
}
.usluga h3 {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.usluga p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}



.stats-grid {
  cursor: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}
.stat {
  cursor: none;
  background: var(--bg);
  padding: 40px 32px;
  text-align: center;
}
.stat-num {
  cursor: none;
  font-family: var(--font-mono);
  font-size: clamp(40px, 4vw, 64px);
  font-weight: 300;
  color: var(--mint);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  cursor: none;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
}


#kontakt {
  position: relative;
  z-index: 2;
  padding: 160px var(--pad-x);
  text-align: center;
  border-top: 1px solid var(--border);
}

.kontakt-tag {
  display: block;
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 32px;
}
.kontakt-heading {
  font-weight: 800;
  font-size: clamp(56px, 9vw, 148px);
  line-height: .88;
  letter-spacing: -3px;
  text-transform: uppercase;
  margin-bottom: 48px;
}
.kontakt-heading .outline {
  -webkit-text-stroke: 2px var(--light);
  color: transparent;
}
.kontakt-email {
  display: inline-block;
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--light);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  margin-bottom: 64px;
  transition: color .3s, border-color .3s;
}
.kontakt-email:hover { color: var(--mint); border-color: var(--mint); }

.kontakt-buttons {
  display: 
flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}


.btn {
  display: inline-block;
  padding: 16px 40px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: none;
  transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.btn-filled {
  background: var(--accent);
  color: var(--light);
}
.btn-filled:hover {
  background: var(--accent-hi);
  transform: translateY(-3px);
}
.btn-outline {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--mint);
  color: var(--mint);
  transform: translateY(-3px);
}


footer {
  position: relative;
  z-index: 2;
  padding: 40px var(--pad-x);
  display: 
flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
}
.copy {
  transform: translateX(-50%);
  margin-left: 120px;
}
.copy p {
  font-size: 10px;
  letter-spacing: 2px;
  opacity: 0.7;
}
.footer-logo {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 5px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--light);
}
.footer-logo span { color: var(--mint); }
footer p { font-size: 11px; color: var(--muted); }

.footer-socials {
  display: 
flex;
  gap: 24px;
}
.footer-socials a {
  position: relative;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .3s;
  white-space: nowrap; 
}

.footer-socials a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--mint);
  transition: all .3s ease;
  transform: translateX(-50%);
}

.footer-socials a:hover {
  color: var(--mint);
}

.footer-socials a:hover::after {
  width: 100%;
}
.wip-bar {
  position: relative;
  z-index: 600;
  background: rgba(87, 0, 255, 0.12);
  border-bottom: 1px solid rgba(87, 0, 255, 0.3);
  padding: 10px var(--pad-x);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mint);
  display: 
flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.wip-dot {
  width: 6px;
  height: 6px;
  background: var(--mint);
  border-radius: 50%;
  display: inline-block;
  animation: wipPulse 1.5s ease-in-out infinite;
}

@keyframes wipPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.4); }
}


@media (pointer: fine) {
  *, *::before, *::after {
    cursor: none !important;
  }
}

@media (max-width: 1024px) {
  :root { --pad-x: 40px; }
  .inne-grid { grid-template-columns: repeat(2, 1fr); }
  .projekty-grid {
    grid-template-columns: 1fr 1fr;
  }
.projekt:nth-child(1) { grid-column: 1 / 2; grid-row: 1; aspect-ratio: 16/9; }
.projekt:nth-child(2) { grid-column: 2 / 3; grid-row: 1; aspect-ratio: 16/9; }
.projekt:nth-child(3) { grid-column: 1 / 2; grid-row: 2; aspect-ratio: 1; }
.projekt:nth-child(4) { grid-column: 2 / 3; grid-row: 2; aspect-ratio: 1; }
.projekt:nth-child(5) { grid-column: 1 / 2; grid-row: 3; aspect-ratio: 1; }
.projekt:nth-child(6) { grid-column: 2 / 3; grid-row: 3; aspect-ratio: 1; }
.projekt:nth-child(n) .projekt-inner { opacity: 1; transform: translateY(0); }

  .uslugi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --pad-x: 20px; --pad-section: 64px; }

  html, body, .page-wrap {
    overflow-x: hidden;
    max-width: 100%;
  }

.wip-bar {
  font-size: 8px;
  letter-spacing: 1.5px;
  padding: 8px 16px;
  gap: 10px;
  line-height: 1.5;
  position: absolute; 
  top: 0;
  left: 0;
  right: 0;
  z-index: 600;
}

.wip-dot { width: 5px; height: 5px; }

  #cursor { display: none; }
  .hero {
    position: relative;
    height: 130vh;
    padding: 0;
    overflow: visible;
  }

  .hero-sticky-frame {
    position: sticky;
    top: 0;
    height: 100svh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .hero-image-wrapper {
    padding: 0;
    transform: translateY(5vh);
  }

  .hero-1to1 {
    transform: scale(1.35);
    transform-origin: center center;
  }

nav {
    position: fixed;
    top: 40px; 
    padding: 12px var(--pad-x);
    z-index: 1000; 
    background: #05031b !important; 
  }

  .nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    position: relative;
    z-index: 1200;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    transition: transform .3s ease, opacity .3s ease, background-color .3s ease;
  }
  .nav-hamburger.open span {
    background: var(--mint);
  }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(5,3,27,0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 84px var(--pad-x) 32px;
    gap: 0;
    transform: translateY(-110%);
    transition: transform .4s cubic-bezier(0.16,1,0.3,1);
    z-index: 1100;
    border-bottom: 1px solid var(--border);
    list-style: none;
    margin: 0;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li {
    width: 100%;
  }
  .nav-links li a {
    font-family: var(--font-ui);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    transition: color .3s;
  }
  .nav-links li a:hover { color: var(--mint); }
  .nav-icon { display: none; }
 
  
  
  .vertical-text { display: none; }
  .hero-scroll { display: none; }
  .hero-tag { font-size: 9px; letter-spacing: 2px; }
  .hero-name {
    font-size: clamp(38px, 14vw, 64px);
    letter-spacing: -1px;
    line-height: 1;
    overflow: hidden;
    max-width: 100%;
  }
  .hero-name .outline {
    -webkit-text-stroke: 1px var(--accent);
  }
  .hero-sub { margin-top: 20px; }
  .hero-sub-bar {
    font-size: 8px;
    padding: 8px 12px;
    letter-spacing: 2px;
    white-space: normal;
    word-break: break-word;
    max-width: 100%;
  }


  .ticker-wrap { max-width: 100%; overflow: hidden; }
.ticker-item { font-size: 9px; padding: 0 24px; flex-shrink: 0; }
.ticker-track { animation-duration: 40s; }


  .projekty-grid {
  grid-template-columns: 1fr;
  gap: 8px;
  width: 100%;
}
.projekt:nth-child(n) {
  grid-column: 1 / 2 !important;
  grid-row: auto !important;
  aspect-ratio: 4/3;
  max-width: 100%;
  width: 100%;
  min-width: 0;
}
.projekt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.projekt picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
}
.projekt picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.projekt:hover picture img { transform: scale(1.04); 
}
.projekt:nth-child(1) .projekt-inner::after {
  font-size: 7px;
  padding: 4px 8px;
  top: 10px;
  right: 10px;
}
  .projekt-inner {
    opacity: 1;
    transform: translateY(0);
    padding: 16px 20px;
    align-items: flex-start;
    text-align: left;
  }
  .projekt-num { text-align: left; }
  .projekt-tytul { text-align: left; font-size: clamp(14px, 4vw, 20px); }
  .projekt-kat { text-align: left; }


  .section-header { margin-bottom: 32px; }
  .section-title { font-size: clamp(28px, 9vw, 48px); white-space: normal; }
  .section-num { display: none; }
  .section-label { font-size: 9px; }

  .foto-baner {
    margin: 0 var(--pad-x);
    padding: 32px 24px;
  }
  .foto-baner-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .foto-baner-cta { font-size: 9px; padding: 8px 14px; }


.inne-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .inne-overlay {
    opacity: 1;
    background: linear-gradient(
      to top,
      rgba(5, 3, 27, 0.85) 0%,
      transparent 60%
    );
  }
   .inne-kat { font-size: 8px; letter-spacing: 2px; }


  .uslugi-grid { grid-template-columns: 1fr; }
  .usluga { padding: 32px 24px; }
  .usluga-arrow { display: none; }

 


#kontakt { 
  padding: 80px var(--pad-x);
  box-sizing: border-box;
}
.kontakt-heading {
  font-size: clamp(14px, 9.5vw, 80px);
  letter-spacing: -1px;
  white-space: normal;
  overflow: visible;
  width: 100%;
}
  .kontakt-buttons { flex-direction: column; align-items: center; }

 
  footer { flex-direction: column; gap: 16px; text-align: center; }
  .footer-socials { justify-content: center; }

}

@media (max-width: 400px) {
  .hero-name { font-size: clamp(32px, 12vw, 52px); }
  .kontakt-heading { font-size: clamp(28px, 10vw, 48px); }
  .stat-num { font-size: clamp(24px, 7vw, 36px); }
    
  .inne-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .inne-item {
    aspect-ratio: 4/5;
    width: 100%;
    max-width: 100%;
  }

  .inne-item img {
    object-fit: cover;
    object-position: center center !important;
    width: 100% !important;
    height: 100% !important;
  }
}

.star-bg {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 80vw;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 4px rgba(87, 0, 255, 0.06);
  pointer-events: none;
  z-index: 0;
  user-select: none;
  animation: starRotate 60s linear infinite;

}
@keyframes starRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}



.hero {
  position: relative;
  height: 160vh;
}

.hero-sticky-frame {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--pad-x);
  z-index: 5;
  pointer-events: none;
  transform: translateY(-8vh);
  perspective: 1200px;
  overflow: visible;
}

#hero-svg,
.hero-1to1 {
  width: 100%;
  max-width: 1600px;
  height: auto;
  overflow: visible;
  display: block;
}

.hero-letter {
  transform-box: fill-box;
  transform-origin: center center;
  will-change: transform, opacity, filter;
}


.cv-section {
  padding: 40px var(--pad-x); 
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  overflow: hidden; 
}

.cv-top {
  display: flex;
  gap: 40px; 
  align-items: center; 
  margin-bottom: 40px; 
  max-width: 1200px; 
  margin-left: auto; 
  margin-right: auto; 
}

.cv-photo-box {
  flex-shrink: 0;
  width: 200px; 
}

.cv-photo-box img {
  width: 100%;
  height: auto;
  display: block;
}

.cv-bio-box {
  flex: 1; 
}


@keyframes beamRotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.cv-stats-bar {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto 50px auto;
  padding: 24px 40px;
  border-radius: 100px;
  overflow: hidden;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.45),
    0 0 20px rgba(0, 229, 255, 0.1);
  transition: box-shadow .2s ease;
}

.cv-stats-bar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1600px;
  height: 1600px;
  transform: translate(-50%, -50%) rotate(0deg);
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 28deg,
    rgba(0, 229, 255, 0) 33deg,
    rgba(56, 189, 248, 0.8) 41deg,
    #00e5ff 43.5deg,
    #ffffff 45deg,
    #00e5ff 46.5deg,
    rgba(56, 189, 248, 0.8) 49deg,
    rgba(0, 229, 255, 0) 57deg,
    transparent 62deg,
    transparent 208deg,
    rgba(0, 229, 255, 0) 213deg,
    rgba(56, 189, 248, 0.8) 221deg,
    #00e5ff 223.5deg,
    #ffffff 225deg,
    #00e5ff 226.5deg,
    rgba(56, 189, 248, 0.8) 229deg,
    rgba(0, 229, 255, 0) 237deg,
    transparent 242deg,
    transparent 360deg
  );
  animation: beamRotate 2s linear infinite;
  z-index: 1;
  pointer-events: none;
}

.cv-stats-bar::after {
  content: '';
  position: absolute;
  inset: 1.5px;
  border-radius: inherit;
  background: 
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E"),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(5, 3, 27, 0.75) 100%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.2);
  z-index: 2;
  pointer-events: none;
}

.cv-stats-bar:hover {
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.55),
    0 0 30px rgba(0, 229, 255, 0.2);
}

.cv-stat {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: none;
  padding: 0 10px;
}


.cv-stat-num {
  font-family: var(--font-mono); 
  font-size: 32pt;
  font-weight: 300; 
  color: var(--mint);
  line-height: 1;
  margin-bottom: 6px;
  text-shadow: none;
}

.cv-stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--light);
}


.cv-name, .cv-heading {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 26pt; 
  letter-spacing: 0;
  color: var(--light);
  text-transform: uppercase;
}

.cv-name { margin-bottom: 12px; }
.cv-heading { margin-bottom: 16px; }

.cv-desc, .cv-info, .cv-lang-name, .cv-lang-lvl, .cv-edu-desc, .cv-skills-list p {
  font-family: 'Syne', sans-serif;
  font-size: 11pt; 
  font-weight: 400;
  line-height: 1.4;
  color: var(--light);
}

.cv-desc { max-width: 600px; }

.cv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
  row-gap: 32px; 
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}


.cv-timeline { list-style: none; }
.cv-timeline li {
  display: grid;
  grid-template-columns: 50px 30px 1fr;
  align-items: stretch;
  min-height: 24px; 
}

.cv-year {
  font-family: var(--font-mono);
  font-size: 11pt; 
  color: var(--light);
  text-align: left;
  padding-top: 2px;
}

.cv-dot-wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
.cv-dot { width: 8px; height: 8px; background-color: var(--mint); border-radius: 50%; position: relative; z-index: 2; margin-top: 4px; }
.cv-line { position: absolute; top: 10px; width: 1px; height: calc(100% + 14px); background-color: var(--muted); z-index: 1; }
.cv-info { color: var(--light); padding-bottom: 12px; }


.cv-pills { display: flex; flex-direction: column; gap: 8px; }
.cv-pills-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cv-pills span { font-family: var(--font-mono); font-size: 10pt; color: var(--mint); border: 1px solid var(--mint); padding: 4px 12px; border-radius: 30px; }

.cv-langs { display: flex; flex-direction: column; gap: 8px; }
.cv-lang-item { display: grid; grid-template-columns: 100px 1fr; }
.cv-lang-name { color: var(--light); }


.cv-software-block { width: max-content; }
.cv-software-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 40px); 
  justify-content: space-between; 
  row-gap: 12px; 
  width: 100%; 
}
.cv-software-grid img { width: 100%; height: auto; filter: invert(1); border-radius: 8px; }
.cv-software-grid img[alt="HTML5"], .cv-software-grid img[alt="CSS3"], .cv-software-grid img[alt="JS"] { border-radius: 0; }


.cv-edu-list, .cv-skills-list { display: flex; flex-direction: column; gap: 12px; }
.cv-edu-year { font-family: var(--font-mono); font-size: 11pt; color: var(--mint); margin-bottom: 2px; }

@media (min-width: 1025px) {
  .cv-top,
  .cv-grid {
    position: relative;
    left: 140px;
  }
}

@media (max-width: 1024px) {
  .cv-grid { grid-template-columns: 1fr; gap: 40px; }
  .cv-top { flex-direction: column; gap: 24px; }
  .cv-photo-box { width: 100%; max-width: 300px; margin: 0 auto; }
  .cv-name, .cv-heading { font-size: 24pt; }
}


a.projekt .projekt-inner::after {
  content: 'ZOBACZ PROJEKT \2197';
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--bg);
  background: var(--mint);
  padding: 10px 18px;
  border-radius: 30px;
  opacity: 0;
  transform: translateY(-15px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
a.projekt:hover .projekt-inner::after {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 480px) {
  
  .hero-image-wrapper { padding: 0; transform: translateY(5vh); }
  .hero-1to1 { width: 100%; max-width: 100%; height: auto; transform: scale(1.55); transform-origin: center center; }

  
  .kontakt-heading { font-size: clamp(24px, 9vw, 36px); word-break: normal; padding: 0 10px; }
  .footer-socials { flex-wrap: wrap; justify-content: center; column-gap: 24px; row-gap: 12px; }

  
  .projekty-grid { display: flex; flex-direction: column; gap: 24px; }
  .projekt:nth-child(n) { width: 100%; aspect-ratio: 3/4; }
  a.projekt .projekt-inner::after { opacity: 1; transform: translateY(0); top: 16px; right: 16px; padding: 6px 12px; font-size: 8px; }

  
  .cv-section { padding: 40px 16px; }
  .cv-top { margin-bottom: 32px; gap: 20px; }
  .cv-photo-box { max-width: 140px; } 

.cv-stats-bar {
    flex-wrap: wrap; 
    justify-content: center;
    gap: 24px;
    padding: 24px 16px;
    border-radius: 24px; 
    margin-top: 32px; 
    margin-bottom: 32px;
  }
  .cv-stat { width: 40%; padding: 0; }
  .cv-stat-num { font-size: 24pt; margin-bottom: 6px; }

  .cv-grid { gap: 32px; }
  .cv-block { width: 100%; text-align: center; } 

  .cv-name { font-size: 22pt; margin-bottom: 8px; text-align: center; }
  .cv-desc { font-size: 10pt; line-height: 1.4; padding: 0 10px; text-align: center; }
  .cv-heading { font-size: 16pt; margin-bottom: 12px; }
  
  .cv-info, .cv-lang-name, .cv-lang-lvl, .cv-edu-desc, .cv-skills-list p { font-size: 9.5pt; line-height: 1.3; }
  .cv-year, .cv-edu-year { font-size: 10pt; }

  .cv-timeline { align-items: center; justify-content: center; display: flex; flex-direction: column; }
  .cv-timeline li { grid-template-columns: 40px 20px 1fr; min-height: 24px; width: 100%; max-width: 250px; text-align: left; }
  .cv-info { padding-bottom: 10px; }

.cv-pills { align-items: center; justify-content: center; width: 100%; }
.cv-pills-row { justify-content: center; display: flex; flex-wrap: wrap; gap: 8px; }
.cv-pills span { font-size: 8.5pt; padding: 4px 10px; }
  
  .cv-langs { align-items: center; }
  .cv-lang-item { grid-template-columns: 80px 1fr; width: 100%; max-width: 200px; text-align: left;}

  .cv-software-grid { justify-content: center; gap: 12px; grid-template-columns: repeat(3, 40px); margin: 0 auto;}
  
  .cv-edu-list, .cv-skills-list { align-items: center; text-align: center; gap: 12px; }
  .foto-baner-tytul {
    font-size: clamp(16px, 5.2vw, 22px) !important; 
    word-break: normal; 
    overflow-wrap: normal;
    white-space: nowrap;
  }
  .foto-baner {
    padding: 32px 16px !important; 
  }
}

.ticker-separator {
  position: relative;
  overflow: hidden;
  background: rgba(87, 0, 255, 0.05); 
  padding: 16px 0;
  margin: 64px 0;
  border-top: 1px solid rgba(0, 255, 178, 0.15); 
  border-bottom: 1px solid rgba(0, 255, 178, 0.15);
  z-index: 5;
}


.ticker-separator::before, 
.ticker-separator::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px; 
  height: 100%;
  z-index: 2;
  pointer-events: none;
  backdrop-filter: blur(8px); 
  -webkit-backdrop-filter: blur(8px); 
}

.ticker-separator::before {
  left: 0;
  
  -webkit-mask-image: linear-gradient(to right, black 10%, transparent 100%);
  mask-image: linear-gradient(to right, black 10%, transparent 100%);
}

.ticker-separator::after {
  right: 0;
  
  -webkit-mask-image: linear-gradient(to left, black 10%, transparent 100%);
  mask-image: linear-gradient(to left, black 10%, transparent 100%);
}

.ticker-separator .ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 15s linear infinite; 
  will-change: transform;
}

.ticker-separator .ticker-track span {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 8px;
  text-transform: uppercase;
  padding-right: 80px;
  font-weight: 800;
  color: var(--mint); 
  opacity: 0.6; 
}

@keyframes cookieReveal {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner-wrap {
  position: fixed !important;
  bottom: 24px !important;
  left: 24px !important;
  right: 24px !important;
  max-width: 560px !important;
  z-index: 999999 !important;
  animation: cookieReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.cookie-banner-wrap.cookie-closing {
  animation: none !important;
  opacity: 0 !important;
  transform: translateY(24px) !important;
  pointer-events: none !important;
}
.cookie-banner-box {
  background: rgba(5, 3, 27, 0.96);
  border: 1px solid var(--mint);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 255, 178, 0.15);
  backdrop-filter: blur(16px);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-banner-text h4 {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--mint);
  margin-bottom: 8px;
}
.cookie-banner-text p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--light);
}
.cookie-banner-text a {
  color: var(--mint);
  text-decoration: underline;
}
.cookie-banner-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .cookie-banner-wrap {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--mint) !important;
  outline-offset: 4px;
}