/* ---------- Wariant A3-jasny — graficzny na jasnym tle ---------- */

/* Typografia: Montserrat w tekstach drugorzednych; naglowki, duze liczby
   i etykiety mono zostaja w Space Grotesk / JetBrains Mono */
body.font-sans { font-family: 'Montserrat', 'Space Grotesk', sans-serif; }
h1, h2, h3, h4, h5, h6,
[class*="text-4xl"], [class*="text-5xl"], [class*="text-6xl"],
[class*="text-7xl"], [class*="text-8xl"], [class*="text-9xl"] { font-family: 'Space Grotesk', sans-serif; }
.font-mono, .badge-xv * { font-family: 'JetBrains Mono', monospace !important; }

/* Twarze WEC: flex zamiast grida, zeby niepelny ostatni wiersz byl wysrodkowany */
.portraits-grid .portrait-card { width: calc((100% - 1rem) / 2); }
@media (min-width: 768px) {
  .portraits-grid .portrait-card { width: calc((100% - 2rem) / 3); }
}
@media (min-width: 1024px) {
  .portraits-grid .portrait-card { width: calc((100% - 5rem) / 6); }
}

/* Stopka: okragle ikony social */
.footer-social {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 10, 46, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(26, 10, 46, 0.55);
  transition: border-color 0.25s, color 0.25s, transform 0.25s;
}
.footer-social:hover {
  border-color: #7C3AED;
  color: #7C3AED;
  transform: translateY(-2px);
}
.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

html { scroll-behavior: smooth; }
body {
  cursor: none;
  background: #FAF7FE;
}
@media (max-width: 768px) { body { cursor: auto; } }
/* Na desktopie systemowy kursor jest ukryty globalnie - zadne cursor: pointer /
   zoom-in (Tailwind, .collage-photo itd.) nie moze go przywracac, bo strona
   rysuje wlasny kursor w a3-effects.js */
@media (min-width: 769px) {
  body, body * { cursor: none !important; }
}

/* Canvas partikli */
#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
}

/* Graphic layer 2 — linie geometryczne (z A2-jasny) */
.graphic-layer-j {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.a3-body > *:not(.graphic-layer-j):not(.graphic-layer):not(#particles):not(.custom-cursor):not(.custom-cursor-aura) {
  position: relative;
  z-index: 1;
}

/* Linie i okręgi — mocniejsze (przejmują rolę usuniętych blobów) */
.rays { position: absolute; width: 70vw; height: 70vh; opacity: 0.85; }
.rays-tl { top: -10%; left: -15%; animation: a3-ray-fade 12s ease-in-out infinite alternate; }
.rays-br { bottom: -20%; right: -20%; width: 90vw; height: 90vh; animation: a3-ray-fade 16s ease-in-out infinite alternate-reverse; }
.rays g { stroke-opacity: 0.55; }
@keyframes a3-ray-fade {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0.95; transform: scale(1.05); }
}

.concentric { position: absolute; width: 700px; height: 700px; max-width: 65vw; max-height: 65vw; opacity: 0.85; }
.concentric-right { top: 28%; right: -10%; animation: a3-pulse 8s ease-in-out infinite; }
.concentric-bl { bottom: 0%; left: -12%; width: 560px; height: 560px; max-width: 55vw; max-height: 55vw; animation: a3-pulse 11s ease-in-out infinite reverse; }
.concentric g { stroke-width: 1.3 !important; }
.concentric circle { stroke-opacity: inherit; }
.concentric-right g circle:nth-child(1) { stroke-opacity: 0.7 !important; }
.concentric-right g circle:nth-child(2) { stroke-opacity: 0.55 !important; }
.concentric-right g circle:nth-child(3) { stroke-opacity: 0.4 !important; }
.concentric-right g circle:nth-child(4) { stroke-opacity: 0.28 !important; }
@keyframes a3-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.06); opacity: 0.6; }
}

/* Krata punktów — dużo gęstsza i większa */
.dot-grid {
  position: absolute;
  top: 70vh;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100vh;
  background-image: radial-gradient(circle, rgba(124, 58, 237, 0.35) 1.2px, transparent 1.8px);
  background-size: 28px 28px;
  opacity: 1;
  mask-image: radial-gradient(ellipse 70% 60% at center, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at center, black 20%, transparent 75%);
}
/* drugi dot-grid w innej skali — głębia */
.dot-grid::after {
  content: "";
  position: absolute;
  inset: -30vh -10vw;
  background-image: radial-gradient(circle, rgba(167, 139, 250, 0.4) 1px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse 55% 45% at 70% 30%, black 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse 55% 45% at 70% 30%, black 10%, transparent 65%);
}

.h-lines { display: none; }
@keyframes a3-line-shift {
  0% { transform: translateX(-5%); opacity: 0.7; }
  50% { opacity: 1; }
  100% { transform: translateX(5%); opacity: 0.7; }
}

.crosshair { position: absolute; width: 50px; height: 50px; opacity: 0.7; }
.crosshair-1 { top: 18%; right: 8%; animation: a3-cross 4s ease-in-out infinite; }
.crosshair-2 { top: 140vh; left: 15%; animation: a3-cross 5s ease-in-out infinite 1s; }
@keyframes a3-cross {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.15); }
}

/* Custom cursor — fiolet na jasnym tle */
.custom-cursor { background: #7C3AED !important; mix-blend-mode: normal !important; }
.custom-cursor-aura { border-color: rgba(124, 58, 237, 0.5) !important; }
.custom-cursor-aura.aura-active { background: rgba(124, 58, 237, 0.18) !important; }

/* Override A2 — giant "WEC" (poprzednio "15"): mniejsze + jaśniejsze */
.giant-15 {
  -webkit-text-stroke-color: rgba(124, 58, 237, 0.12) !important;
  font-size: clamp(14rem, 38vw, 56rem) !important;
  letter-spacing: -0.05em !important;
}
.blob { display: none !important; }
.noise-overlay { display: none !important; }

/* ============ Reszta = A2-graficzny base ============ */
/* ---------- Wariant A2 — graficzny / motion-loaded ---------- */

/* ============ GRAPHIC LAYER (fixed) ============ */
.graphic-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.a2-body > *:not(.graphic-layer):not(.custom-cursor):not(.custom-cursor-aura) {
  position: relative;
  z-index: 1;
}

/* Noise overlay */
.noise-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Blobs */
.blob {
  position: absolute;
  width: 80vw;
  max-width: 900px;
  height: auto;
  filter: blur(40px);
  opacity: 0.55;
}
.blob-1 { top: -10%; left: -20%; animation: blob-pulse 16s ease-in-out infinite; }
.blob-2 { top: 40%; right: -25%; animation: blob-pulse 20s ease-in-out infinite reverse; }
@keyframes blob-pulse {
  0%, 100% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.15) translate(40px, -20px); }
}

/* Orbits */
.orbits {
  position: absolute;
  width: 90vw;
  max-width: 1100px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.4;
  animation: orbits-spin 80s linear infinite;
}
@keyframes orbits-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Giant "15" — parallax watermark */
.giant-15 {
  position: absolute;
  top: 110%;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(30rem, 80vw, 120rem);
  line-height: 0.8;
  letter-spacing: -0.08em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(168, 85, 247, 0.08);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Custom cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: #A855F7;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: difference;
}
.custom-cursor-aura {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(168, 85, 247, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transition: width 0.25s, height 0.25s, background 0.25s;
}
.custom-cursor-aura.aura-active {
  width: 80px;
  height: 80px;
  background: rgba(168, 85, 247, 0.15);
}
@media (max-width: 768px) {
  .custom-cursor, .custom-cursor-aura { display: none; }
}

/* Hero meta line */
.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 1rem;
  background: rgba(168, 85, 247, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 999px;
}
.dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #A855F7;
  box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.6);
  animation: dot-pulse 1.6s ease-out infinite;
}
@keyframes dot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.6); }
  100% { box-shadow: 0 0 0 14px rgba(168, 85, 247, 0); }
}
.meta-divider {
  width: 1px;
  height: 16px;
  background: rgba(196, 181, 253, 0.3);
}

/* Hero headline (z scramble) */
.hero-headline {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.9;
}
.scramble {
  display: inline-block;
}
.scramble-char {
  display: inline;
  color: #A855F7;
  font-style: normal;
  font-weight: 400;
}

/* Asymetryczny collage */
.collage-photo {
  position: absolute;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 25px 60px -20px rgba(124, 58, 237, 0.4), 0 0 0 1px rgba(168, 85, 247, 0.18);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s;
  transform: rotate(var(--tilt-base, 0deg));
  cursor: zoom-in;
}
.collage-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.collage-tag {
  position: absolute;
  bottom: 0.6rem;
  left: 0.6rem;
  padding: 0.3rem 0.6rem;
  background: rgba(11, 6, 20, 0.9);
  color: #C4B5FD;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
}
.collage-1 {
  top: 0%;
  left: 5%;
  width: 60%;
  aspect-ratio: 4 / 3;
  z-index: 3;
}
.collage-2 {
  top: 30%;
  right: 0%;
  width: 50%;
  aspect-ratio: 3 / 4;
  z-index: 2;
}
.collage-3 {
  bottom: 0%;
  left: 0%;
  width: 45%;
  aspect-ratio: 3 / 4;
  z-index: 1;
}

/* Floating SVG decorations */
.float-deco {
  position: absolute;
  width: 60px;
  height: 60px;
  pointer-events: none;
}
.float-deco-1 { top: 5%; right: -20px; }
.float-deco-2 { bottom: 20%; left: 50%; width: 80px; height: 80px; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.4);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #A855F7, transparent);
  animation: scroll-line 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scroll-line {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.4); }
}

/* ============ HORIZONTAL SCROLL CASE STUDIES ============ */
.horizontal-section {
  position: relative;
  background: transparent;
}
.horizontal-pin {
  display: flex;
  height: 100vh;
  align-items: stretch;
  padding: 6rem 0 4rem 0;
  gap: 3rem;
  overflow: hidden;
}
.horizontal-header {
  flex: 0 0 380px;
  padding: 0 1.5rem 0 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.horizontal-progress {
  margin-top: 2rem;
  height: 2px;
  background: rgba(196, 181, 253, 0.15);
  border-radius: 999px;
  overflow: hidden;
  max-width: 280px;
}
.horizontal-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #A855F7, #C4B5FD);
  transition: width 0.1s linear;
}
.horizontal-track {
  flex: 1;
  overflow: hidden;
}
.horizontal-inner {
  display: flex;
  gap: 1.5rem;
  height: 100%;
  padding-right: 3rem;
  width: max-content;
}
.case-card-h {
  flex: 0 0 620px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 7vh; /* wspolna gorna linia okladek, grupa mniej wiecej wysrodkowana */
  cursor: pointer;
  position: relative;
}
.case-image-h {
  position: relative;
  flex: none;
  height: 380px; /* stala wysokosc okladki, poziomy kadr */
  background-color: #EDE4FA; /* fallback gdy zdjecie nie doladuje */
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.4s ease;
}
.case-image-h::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 6, 20, 0.85), transparent 50%);
}
.case-card-h:hover .case-image-h {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px -14px rgba(26, 10, 46, 0.18);
}
.case-overlay-h {
  position: absolute;
  inset: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
}
.case-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.1em;
}

/* line-clamp utility */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Mobile fallback dla horizontal */
@media (max-width: 1023px) {
  .horizontal-pin {
    flex-direction: column;
    height: auto;
    padding: 4rem 1.5rem;
    gap: 2rem;
  }
  .horizontal-header {
    flex: 0 0 auto;
    padding: 0;
  }
  .horizontal-track { overflow-x: auto; }
  .horizontal-inner { padding-right: 1rem; }
  .case-card-h { flex: 0 0 320px; height: auto; }
  .case-image-h { flex: none; height: 210px; }
}

/* ============ Reszta = standardowe A ============ */


/* Paleta — zmienne CSS pomocnicze */
:root {
  --accent: #A855F7;
  --accent-deep: #7C3AED;
  --accent-soft: #C4B5FD;
  --ink: #0B0614;
  --ink-soft: #13091F;
  --ink-card: #1A0F2E;
}

::selection { background: var(--accent); color: #fff; }

/* Tekst gradient fioletowy */
.text-gradient-purple {
  background: linear-gradient(135deg, #C4B5FD 0%, #A855F7 50%, #7C3AED 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Badge XV w nav */
.badge-xv {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(124, 58, 237, 0.05));
  animation: pulse-glow 3s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0); }
  50% { box-shadow: 0 0 0 8px rgba(168, 85, 247, 0.1); }
}

/* Hero glow tło - radial fiolet */
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(124, 58, 237, 0.25), transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 70%, rgba(168, 85, 247, 0.18), transparent 60%);
  pointer-events: none;
}

/* WEC outline stack */
.hero-outline-stack {
  position: absolute;
  top: 30%;
  right: -2%;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: -3rem;
  opacity: 0.5;
  pointer-events: none;
}
.text-outline {
  font-size: clamp(8rem, 18vw, 18rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(168, 85, 247, 0.18);
  margin-top: -2rem;
}
.text-outline:nth-child(2) { -webkit-text-stroke-color: rgba(168, 85, 247, 0.1); }
.text-outline:nth-child(3) { -webkit-text-stroke-color: rgba(168, 85, 247, 0.05); }

.text-outline-soft {
  color: transparent;
  -webkit-text-stroke: 1px rgba(26, 10, 46, 0.4);
}

/* Hero team photo */
.hero-team-photo {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--ink-card);
  box-shadow:
    0 25px 60px -20px rgba(124, 58, 237, 0.4),
    0 0 0 1px rgba(168, 85, 247, 0.15);
}
.hero-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(0.9);
}
.hero-team-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), transparent 60%);
  pointer-events: none;
}

/* Buttony */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.85rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px -5px rgba(168, 85, 247, 0.5);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px -8px rgba(168, 85, 247, 0.6);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.85rem;
  background: transparent;
  color: #1A0A2E;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 10, 46, 0.25);
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(124, 58, 237, 0.06);
}

/* Service card */
.service-card {
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.04), rgba(124, 58, 237, 0.02));
  border: 1px solid rgba(196, 181, 253, 0.08);
  border-radius: 6px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  opacity: 0;
  pointer-events: none; /* overlay nie moze przechwytywac klikniec w linki na karcie */
}
.service-card:hover {
  border-color: rgba(26, 10, 46, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -10px rgba(26, 10, 46, 0.12);
}

/* Case card */
.case-card {
  display: block;
  cursor: pointer;
}
.case-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.5s ease;
}
.case-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 6, 20, 0.85), transparent 60%);
}
.case-card:hover .case-image {
  transform: scale(1.015);
  box-shadow: 0 10px 28px -10px rgba(26, 10, 46, 0.15);
}
.case-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}
.badge-cat {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
}

/* Marquee klientów */
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding-right: 4rem;
  flex-shrink: 0;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.marquee-item {
  flex-shrink: 0;
  width: 190px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  background: #ffffff;
  border: 1px solid rgba(26, 10, 46, 0.08);
  border-radius: 12px;
  box-shadow: 0 2px 10px -6px rgba(26, 10, 46, 0.12);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.marquee-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -10px rgba(124, 58, 237, 0.25);
}
.marquee-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* biały kafelek pod każdym logo — pełne kolory, bez wygaszania */
}

/* Oznaczenie placeholderów (mockup: true w content/klienci.json) */
.logo-mockup {
  outline: 1px dashed rgba(124, 58, 237, 0.55);
  outline-offset: -1px;
}
.logo-mockup::after {
  content: "mockup";
  position: absolute;
  top: 5px;
  right: 7px;
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7C3AED;
  background: #EDE4FA;
  padding: 1px 5px;
  border-radius: 4px;
  pointer-events: none;
}

/* Cytat */
.quote-card {
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.04), rgba(124, 58, 237, 0.02));
  border: 1px solid rgba(196, 181, 253, 0.1);
  border-radius: 6px;
}

/* ============ ZESPÓŁ — sekcja kluczowa ============ */

/* Pełnoekranowy banner zespołu */
.team-banner-section {
  position: relative;
  border-bottom: 1px solid rgba(196, 181, 253, 0.08);
}
.team-banner {
  position: relative;
  height: 80vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.team-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 6, 20, 0.5) 0%, rgba(11, 6, 20, 0.3) 40%, rgba(11, 6, 20, 0.95) 100%),
    linear-gradient(135deg, rgba(124, 58, 237, 0.3) 0%, transparent 60%);
}
.team-banner-section h2,
.team-banner-section .text-accent-soft {
  color: #fff !important;
}
.team-banner-section h2 .text-gradient-purple {
  /* gradient zostaje fioletowy, działa OK na ciemnym overlay */
}

/* Twarze WEC — portretowe karty */
.portrait-card {
  cursor: pointer;
  transition: transform 0.3s;
}
.portrait-card:hover {
  transform: translateY(-4px);
}
.portrait-photo {
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  filter: grayscale(0.4) contrast(1.05);
  transition: filter 0.4s, box-shadow 0.4s;
}
.portrait-card:hover .portrait-photo {
  filter: grayscale(0) contrast(1.05);
  box-shadow: 0 10px 22px -8px rgba(26, 10, 46, 0.18);
}

/* Masonry zdjęć z sesji */
.team-masonry {
  column-count: 1;
  column-gap: 1rem;
}
@media (min-width: 640px) { .team-masonry { column-count: 2; } }
@media (min-width: 1024px) { .team-masonry { column-count: 3; } }
@media (min-width: 1280px) { .team-masonry { column-count: 4; } }

.masonry-item {
  break-inside: avoid;
  margin: 0 0 1rem 0;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  cursor: zoom-in;
}
.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.95);
  transition: transform 0.6s ease, filter 0.4s;
}
.masonry-item:hover img {
  transform: scale(1.03);
  filter: saturate(1.1);
}
.masonry-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(11, 6, 20, 0.9), transparent);
  color: rgba(255, 255, 255, 0.85);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
}
.masonry-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

/* Form */
.form-input {
  width: 100%;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(26, 10, 46, 0.15);
  border-radius: 4px;
  color: #1A0A2E;
  font-size: 1rem;
  transition: all 0.3s;
}
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(168, 85, 247, 0.08);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
}
.form-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* Counter — reset koloru dla span */
.counter span { color: #1A0A2E; -webkit-text-fill-color: #1A0A2E; }

/* ============ Formularz aplikacyjny (kariera) ============ */
.job-form-card {
  background: #ffffff;
  border: 1px solid rgba(26, 10, 46, 0.1);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 20px 50px -30px rgba(26, 10, 46, 0.25), 0 2px 12px -6px rgba(124, 58, 237, 0.08);
}
@media (min-width: 1024px) {
  .job-form-card { padding: 3rem; }
}
.job-form-card .form-input {
  background: rgba(250, 247, 254, 0.6);
  border: 1.5px solid rgba(26, 10, 46, 0.35);
}
.job-form-card .form-input:focus {
  border-color: var(--accent);
}

/* Select ze strzałką */
.select-wrap { position: relative; }
.form-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.75rem;
  cursor: pointer;
}
.select-wrap::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #7C3AED;
  border-bottom: 2px solid #7C3AED;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

/* Dropzone na pliki */
.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 150px;
  padding: 1.25rem;
  border: 2px dashed rgba(124, 58, 237, 0.55);
  border-radius: 12px;
  background: rgba(237, 228, 250, 0.25);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.dropzone:hover, .dropzone.drag-over {
  border-color: #7C3AED;
  background: rgba(237, 228, 250, 0.55);
}
.dropzone.drag-over { transform: scale(1.015); }
.dropzone input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.dropzone svg {
  width: 28px;
  height: 28px;
  color: #7C3AED;
  opacity: 0.8;
}
.dropzone .dz-label { font-size: 0.9rem; color: rgba(26, 10, 46, 0.75); }
.dropzone .dz-hint { font-family: "JetBrains Mono", monospace; font-size: 0.68rem; color: rgba(26, 10, 46, 0.4); letter-spacing: 0.05em; }
.dropzone .dz-file {
  display: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: #7C3AED;
  font-weight: 600;
  word-break: break-all;
}
.dropzone.has-file {
  border-style: solid;
  border-color: rgba(124, 58, 237, 0.6);
  background: rgba(237, 228, 250, 0.5);
}
.dropzone.has-file .dz-label, .dropzone.has-file .dz-hint { display: none; }
.dropzone.has-file .dz-file { display: block; }

/* Linki: chips */
.link-add-btn {
  flex-shrink: 0;
  padding: 0 1.4rem;
  background: rgba(124, 58, 237, 0.1);
  border: 1.5px solid rgba(124, 58, 237, 0.5);
  border-radius: 4px;
  color: #7C3AED;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.link-add-btn:hover { background: #7C3AED; color: #fff; }
.link-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.link-chips:empty { margin-top: 0; }
.link-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.5rem 0.35rem 0.8rem;
  background: rgba(237, 228, 250, 0.6);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  font-weight: 600;
  color: #5B21B6;
}
.link-chip svg { opacity: 0.7; }
.link-chip button {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.15);
  color: #5B21B6;
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.link-chip button:hover { background: #7C3AED; color: #fff; }
.input-error {
  border-color: #DC2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}

/* Wiersze radio ankiety */
.radio-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(26, 10, 46, 0.1);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-size: 0.95rem;
}
.radio-row:hover { border-color: rgba(124, 58, 237, 0.4); }
.radio-row:has(input:checked) {
  border-color: #7C3AED;
  background: rgba(237, 228, 250, 0.35);
}
.radio-row input[type="radio"] { accent-color: #7C3AED; }
