/* Cyber Plus — premium cinematic redesign */
:root {
  --bg-void: #05080d;
  --bg-deep: #070f18;
  --bg-elevated: #0a1018;
  --surface: #0c121c;
  --surface-2: #111a28;
  --border: rgba(120, 140, 180, 0.14);
  --border-strong: rgba(160, 190, 255, 0.22);
  --text: #f0f3fa;
  --text-muted: #9aa6c0;
  --text-dim: #6a758e;
  --accent: #7eb4ff;
  --accent-deep: #3d7fd4;
  --accent-glow: rgba(126, 180, 255, 0.45);
  --warm: #e8c4a8;
  --warm-glow: rgba(232, 196, 168, 0.15);
  --ice: #a8d4ff;
  /* Light band / „wyspy” */
  --ink: #0a0f18;
  --ink-muted: #3d4d66;
  --ink-faint: #5a6a82;
  --mist-0: #fcfdff;
  --mist-1: #eef3fb;
  --mist-2: #dfe8f4;
  --frost: rgba(255, 255, 255, 0.92);
  --radius-lg: 24px;
  --radius-md: 14px;
  --max-w: 1180px;
  --max-w-wide: 1400px;
  --font-display: "Syne", var(--font-sans);
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Instrument Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --neon: #8ec8ff;
  --pcb-cyan: #46e8ff;
  --pcb-violet: #a78bfa;
  --pcb-trace: rgba(70, 232, 255, 0.18);
  --section-pad: clamp(4.5rem, 12vw, 9rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  /* Logo w navbarze — wysokość w okolicy przycisku / linków (btn ~2.5–2.75rem) */
  --header-logo-square: clamp(2.2rem, 7.2vw, 2.7rem);
  --header-logo-wide-h: clamp(2.45rem, 3.8vw, 3.15rem);
  --logo-square-pad-scale: 1.06;
  --hero-parallax-x: 0px;
  --hero-parallax-y: 0px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-void);
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #030508;
  font-weight: 600;
  border-radius: var(--radius-md);
  z-index: 1000;
  transition: top 0.25s var(--ease-out);
}
.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ——— Global atmosphere ——— */
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(100, 130, 200, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 130, 200, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(70, 232, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 232, 255, 0.04) 1px, transparent 1px);
  background-size:
    72px 72px,
    72px 72px,
    18px 18px,
    18px 18px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% -10%, black 0%, transparent 65%);
}

.bg-glow {
  position: fixed;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: min(160vw, 1400px);
  height: 85vh;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 40% at 50% 20%, rgba(80, 140, 255, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 70% 60%, rgba(100, 200, 255, 0.05) 0%, transparent 50%);
}

.cursor-glow {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(126, 180, 255, 0.07) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  left: var(--cursor-x, 50%);
  top: var(--cursor-y, 40%);
  opacity: 0;
  transition: opacity 0.5s ease;
}
body:hover .cursor-glow {
  opacity: 1;
}
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .cursor-glow {
    display: none;
  }
}

.wrap {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.wrap--wide {
  max-width: var(--max-w-wide);
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(3, 5, 8, 0.92) 0%, rgba(3, 5, 8, 0.65) 85%, transparent 100%);
  backdrop-filter: blur(12px);
  transition: border-color 0.3s, background 0.3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(6, 10, 16, 0.88);
}

.site-header .inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0.65rem clamp(1rem, 3.5vw, 1.75rem);
  min-height: unset;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}
@media (min-width: 900px) {
  .site-header .inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(0.85rem, 2.2vw, 1.75rem);
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
  color: var(--text);
  outline: none;
  overflow: visible;
  max-width: none;
}
@media (min-width: 900px) {
  .logo {
    grid-column: 1;
    justify-self: start;
  }
}
.logo:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: 10px;
}

/*
 * Kwadratowe logo (mobile): ewentualny margines w PNG — lekki scale (--logo-square-pad-scale).
 * Rozmiar ramki = --header-logo-square (dopasowany do wysokości paska jak przycisk Kontakt).
 */
.logo__square-crop {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--header-logo-square);
  height: var(--header-logo-square);
  overflow: hidden;
  flex-shrink: 0;
}
.logo__square-crop .logo__square {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  transform: scale(var(--logo-square-pad-scale));
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.35)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}
.logo__wide {
  display: none;
  width: auto;
  height: var(--header-logo-wide-h);
  max-height: 3.15rem;
  max-width: none;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.3)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}
@media (min-width: 900px) {
  .logo__square-crop {
    display: none;
  }
  .logo__wide {
    display: block;
    height: var(--header-logo-wide-h);
    max-height: 3.15rem;
    max-width: none;
  }
}
@media (min-width: 900px) and (max-width: 1180px) {
  .nav-desktop {
    gap: clamp(0.55rem, 1vw, 1rem);
  }
  .nav-desktop a {
    font-size: 0.8125rem;
    letter-spacing: 0.025em;
  }
  .nav-desktop a.btn.btn-primary {
    padding: 0.62rem 1.05rem;
    font-size: 0.8125rem;
  }
}

.footer-brand {
  margin: 0 0 1rem;
  line-height: 0;
}
.footer-brand__img {
  display: block;
  height: auto;
  width: auto;
  max-width: min(22rem, 92vw);
  max-height: clamp(3rem, 7vw, 4.25rem);
  object-fit: contain;
  object-position: left center;
}

.nav-desktop {
  display: none;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  min-width: 0;
}
@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
    grid-column: 2;
    justify-self: stretch;
  }
}
.nav-desktop a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color 0.25s var(--ease-soft);
}
.nav-desktop a:hover {
  color: var(--text);
}

/* CTA w nav: .nav-desktop a ma wyższą specyficzność od samego .btn-primary — wymuszamy ciemny tekst */
.nav-desktop a.btn.btn-primary,
.nav-desktop a.btn.btn-primary:hover,
.nav-mobile-cta.btn.btn-primary,
.nav-mobile-cta.btn.btn-primary:hover {
  color: #030712;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.35s var(--ease-out),
    border-color 0.35s,
    color 0.35s,
    transform 0.35s var(--ease-out),
    box-shadow 0.45s;
}
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(135deg, #a8c8f5 0%, #6ea6f0 38%, var(--accent-deep) 100%);
  color: #030712;
  box-shadow: 0 0 0 0 transparent;
}
.btn-primary:hover {
  color: #020510;
  box-shadow: 0 0 48px rgba(126, 180, 255, 0.35);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: rgba(126, 180, 255, 0.5);
  color: var(--ice);
  background: rgba(126, 180, 255, 0.06);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

/*
 * Przycisk „Kontakt” poza <nav> — musi być PO regule .btn (wyższa specyficzność),
 * inaczej .btn { display: inline-flex } nadpisuje display:none i na desktopie widać dwa Kontakt.
 */
.btn.nav-mobile-cta {
  display: none;
}
@media (max-width: 899px) {
  .btn.nav-mobile-cta {
    display: inline-flex;
  }
}

/* ——— Cinematic Hero ——— */
main {
  /* Fixed header — wysokość jak rząd logo + linki + btn (~3.6–4.6rem) */
  padding-top: clamp(4.35rem, 11vw, 5.25rem);
}
@media (min-width: 900px) {
  main {
    padding-top: clamp(4.15rem, 9vw, 5rem);
  }
}

.hero-cinematic {
  position: relative;
  min-height: min(92vh, 900px);
  padding: clamp(2rem, 6vw, 4rem) 0 clamp(4rem, 10vw, 6rem);
  overflow: clip;
  display: flex;
  align-items: center;
}

.hero-atmo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-noise {
  position: absolute;
  inset: -20%;
  opacity: 0.035;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-volumetric {
  position: absolute;
  inset: -15% -20%;
  background:
    radial-gradient(ellipse 55% 40% at 50% 110%, rgba(126, 180, 255, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 45% 35% at 15% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
  opacity: 0.85;
  transform: translate(calc(var(--hero-parallax-x) * 0.08), calc(var(--hero-parallax-y) * 0.08));
  transition: transform 0.75s var(--ease-soft);
  pointer-events: none;
}

.hero-light-canopy {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.09) 0%,
    transparent 22%,
    transparent 58%,
    rgba(255, 255, 255, 0.03) 100%
  );
  mix-blend-mode: soft-light;
  opacity: 0.55;
  pointer-events: none;
}

.hero-ambient-sweep {
  position: absolute;
  inset: -35% -25%;
  background: radial-gradient(ellipse 90% 70% at 72% 18%, rgba(255, 248, 238, 0.055) 0%, transparent 48%);
  pointer-events: none;
  opacity: 0.85;
  animation: hero-ambient-sway 26s ease-in-out infinite alternate;
}
@media (prefers-reduced-motion: reduce) {
  .hero-ambient-sweep {
    animation: none;
  }
}
@keyframes hero-ambient-sway {
  0% {
    transform: translate(-1.5%, 0) scale(1);
    opacity: 0.65;
  }
  100% {
    transform: translate(1.5%, 2%) scale(1.04);
    opacity: 0.95;
  }
}

.hero-drift-glow {
  position: absolute;
  inset: -25% -15%;
  background: radial-gradient(ellipse 55% 45% at 78% 42%, rgba(180, 210, 255, 0.09) 0%, transparent 55%);
  pointer-events: none;
  opacity: 0.75;
  animation: hero-drift-glow-move 32s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}
@media (prefers-reduced-motion: reduce) {
  .hero-drift-glow {
    animation: none;
  }
}
@keyframes hero-drift-glow-move {
  0% {
    transform: translate(-2%, 1%) scale(1);
    opacity: 0.55;
  }
  100% {
    transform: translate(3%, -2%) scale(1.08);
    opacity: 0.88;
  }
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(40, 80, 160, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse 60% 45% at 85% 100%, rgba(126, 180, 255, 0.08) 0%, transparent 45%),
    linear-gradient(180deg, transparent 0%, rgba(3, 5, 8, 0.4) 100%);
  transform: translate(calc(var(--hero-parallax-x) * 0.5), calc(var(--hero-parallax-y) * 0.5));
  transition: transform 0.6s var(--ease-soft);
}

.hero-aurora {
  position: absolute;
  inset: -20% -10%;
  background: conic-gradient(from 200deg at 50% 50%, transparent, rgba(100, 160, 255, 0.04), transparent 40%);
  animation: aurora-spin 28s linear infinite;
  opacity: 0.65;
}
@media (prefers-reduced-motion: reduce) {
  .hero-aurora {
    animation: none;
  }
}
@keyframes aurora-spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(2.5rem, 8vw, 4rem);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.12fr);
    gap: clamp(2.25rem, 5.5vw, 4.5rem);
    align-items: center;
  }
}

.hero-copy {
  max-width: 38rem;
}
.hero-copy--cinema {
  max-width: min(36rem, 100%);
}
.hero-copy--cinema .hero-lead {
  max-width: 44ch;
}
@media (min-width: 1024px) {
  .hero-copy {
    padding-top: 2vh;
    margin-left: -0.25rem;
  }
  .hero-copy--cinema {
    max-width: min(32.5rem, 100%);
    padding-right: 0.5rem;
  }
}

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-dim);
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-kicker-line {
  display: inline-block;
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55), rgba(126, 180, 255, 0.35), transparent);
  flex-shrink: 0;
}

.hero-cinematic h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 4.15rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  background: linear-gradient(180deg, #fff 0%, #b8c8e8 55%, #7a8cb0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 80px rgba(126, 180, 255, 0.12);
}

.hero-lead {
  margin: 1.75rem 0 0;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: rgba(180, 192, 215, 0.92);
  font-weight: 400;
  max-width: 38ch;
}

.hero-trust-line {
  margin: 2rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(140, 155, 180, 0.55);
  line-height: 1.7;
  max-width: 36ch;
}

.hero-cta-row {
  margin-top: 2.25rem;
}

/* Hero — stage + real portfolio composition */
.hero-stage {
  position: relative;
  min-height: clamp(320px, 56vh, 600px);
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1600px;
}
@media (min-width: 1024px) {
  .hero-stage {
    min-height: clamp(420px, 62vh, 700px);
    margin-right: -6vw;
    padding-left: 0.5rem;
  }
}

.hero-scene {
  position: relative;
  width: 100%;
  max-width: min(1080px, 100%);
  height: min(62vh, 680px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transform: translate3d(calc(var(--hero-parallax-x) * -0.06), calc(var(--hero-parallax-y) * -0.045), 0);
  transition: transform 0.65s var(--ease-soft);
}

.hero-scene__bloom {
  position: absolute;
  width: 140%;
  height: 70%;
  top: -5%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 55% 50% at 50% 50%, rgba(126, 180, 255, 0.12) 0%, transparent 68%);
  filter: blur(38px);
  pointer-events: none;
  opacity: 0.85;
  animation: hero-bloom-breathe 10s ease-in-out infinite alternate;
}
@media (prefers-reduced-motion: reduce) {
  .hero-scene__bloom {
    animation: none;
  }
}
@keyframes hero-bloom-breathe {
  0% {
    opacity: 0.65;
    transform: translateX(-50%) scale(0.98);
  }
  100% {
    opacity: 0.9;
    transform: translateX(-50%) scale(1.04);
  }
}

.hero-scene__halo {
  position: absolute;
  inset: 8% 2%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
  opacity: 0.35;
  box-shadow: inset 0 0 80px rgba(126, 180, 255, 0.04);
}

.hero-scene__dust {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.04) 0, transparent 1px),
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.03) 0, transparent 1px),
    radial-gradient(circle at 45% 75%, rgba(200, 220, 255, 0.05) 0, transparent 1px);
  background-size: 100% 100%;
  opacity: 0.45;
  pointer-events: none;
  animation: hero-dust-shift 18s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero-scene__dust {
    animation: none;
  }
}
@keyframes hero-dust-shift {
  to {
    transform: translate3d(-8px, 6px, 0);
  }
}

/* Hero — real work showcase (one composition, not widgets) */
.hero-works {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: min(1040px, 100%);
  margin: 0 auto;
  min-height: min(58vh, 640px);
  height: min(58vh, 640px);
  transform-style: preserve-3d;
}

.hero-works__plinth {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 4%;
  height: 18%;
  border-radius: 50%;
  background: radial-gradient(ellipse 50% 40% at 50% 0%, rgba(126, 180, 255, 0.14) 0%, transparent 70%);
  filter: blur(18px);
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}

.hero-works__rim {
  position: absolute;
  inset: 6% 4% 10%;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 120px rgba(126, 180, 255, 0.04);
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}

.hero-work {
  position: absolute;
  text-decoration: none;
  color: inherit;
  outline: none;
  z-index: 2;
  transition: filter 0.65s var(--ease-out), transform 0.65s var(--ease-out);
  transform-style: preserve-3d;
}

.hero-work:focus-visible {
  outline: 2px solid rgba(126, 180, 255, 0.85);
  outline-offset: 6px;
  border-radius: 20px;
}

.hero-work__bob {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  transition: transform 0.75s var(--ease-out);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-work--podwiatr .hero-work__bob {
    animation: hero-work-bob 9s ease-in-out infinite;
    animation-delay: -1s;
  }
  .hero-work--featured .hero-work__bob {
    animation: hero-work-bob 11s ease-in-out infinite;
    animation-delay: -3s;
  }
  .hero-work--slodko .hero-work__bob {
    animation: hero-work-bob 10s ease-in-out infinite;
    animation-delay: -5s;
  }
}

@keyframes hero-work-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-work--podwiatr .hero-work__bob,
  .hero-work--featured .hero-work__bob,
  .hero-work--slodko .hero-work__bob {
    animation: none;
  }
}

.hero-work__label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(210, 220, 245, 0.88);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.hero-work__meta {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: rgba(160, 175, 205, 0.65);
  margin-top: -0.2rem;
}

.hero-work--podwiatr {
  left: -2%;
  bottom: 10%;
  width: min(24%, 210px);
  z-index: 3;
  transform: translate3d(calc(var(--hero-parallax-x) * 0.05), calc(var(--hero-parallax-y) * 0.04), 0) rotate(-7deg);
}

.hero-work--slodko {
  right: -3%;
  bottom: 14%;
  width: min(26%, 220px);
  z-index: 3;
  transform: translate3d(calc(var(--hero-parallax-x) * -0.04), calc(var(--hero-parallax-y) * 0.035), 0) rotate(6deg);
}

.hero-work--featured {
  left: 50%;
  bottom: 0;
  width: min(92%, 620px);
  max-width: 620px;
  z-index: 4;
  transform: translate3d(calc(-50% + var(--hero-parallax-x) * 0.02), calc(var(--hero-parallax-y) * 0.02), 0)
    perspective(1400px) rotateX(4deg) rotateY(-2deg);
}

.hero-work--featured .hero-work__label {
  align-self: flex-start;
  margin-left: 0.25rem;
}

.hero-work--featured .hero-work__meta {
  align-self: flex-start;
  margin-left: 0.25rem;
}

.hero-work__reflection {
  position: absolute;
  left: 8%;
  right: 8%;
  top: calc(100% - 0.25rem);
  height: 22%;
  border-radius: 0 0 20px 20px;
  background: linear-gradient(180deg, rgba(126, 180, 255, 0.12) 0%, transparent 80%);
  transform: scaleY(-0.42) skewX(-1deg);
  opacity: 0.4;
  filter: blur(12px);
  pointer-events: none;
}

.hero-stage:hover .hero-work--featured,
.hero-stage:hover .hero-work--podwiatr,
.hero-stage:hover .hero-work--slodko {
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.45));
}

.hero-work:hover .hero-device__screen img {
  transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  .hero-work:hover .hero-device__screen img {
    transform: none;
  }
}

/* Hero devices (scoped — not portfolio showcase) */
.hero-device {
  margin: 0;
  width: 100%;
}

.hero-device--phone .hero-device__frame {
  position: relative;
  border-radius: 30px;
  padding: 8px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16) 0%, rgba(18, 20, 26, 0.92) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 4px 6px rgba(0, 0, 0, 0.2) inset,
    0 32px 80px rgba(0, 0, 0, 0.5),
    0 0 100px rgba(126, 180, 255, 0.06);
}

.hero-device--laptop {
  border-radius: 14px 14px 20px 20px;
  overflow: hidden;
  background: linear-gradient(155deg, #1f232c 0%, #0c0e12 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 28px 80px rgba(0, 0, 0, 0.55),
    0 80px 140px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-device__chrome {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(180deg, #2c3038 0%, #14161c 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-device__dots {
  display: block;
  width: 42px;
  height: 8px;
  position: relative;
  flex-shrink: 0;
}
.hero-device__dots::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5c6068;
  box-shadow: 11px 0 0 #6a6e76, 22px 0 0 #787c84;
}

.hero-device__url {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  color: rgba(200, 210, 230, 0.45);
  flex: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-device__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #05070a;
  overflow: hidden;
}

.hero-device__screen--wide {
  aspect-ratio: 16 / 9.5;
}

.hero-device__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 1s var(--ease-out);
}

.hero-device__frame--light {
  background: linear-gradient(165deg, #f4f2ef 0%, #d8d4ce 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.85),
    0 4px 6px rgba(0, 0, 0, 0.08) inset,
    0 32px 70px rgba(40, 35, 30, 0.25);
}

.hero-device__frame--warm {
  background: linear-gradient(165deg, #fff9f4 0%, #ead9cf 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.9),
    0 4px 6px rgba(120, 80, 60, 0.1) inset,
    0 32px 70px rgba(100, 70, 55, 0.28);
}

.hero-device--phone .hero-device__screen {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 9 / 19;
  background: #000;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 -36px 70px rgba(0, 0, 0, 0.35);
}

.hero-device--phone .hero-device__screen::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  max-width: 86px;
  height: 22px;
  border-radius: 999px;
  background: #0a0a0c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  z-index: 2;
  pointer-events: none;
}

.hero-device--phone .hero-device__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.12) 0%, transparent 40%, transparent 65%, rgba(255, 255, 255, 0.04) 100%);
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 1;
}

.hero-device--phone .hero-device__screen img {
  position: relative;
  z-index: 0;
}

@media (max-width: 1023px) {
  .hero-works {
    min-height: min(72vh, 720px);
    height: auto;
    max-width: 420px;
    padding-bottom: 2rem;
  }

  .hero-work {
    position: relative;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: none !important;
    transform: none !important;
    margin-bottom: 1.25rem;
  }

  .hero-work--featured {
    order: -1;
    margin-bottom: 0.5rem;
  }

  .hero-work--podwiatr,
  .hero-work--slodko {
    display: inline-block;
    width: calc(50% - 0.5rem) !important;
    vertical-align: top;
    margin-bottom: 0;
  }

  .hero-works {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1rem;
    align-content: flex-start;
    align-items: flex-end;
  }

  .hero-work--podwiatr .hero-work__bob,
  .hero-work--slodko .hero-work__bob {
    gap: 0.35rem;
  }

  .hero-works__plinth {
    bottom: 2%;
    height: 12%;
  }

  .hero-works__rim {
    display: none;
  }

  .hero-work__reflection {
    display: none;
  }
}

@media (max-width: 520px) {
  .hero-work--podwiatr,
  .hero-work--slodko {
    width: 100% !important;
  }
}

.hero-scene__floor {
  position: absolute;
  bottom: -2%;
  left: 50%;
  width: 120%;
  height: 120px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 35% at 50% 0%, rgba(126, 180, 255, 0.1) 0%, transparent 65%);
  filter: blur(28px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

/* Hero fusion — dark cinematic × editorial light accents */
.hero--fusion {
  background:
    radial-gradient(ellipse 90% 70% at 8% 0%, rgba(255, 255, 255, 0.07) 0%, transparent 42%),
    radial-gradient(ellipse 70% 55% at 92% 15%, rgba(126, 180, 255, 0.12) 0%, transparent 48%),
    linear-gradient(178deg, #03060c 0%, #060b14 38%, #0a101c 100%);
}

.hero--fusion .hero-veil {
  background:
    radial-gradient(ellipse 75% 48% at 22% 5%, rgba(200, 220, 255, 0.08) 0%, transparent 45%),
    radial-gradient(ellipse 55% 40% at 88% 95%, rgba(80, 140, 255, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, transparent 0%, rgba(3, 5, 8, 0.55) 100%);
}

.hero--fusion h1 {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: inherit;
  display: block;
  font-weight: unset;
  letter-spacing: unset;
  line-height: 1.02;
}

.hero--fusion .head-serif {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 4.6vw, 3rem);
  font-style: italic;
  letter-spacing: -0.025em;
  color: rgba(248, 250, 255, 0.94);
  text-shadow: 0 0 60px rgba(255, 255, 255, 0.08);
  margin-bottom: 0.06em;
  line-height: 1.06;
}

.hero--fusion .head-sans {
  display: block;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(1.2rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
  text-transform: none;
  color: rgba(200, 210, 230, 0.62);
  margin-bottom: 0.06em;
  line-height: 1.14;
}

.hero--fusion .head-display {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.35rem, 6.8vw, 4.35rem);
  letter-spacing: -0.048em;
  line-height: 1.02;
  background: linear-gradient(105deg, #fff 0%, #c8daf8 42%, #7eb4ff 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 42px rgba(126, 180, 255, 0.2));
}

.btn--glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 40px rgba(0, 0, 0, 0.25);
}
.btn--glass:hover {
  border-color: rgba(126, 180, 255, 0.45);
  background: linear-gradient(135deg, rgba(126, 180, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  color: var(--ice);
}

.hero-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: clamp(0.5rem, 2vw, 1.25rem);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  pointer-events: none;
  z-index: 3;
}
.hero-scroll-hint__text {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(150, 165, 195, 0.38);
}
.hero-scroll-hint__line {
  width: 1px;
  height: 2.25rem;
  border-radius: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(126, 180, 255, 0.12), transparent);
  transform-origin: top center;
  animation: hero-scroll-pulse 2.8s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-hint__line {
    animation: none;
    opacity: 0.45;
  }
}
@keyframes hero-scroll-pulse {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.45;
  }
  50% {
    transform: scaleY(0.72);
    opacity: 0.85;
  }
}

/* ——— Sections — rhythm ——— */
section:not(.hero-cinematic) {
  position: relative;
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--border);
}

/* ——— Dual system: cinematic tech × editorial luxury ——— */
.band--dawn {
  background: linear-gradient(185deg, #b9c8dc 0%, #e8edf5 28%, #fbfcff 100%);
  color: var(--ink);
  border-top-color: rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.band--atelier {
  background: linear-gradient(180deg, #fdfefe 0%, #f3f5f9 45%, #e8ecf4 100%);
  color: var(--ink);
  border-top-color: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.band--silver {
  background: linear-gradient(175deg, #f8f9fb 0%, #eceef3 50%, #e0e3ea 100%);
  color: var(--ink);
  border-top-color: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.band--navy {
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(94, 225, 255, 0.12) 0%, transparent 50%),
    linear-gradient(185deg, #050a14 0%, #0c1830 45%, #081222 100%);
  color: var(--text);
  border-top-color: rgba(94, 225, 255, 0.18);
}

.band--showcase {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 40%, #eef2f8 100%);
  color: var(--ink);
  border-top-color: rgba(0, 0, 0, 0.04);
}

.band--immersive {
  background: radial-gradient(ellipse 70% 50% at 80% 20%, rgba(94, 225, 255, 0.06) 0%, transparent 50%),
    linear-gradient(185deg, #020308 0%, #0a1224 55%, #050c18 100%);
  color: var(--text);
  border-top-color: rgba(94, 225, 255, 0.12);
}

.band--finale {
  background: radial-gradient(ellipse 85% 70% at 50% 110%, rgba(94, 225, 255, 0.14) 0%, transparent 55%),
    linear-gradient(185deg, #010205 0%, #0a1630 100%);
  color: var(--text);
  border-top-color: rgba(94, 225, 255, 0.2);
}

.band--void {
  background: linear-gradient(180deg, #020308 0%, #000205 100%);
  color: var(--text);
  border-top-color: rgba(255, 255, 255, 0.06);
}

/* Editorial bands — typografia */
.band--dawn h2,
.band--atelier h2,
.band--silver h2,
.band--showcase h2 {
  color: var(--ink);
}

.band--dawn .section-label,
.band--atelier .section-label,
.band--silver .section-label,
.band--showcase .section-label {
  color: #15406e;
  font-weight: 600;
}

.band--dawn .section-lead,
.band--silver .section-lead,
.band--showcase .section-lead {
  color: var(--ink-muted);
}
.band--atelier .section-lead {
  color: #2a3d52;
}

.band--dawn .problem-quote,
.band--atelier .problem-quote,
.band--silver .problem-quote,
.band--showcase .problem-quote {
  color: var(--ink);
}

.band--dawn .problem-list,
.band--atelier .problem-list,
.band--silver .problem-list,
.band--showcase .problem-list {
  border-top-color: rgba(10, 15, 24, 0.1);
}
.band--dawn .problem-list li,
.band--atelier .problem-list li,
.band--silver .problem-list li,
.band--showcase .problem-list li {
  border-bottom-color: rgba(10, 15, 24, 0.08);
  color: var(--ink-muted);
}
.band--dawn .problem-list li:hover,
.band--atelier .problem-list li:hover,
.band--silver .problem-list li:hover,
.band--showcase .problem-list li:hover {
  color: var(--ink);
}
.band--dawn .problem-list .idx,
.band--atelier .problem-list .idx,
.band--silver .problem-list .idx,
.band--showcase .problem-list .idx {
  color: var(--accent-deep);
}

.band--atelier .why-statements li,
.band--silver .why-statements li {
  border-bottom-color: rgba(10, 15, 24, 0.08);
  color: var(--ink-muted);
}
.band--atelier .why-statements li strong,
.band--silver .why-statements li strong {
  color: var(--ink-muted);
}

.band--atelier .process-rail,
.band--silver .process-rail {
  border-left-color: rgba(10, 15, 24, 0.12);
}
.band--atelier .process-rail .process-step,
.band--silver .process-rail .process-step {
  border-bottom-color: rgba(10, 15, 24, 0.08);
}
.band--atelier .process-rail .process-step::before,
.band--silver .process-rail .process-step::before {
  border-color: var(--accent-deep);
  box-shadow: 0 0 12px rgba(61, 127, 212, 0.35);
}
.band--atelier .process-rail .process-step h3,
.band--silver .process-rail .process-step h3 {
  color: var(--ink);
}
.band--atelier .process-rail .process-step p,
.band--silver .process-rail .process-step p {
  color: var(--ink-muted);
}
.band--atelier .process-rail .num,
.band--silver .process-rail .num {
  color: var(--accent-deep);
}

.band--silver .faq-item,
.band--atelier .faq-item {
  border-bottom-color: rgba(10, 15, 24, 0.1);
}
.band--silver .faq-item button,
.band--atelier .faq-item button {
  color: var(--ink);
}
.band--silver .faq-item button:hover,
.band--atelier .faq-item button:hover {
  color: var(--accent-deep);
}
.band--silver .faq-panel p,
.band--atelier .faq-panel p {
  color: var(--ink-muted);
}

.band--atelier .btn-ghost,
.band--silver .btn-ghost {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(10, 15, 24, 0.12);
  color: var(--ink);
}
.band--atelier .btn-ghost:hover,
.band--silver .btn-ghost:hover {
  border-color: var(--accent-deep);
  color: var(--accent-deep);
  background: rgba(255, 255, 255, 0.95);
}

.band--atelier .link-quiet,
.band--silver .link-quiet {
  color: var(--ink-muted);
}
.band--atelier .link-quiet:hover,
.band--silver .link-quiet:hover {
  color: var(--accent-deep);
}

/* Navy — zakres usług */
.band--navy .section-label {
  color: rgba(180, 230, 255, 0.55);
}
.band--navy h2,
.band--navy .section-lead {
  color: var(--text);
}
.band--navy .section-lead {
  color: rgba(200, 210, 230, 0.85);
}
.band--navy .services-editorial {
  border-top-color: rgba(255, 255, 255, 0.1);
}
.band--navy .service-row {
  border-color: rgba(255, 255, 255, 0.1);
}
.band--navy .service-row::before {
  background: linear-gradient(90deg, rgba(94, 225, 255, 0.12), transparent);
}
.band--navy .service-row h3 {
  color: #fff;
}
.band--navy .service-row p {
  color: rgba(200, 215, 240, 0.85);
}
.band--navy .service-row .svc-tag {
  color: var(--neon);
}

/* Atelier — filary jak szkło editorial */
.band--atelier .pillar-band {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}
.band--atelier .pillar-band article {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.92) 0%, rgba(245, 247, 252, 0.65) 100%);
  backdrop-filter: blur(12px);
}
.band--atelier .pillar-band article:hover {
  background: linear-gradient(165deg, #fff 0%, rgba(240, 244, 252, 0.95) 100%);
}
.band--atelier .pillar-band h3 {
  color: var(--ink);
}
.band--atelier .pillar-band p {
  color: var(--ink-muted);
}

/* Showcase — portfolio jako galeria */
.band--showcase .portfolio-immersive--showcase {
  gap: clamp(2.5rem, 6vw, 4rem);
}
.band--showcase .case-strip {
  border-radius: 28px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 28px 80px rgba(15, 25, 45, 0.08);
  min-height: clamp(300px, 44vw, 460px);
}
.band--showcase .case-strip-visual::after {
  background: linear-gradient(180deg, transparent 35%, rgba(255, 255, 255, 0.5) 100%);
}
.band--showcase .case-strip-copy {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 250, 253, 0.98));
  border-left: 1px solid rgba(0, 0, 0, 0.05);
}
.band--showcase .case-strip--flip .case-strip-copy {
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}
.band--showcase .case-strip .eyebrow {
  color: var(--ink-faint);
}
.band--showcase .case-strip h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ink);
}
.band--showcase .case-strip p {
  color: var(--ink-muted);
}

.band--showcase .founders-cinematic {
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(236, 241, 249, 0.9));
  box-shadow: 0 20px 60px rgba(15, 25, 45, 0.06);
}
.band--showcase .founders-cinematic h3 {
  color: var(--ink-faint);
}
.band--showcase .founder {
  color: var(--ink-muted);
}
.band--showcase .founder strong {
  color: var(--ink);
}
.band--showcase .founder .stack {
  color: var(--accent-deep);
}

/* Immersive + finale — ciemne, neon */
.band--immersive .section-label,
.band--finale .section-label {
  color: rgba(150, 220, 255, 0.45);
}
.band--immersive h2,
.band--immersive .section-lead,
.band--finale h2,
.band--finale .section-lead {
  color: var(--text);
}
.band--immersive .section-lead,
.band--finale .section-lead {
  color: rgba(200, 215, 240, 0.82);
}

/* Mood case — mocniejszy storytelling */
.case-strip--podwiatr .case-strip-visual {
  background:
    radial-gradient(ellipse 90% 70% at 20% 30%, rgba(255, 255, 255, 0.14) 0%, transparent 45%),
    linear-gradient(155deg, #2a2d35 0%, #121418 50%, #1a1c22 100%);
}
.case-strip--podwiatr .case-strip-visual .mood-layer {
  opacity: 0.4;
  background: repeating-linear-gradient(
    -11deg,
    transparent,
    transparent 76px,
    rgba(255, 255, 255, 0.035) 76px,
    rgba(255, 255, 255, 0.035) 77px
  );
}
.case-strip--slodko .case-strip-visual {
  background:
    radial-gradient(ellipse 75% 65% at 75% 25%, rgba(255, 220, 200, 0.35) 0%, transparent 50%),
    linear-gradient(145deg, #4a2f35 0%, #2c1a1f 45%, #3d2825 100%);
}
.case-strip--slodko .case-strip-visual .mood-layer {
  background: radial-gradient(circle at 30% 70%, rgba(255, 230, 210, 0.2) 0%, transparent 50%);
}
.case-strip--cyber .case-strip-visual {
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(94, 225, 255, 0.25) 0%, transparent 50%),
    linear-gradient(185deg, #0a1628 0%, #020810 100%);
}
.case-strip--cyber .case-strip-visual .mood-layer {
  background-image:
    linear-gradient(rgba(94, 225, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 225, 255, 0.07) 1px, transparent 1px);
  background-size: 20px 20px;
}

.ai-panel {
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: linear-gradient(165deg, #ffffff 0%, var(--mist-1) 50%, var(--mist-2) 100%);
  color: var(--ink);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 32px 90px rgba(0, 0, 0, 0.35);
}
.ai-panel::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  right: -10%;
  top: -30%;
  background: radial-gradient(circle at 85% 0%, rgba(94, 225, 255, 0.25) 0%, transparent 45%);
  pointer-events: none;
}
.ai-panel h3 {
  color: var(--ink);
}
.ai-panel .ai-grid p {
  color: var(--ink-muted);
}

footer.site-footer.band {
  padding: 2.75rem 0 calc(5.5rem + env(safe-area-inset-bottom));
}
@media (min-width: 700px) {
  footer.site-footer.band {
    padding-bottom: 2.75rem;
  }
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  margin: 0 0 1rem;
}

section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--text);
}

.section-lead {
  margin: 0 0 2.25rem;
  max-width: 38rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.58;
}

/* Problem — editorial, not card grid */
.problem-editorial {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 800px) {
  .problem-editorial {
    grid-template-columns: 1fr 1.15fr;
    align-items: start;
    gap: 3rem;
  }
}

.problem-quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: rgba(240, 243, 250, 0.88);
}

.problem-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.problem-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--text-muted);
  display: flex;
  gap: 1rem;
  align-items: baseline;
  transition: color 0.3s, padding-left 0.35s var(--ease-out);
}
.problem-list li:hover {
  color: var(--text);
  padding-left: 0.35rem;
}
.problem-list li span.idx {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

/* Pillars — asymmetric band */
.pillar-band {
  display: grid;
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 768px) {
  .pillar-band {
    grid-template-columns: repeat(4, 1fr);
  }
}
.pillar-band article {
  background: linear-gradient(180deg, rgba(12, 18, 28, 0.95), rgba(6, 10, 16, 0.98));
  padding: 1.5rem 1.35rem;
  min-height: 100%;
  transition: background 0.4s;
}
.pillar-band article:hover {
  background: linear-gradient(180deg, rgba(20, 32, 52, 0.5), rgba(8, 12, 20, 0.98));
}
.pillar-band h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}
.pillar-band p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Services — editorial rows */
.services-editorial {
  border-top: 1px solid var(--border);
}
.service-row {
  display: grid;
  gap: 0.75rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
  transition: background 0.4s;
  position: relative;
}
.service-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, rgba(126, 180, 255, 0.08), transparent);
  transition: width 0.45s var(--ease-out);
}
.service-row:hover::before {
  width: 100%;
}
@media (min-width: 720px) {
  .service-row {
    grid-template-columns: 200px 1fr auto;
    gap: 1.5rem;
    padding: 1.5rem 0;
  }
}
.service-row h3 {
  margin: 0;
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}
.service-row p {
  margin: 0;
  position: relative;
  z-index: 1;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.service-row .svc-tag {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}

section.portfolio-exhibition {
  padding: 0;
  border-top: 1px solid var(--border);
}

.portfolio-exhibition > .band,
.portfolio-exhibition > article.band {
  padding: var(--section-pad) 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.portfolio-exhibition > article.band--case-athletic {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.portfolio-exhibition__intro {
  padding-bottom: clamp(2.5rem, 6vw, 3.5rem);
}

.section-cta--portfolio {
  margin-top: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 0;
}

/* ——— Case exhibition bands (real portfolio) ——— */
.band--case-editorial {
  background:
    radial-gradient(ellipse 80% 50% at 12% 0%, rgba(255, 255, 255, 0.75) 0%, transparent 52%),
    linear-gradient(178deg, #f4f2ee 0%, #ebe8e3 35%, #e2ded8 100%);
  color: var(--ink);
  border-top-color: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.band--case-beauty {
  background:
    radial-gradient(ellipse 70% 55% at 85% 15%, rgba(255, 220, 196, 0.45) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(245, 230, 210, 0.35) 0%, transparent 45%),
    linear-gradient(168deg, #faf6f1 0%, #f3ebe4 40%, #ede4dc 100%);
  color: #2c221c;
  border-top-color: rgba(200, 170, 140, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.band--case-athletic {
  background:
    radial-gradient(ellipse 90% 60% at 80% 0%, rgba(255, 255, 255, 0.06) 0%, transparent 45%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(94, 225, 255, 0.06) 0%, transparent 40%),
    linear-gradient(185deg, #050508 0%, #0c0e12 45%, #12151c 100%);
  color: var(--text);
  border-top-color: rgba(255, 255, 255, 0.08);
}

.portfolio-founders-band .founders-cinematic--light {
  margin-top: 0;
  padding: clamp(2.15rem, 5.5vw, 3.6rem);
  border: 1px solid rgba(61, 127, 212, 0.16);
  border-radius: calc(var(--radius-lg) + 6px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(236, 244, 252, 0.94) 45%, rgba(228, 236, 248, 0.92) 100%);
  box-shadow:
    0 24px 72px rgba(15, 35, 65, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.75) inset,
    inset 5px 0 0 0 rgba(61, 127, 212, 0.35);
  color: var(--ink-muted);
}
.portfolio-founders-band .founders-cinematic--light::before {
  background: linear-gradient(90deg, transparent, rgba(61, 127, 212, 0.35), rgba(70, 232, 255, 0.2), transparent);
  height: 2px;
  opacity: 0.95;
}
.portfolio-founders-band .founders-cinematic--light h3 {
  color: var(--ink);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.portfolio-founders-band .founders-cinematic--light .founder {
  color: var(--ink-muted);
}
.portfolio-founders-band .founders-cinematic--light strong {
  color: var(--ink);
  font-size: 1.12rem;
}
.portfolio-founders-band .founders-cinematic--light .stack {
  color: var(--accent-deep);
}

/* Showcase case layout */
.showcase-case__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

@media (min-width: 960px) {
  .showcase-case__grid--editorial {
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 6vw, 4rem);
  }
  .showcase-case__grid--beauty {
    grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.48fr);
    gap: clamp(2.5rem, 6vw, 4.5rem);
    align-items: center;
  }
}

.showcase-case__copy {
  position: relative;
  z-index: 2;
  max-width: 38ch;
}

.showcase-case__copy--athletic {
  max-width: 44ch;
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

@media (min-width: 960px) {
  .showcase-case__inner-athletic {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .showcase-case__inner-athletic .showcase-case__copy--athletic {
    margin-bottom: clamp(2rem, 5vw, 3rem);
    max-width: 52ch;
  }
}

.showcase-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 1rem;
}

.band--case-beauty .showcase-eyebrow {
  color: rgba(90, 70, 58, 0.55);
}

.showcase-eyebrow--warm {
  color: rgba(120, 85, 70, 0.55);
}

.showcase-eyebrow--ice {
  color: rgba(160, 210, 255, 0.45);
}

.showcase-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
}

.band--case-beauty .showcase-title {
  color: #1f1814;
}

.showcase-title--contrast {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  letter-spacing: -0.04em;
  color: #fff;
  text-shadow: 0 0 80px rgba(94, 225, 255, 0.12);
}

.showcase-lead {
  margin: 0 0 1.25rem;
  font-size: clamp(1rem, 1.9vw, 1.125rem);
  line-height: 1.55;
  color: var(--ink-muted);
}

.band--case-beauty .showcase-lead {
  color: rgba(60, 48, 42, 0.78);
}

.showcase-lead--muted {
  color: rgba(200, 210, 230, 0.78);
}

.showcase-domain {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 1.5rem;
}

.showcase-domain--warm {
  color: rgba(110, 80, 65, 0.65);
}

.showcase-domain--ice {
  color: rgba(160, 200, 255, 0.5);
}

.showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.showcase-btn--warm {
  background: linear-gradient(135deg, #c9a088 0%, #8b5e4a 100%);
  color: #fffaf7;
  box-shadow: 0 12px 40px rgba(120, 80, 60, 0.25);
}
.showcase-btn--warm:hover {
  box-shadow: 0 16px 48px rgba(120, 80, 60, 0.35);
}

.showcase-btn--ice {
  background: linear-gradient(135deg, #e8f4ff 0%, #7eb4ff 55%, #3d7fd4 100%);
  color: #050810;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 20px 50px rgba(0, 0, 0, 0.35);
}
.showcase-btn--ice:hover {
  box-shadow: 0 0 48px rgba(126, 180, 255, 0.35);
}

/* Device stage */
.showcase-case__stage {
  position: relative;
  perspective: 1600px;
  min-height: clamp(240px, 52vw, 520px);
}

.showcase-case__stage--athletic {
  min-height: clamp(280px, 58vw, 560px);
  margin-top: 0;
}

.showcase-hit {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 32px;
  outline: none;
  transition: transform 0.7s var(--ease-out), box-shadow 0.7s var(--ease-out);
}

.showcase-hit:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.showcase-devices {
  position: relative;
  isolation: isolate;
  --spx: 0px;
  --spy: 0px;
  transform: translate3d(var(--spx), var(--spy), 0);
  will-change: transform;
}

.showcase-hit:hover {
  filter: drop-shadow(0 28px 56px rgba(30, 35, 45, 0.18));
}

.band--case-athletic .showcase-hit:hover {
  filter: drop-shadow(0 24px 70px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 40px rgba(94, 225, 255, 0.06));
}

/* Laptop frame */
.device-laptop {
  margin: 0;
  border-radius: 14px 14px 20px 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, rgba(12, 14, 20, 0.85) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 40px 100px rgba(15, 20, 35, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transform: translateY(12px) perspective(1400px) rotateX(5deg);
  transition: transform 0.85s var(--ease-out), box-shadow 0.85s var(--ease-out);
}

.band--case-editorial .device-laptop {
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.06),
    0 50px 120px rgba(40, 35, 30, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  background: linear-gradient(160deg, #fff 0%, #f0ebe6 100%);
}

.band--case-beauty .device-laptop {
  box-shadow:
    0 0 0 1px rgba(255, 245, 235, 0.8),
    0 50px 100px rgba(120, 80, 60, 0.2),
    inset 0 1px 0 #fff;
}

.band--case-athletic .device-laptop {
  background: linear-gradient(155deg, #1a1d24 0%, #0a0c10 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 50px 120px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.device-laptop--magazine {
  border-radius: 12px 12px 18px 18px;
}

.device-laptop--tilt {
  transform: translateY(16px) perspective(1400px) rotateX(6deg) rotate(-2deg);
}

.device-laptop__chrome {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(0, 0, 0, 0.25) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.band--case-editorial .device-laptop__chrome {
  background: linear-gradient(180deg, #f7f5f2 0%, #e8e4df 100%);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.device-laptop__chrome--warm {
  background: linear-gradient(180deg, #fff9f4 0%, #f0e4da 100%);
  border-bottom-color: rgba(180, 140, 110, 0.15);
}

.device-laptop__chrome--dark {
  background: linear-gradient(180deg, #2a2d35 0%, #121418 100%);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.device-dots {
  display: block;
  width: 44px;
  height: 8px;
  position: relative;
  flex-shrink: 0;
}
.device-dots::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: 12px 0 0 #febc2e, 24px 0 0 #28c840;
}
.device-dots--warm::before {
  background: #d4a088;
  box-shadow: 12px 0 0 #c9a078, 24px 0 0 #b89270;
}
.device-dots--dark::before {
  background: #5c6068;
  box-shadow: 12px 0 0 #6a6e76, 24px 0 0 #787c84;
}

.device-url {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
  flex: 1;
  text-align: center;
}

.band--case-editorial .device-url {
  color: rgba(40, 35, 30, 0.45);
}

.device-url--warm {
  color: rgba(100, 70, 55, 0.55);
}

.device-url--dark {
  color: rgba(200, 210, 230, 0.45);
}

.device-laptop__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0a0c10;
  overflow: hidden;
}

.band--case-editorial .device-laptop__screen {
  background: #1c1b19;
}

.device-laptop__screen--athletic {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.device-laptop__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 1s var(--ease-out);
}

/* Phone */
.device-phone {
  margin: 0;
  pointer-events: none;
}

.device-phone__frame {
  border-radius: 28px;
  padding: 7px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.15) 0%, rgba(20, 22, 28, 0.9) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 28px 70px rgba(0, 0, 0, 0.45);
}

.device-phone__frame--warm {
  background: linear-gradient(165deg, #fffdfb 0%, #f5e8df 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.9),
    0 32px 70px rgba(100, 70, 55, 0.22);
}

.device-phone__frame--dark {
  background: linear-gradient(165deg, #3a3d45 0%, #121418 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 36px 80px rgba(0, 0, 0, 0.55);
}

.device-phone__screen {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 9 / 19;
  background: #000;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -48px 90px rgba(0, 0, 0, 0.38);
}

.device-phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 1s var(--ease-out);
}

/* Premium phone frame — closer to product photography, not generic placeholder */
.device-phone__frame--iphone {
  position: relative;
  border-radius: 32px;
  padding: 8px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 4px 4px rgba(0, 0, 0, 0.12) inset,
    0 36px 90px rgba(0, 0, 0, 0.5),
    0 0 1px rgba(0, 0, 0, 0.8);
}
.device-phone__frame--iphone::after {
  content: "";
  position: absolute;
  inset: 12% 18% auto 18%;
  height: 38%;
  border-radius: 40% 40% 50% 50%;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.14) 0%, transparent 55%);
  opacity: 0.35;
  pointer-events: none;
  mix-blend-mode: soft-light;
}
.band--case-beauty .device-phone__frame--iphone::after {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.35) 0%, transparent 55%);
  opacity: 0.28;
}
.band--case-athletic .device-phone__frame--iphone::after {
  opacity: 0.22;
}

.device-phone__frame--iphone.device-phone__frame--warm {
  background: linear-gradient(165deg, #fffdfb 0%, #f5e8df 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.92),
    0 4px 4px rgba(120, 80, 60, 0.06) inset,
    0 36px 90px rgba(100, 70, 55, 0.26),
    0 0 1px rgba(80, 50, 40, 0.35);
}
.device-phone__frame--iphone.device-phone__frame--dark {
  background: linear-gradient(165deg, #3a3d45 0%, #121418 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 4px 4px rgba(0, 0, 0, 0.25) inset,
    0 36px 90px rgba(0, 0, 0, 0.6),
    0 0 72px rgba(0, 0, 0, 0.45);
}

.device-phone__frame--iphone .device-phone__screen::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  max-width: 92px;
  height: 24px;
  border-radius: 999px;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  z-index: 2;
  pointer-events: none;
}
.device-phone__frame--iphone .device-phone__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.09) 0%, transparent 38%, transparent 62%, rgba(255, 255, 255, 0.03) 100%);
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}
.device-phone__frame--iphone .device-phone__screen img {
  position: relative;
  z-index: 0;
}

.showcase-hit:hover .device-phone__frame--iphone {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 4px 4px rgba(0, 0, 0, 0.12) inset,
    0 44px 110px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(126, 180, 255, 0.12);
}
.band--case-beauty .showcase-hit:hover .device-phone__frame--iphone {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.95),
    0 4px 4px rgba(120, 80, 60, 0.08) inset,
    0 44px 100px rgba(100, 70, 55, 0.28),
    0 0 60px rgba(255, 220, 200, 0.15);
}
.band--case-athletic .showcase-hit:hover .device-phone__frame--iphone {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 4px 4px rgba(0, 0, 0, 0.2) inset,
    0 48px 120px rgba(0, 0, 0, 0.65),
    0 0 72px rgba(94, 225, 255, 0.08);
}

.showcase-hit:hover .device-phone__screen img {
  transform: scale(1.025);
}
.showcase-hit:hover .device-laptop__screen img {
  transform: scale(1.04);
}

/* Editorial composition */
.showcase-devices--editorial {
  min-height: clamp(260px, 50vw, 480px);
}

.showcase-devices--editorial .device-laptop--magazine {
  width: 100%;
  max-width: min(100%, 920px);
  margin-left: auto;
  margin-right: 0;
}

.showcase-devices--editorial .device-phone--editorial {
  position: absolute;
  width: min(28%, 228px);
  bottom: -3%;
  left: -3%;
  z-index: 3;
  transform: translateY(8px);
  transition: transform 0.85s var(--ease-out);
}

@media (max-width: 959px) {
  .showcase-devices--editorial .device-phone--editorial {
    width: min(38%, 200px);
    left: 1%;
    bottom: -1%;
  }
}

.band--case-beauty .showcase-case__copy {
  max-width: 44ch;
  padding-top: clamp(1.25rem, 3.5vh, 2.75rem);
}

/* Beauty — mockupy i kolumna tekstu w jednym rytmie */
.showcase-devices--beauty {
  position: relative;
  min-height: clamp(320px, 52vw, 540px);
  width: 100%;
  max-width: min(900px, 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 4vw, 2.5rem) clamp(1rem, 3vw, 2.25rem);
  box-sizing: border-box;
}

.showcase-devices--beauty .device-phone--beauty-primary {
  position: absolute;
  z-index: 2;
  left: clamp(2%, 6vw, 10%);
  bottom: clamp(4%, 4vw, 12%);
  width: min(40%, 244px);
  margin-left: 0;
  transform: rotate(-2.5deg);
  transition: transform 0.85s var(--ease-out);
}

.showcase-devices--beauty .device-laptop--beauty {
  position: relative;
  width: min(92%, 720px);
  margin-inline: auto;
  right: auto;
  top: auto;
  transform: perspective(1400px) rotateX(3.5deg) rotate(0.8deg);
  z-index: 1;
  opacity: 0.98;
}

@media (max-width: 959px) {
  .showcase-devices--beauty {
    min-height: 360px;
    padding: 1.75rem clamp(0.75rem, 3vw, 1.25rem) 2.75rem;
    max-width: 100%;
  }
  .showcase-devices--beauty .device-laptop--beauty {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    transform: translateY(0) perspective(1400px) rotateX(3.5deg);
  }
  .showcase-devices--beauty .device-phone--beauty-primary {
    position: relative;
    left: auto;
    bottom: auto;
    transform: translateX(0) rotate(-2deg);
    width: min(58%, 260px);
    margin: 0 auto -1.75rem;
    z-index: 2;
  }
}

/* Athletic composition */
.showcase-devices--athletic {
  position: relative;
  min-height: clamp(300px, 58vw, 540px);
}

.showcase-devices--athletic .device-laptop--tilt {
  width: 100%;
  max-width: min(104%, 980px);
  margin-left: -2%;
}

.showcase-devices--athletic .device-phone--athletic {
  position: absolute;
  width: min(29%, 232px);
  right: 0%;
  bottom: 1%;
  z-index: 4;
  transform: translateY(12px) rotate(4deg);
  transition: transform 0.85s var(--ease-out);
}

@media (max-width: 959px) {
  .showcase-devices--athletic .device-phone--athletic {
    width: min(36%, 200px);
    right: 2%;
  }
}

/* Reveal motion for devices */
.showcase-case .device-laptop,
.showcase-case .device-phone--editorial,
.showcase-case .device-phone--beauty-primary,
.showcase-case .device-phone--athletic {
  opacity: 0;
  transform: translateY(36px) perspective(1400px) rotateX(8deg);
  transition:
    opacity 1s var(--ease-out),
    transform 1.1s var(--ease-out);
}

.showcase-case.is-inview .device-laptop,
.showcase-case.is-inview .device-phone--editorial,
.showcase-case.is-inview .device-phone--beauty-primary,
.showcase-case.is-inview .device-phone--athletic {
  opacity: 1;
}

.showcase-case.is-inview .device-laptop--magazine {
  transform: translateY(12px) perspective(1400px) rotateX(5deg);
}

.showcase-case.is-inview .device-laptop--beauty {
  transform: translateY(0) perspective(1400px) rotateX(3.5deg) rotate(0.8deg);
}

@media (max-width: 959px) {
  .showcase-case.is-inview .device-laptop--beauty {
    transform: translateY(0) perspective(1400px) rotateX(3.5deg);
  }
}

.showcase-case.is-inview .device-laptop--tilt {
  transform: translateY(16px) perspective(1400px) rotateX(6deg) rotate(-2deg);
}

.showcase-case.is-inview .device-phone--editorial {
  transform: translateY(8px);
}

.showcase-case.is-inview .device-phone--beauty-primary {
  transform: translateY(0) rotate(-2.5deg);
}

.showcase-case.is-inview .device-phone--athletic {
  transform: translateY(12px) rotate(4deg);
}

@media (prefers-reduced-motion: reduce) {
  .showcase-case .device-laptop,
  .showcase-case .device-phone--editorial,
  .showcase-case .device-phone--beauty-primary,
  .showcase-case .device-phone--athletic {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .showcase-hit:hover .device-laptop__screen img,
  .showcase-hit:hover .device-phone__screen img {
    transform: none;
  }
  .showcase-hit:hover {
    filter: none;
  }
  .showcase-devices {
    transform: none;
    will-change: auto;
  }
}

/* Portfolio — cinematic strips */
.portfolio-immersive {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.case-strip {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: clamp(280px, 42vw, 400px);
  display: grid;
}
@media (min-width: 900px) {
  .case-strip {
    grid-template-columns: 1fr 1fr;
    min-height: clamp(300px, 36vw, 440px);
  }
  .case-strip.case-strip--flip .case-strip-visual {
    order: 2;
  }
  .case-strip.case-strip--flip .case-strip-copy {
    order: 1;
  }
}

.case-strip-visual {
  position: relative;
  min-height: 220px;
  overflow: hidden;
}
.case-strip-visual .mood-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.case-strip-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(3, 5, 8, 0.85) 100%);
  pointer-events: none;
}

.case-strip-copy {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, rgba(6, 10, 16, 0.98), rgba(4, 6, 10, 0.99));
  border-left: 1px solid var(--border);
}
.case-strip--flip .case-strip-copy {
  border-left: none;
  border-right: 1px solid var(--border);
}
@media (max-width: 899px) {
  .case-strip-copy {
    border-left: none;
    border-top: 1px solid var(--border);
  }
}

.case-strip .eyebrow {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}
.case-strip h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.case-strip p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 36ch;
}

.founders-cinematic {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(18, 28, 45, 0.4) 0%, rgba(6, 10, 16, 0.95) 100%);
  position: relative;
  overflow: hidden;
}
.founders-cinematic::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(126, 180, 255, 0.35), transparent);
}
.founders-cinematic h3 {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.founder-row {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
}
@media (min-width: 700px) {
  .founder-row {
    grid-template-columns: 1fr 1fr;
  }
}
.founder {
  display: grid;
  gap: 1.1rem 1.4rem;
  align-items: start;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}
@media (min-width: 700px) {
  .founder {
    /* ~38% więcej niż 108px — sekcja zaufania */
    grid-template-columns: minmax(0, clamp(118px, 18vw, 158px)) minmax(0, 1fr);
  }
}
@media (min-width: 1100px) {
  .founder {
    grid-template-columns: minmax(0, clamp(140px, 14vw, 172px)) minmax(0, 1fr);
  }
}
@media (max-width: 699px) {
  .founder {
    justify-items: center;
    text-align: center;
  }
  .founder__photo-wrap {
    width: min(278px, 78vw);
  }
}
.founder__photo-wrap {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.28);
}
.portfolio-founders-band .founder__photo-wrap {
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow:
    0 16px 48px rgba(15, 25, 45, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}
.founder__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.founder__body {
  min-width: 0;
}
.founder strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.35rem;
  font-weight: 600;
}
.founder .stack {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  margin-top: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  line-height: 1.5;
}

/* Why — minimal statements */
.why-statements {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.why-statements li {
  list-style: none;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border);
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.45;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.why-statements li strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}

/* AI — layout (wygląd panelu: jasna wyspa powyżej) */
.ai-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .ai-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}
.ai-grid h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}
.ai-grid p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--ink-muted);
  line-height: 1.55;
}
.ai-disclaimer {
  position: relative;
  z-index: 1;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(10, 15, 24, 0.1);
  font-size: 0.8125rem;
  color: var(--ink-faint);
  font-style: italic;
}

/* Process — vertical rhythm */
.process-rail {
  position: relative;
  padding-left: 0;
  max-width: 52rem;
}
@media (min-width: 600px) {
  .process-rail {
    padding-left: 2.5rem;
    border-left: 1px solid var(--border);
  }
}
.process-rail .process-step {
  position: relative;
  padding: 1.5rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  margin: 0;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 600px) {
  .process-rail .process-step {
    padding-left: 2rem;
  }
  .process-rail .process-step::before {
    content: "";
    position: absolute;
    left: -2.5rem;
    top: 2.5rem;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--bg-void);
    border: 2px solid var(--accent);
    box-shadow: 0 0 16px var(--accent-glow);
    transform: translateX(-50%);
  }
}
.process-rail .process-step h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}
.process-rail .process-step p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.process-rail .process-step .num {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.35rem;
}
@media (max-width: 599px) {
  .process-rail .process-step .num {
    display: inline;
    margin-right: 0.5rem;
  }
}

.local-block {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(160, 190, 230, 0.18);
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(22, 36, 58, 0.55) 38%,
    rgba(8, 14, 26, 0.94) 100%
  );
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.local-block p {
  margin: 0;
  color: rgba(220, 228, 248, 0.92);
  max-width: 46rem;
  line-height: 1.65;
}
.local-block strong {
  color: #f6f8ff;
  font-weight: 600;
}
.local-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.local-tags span {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(160, 190, 230, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(215, 225, 248, 0.95);
  letter-spacing: 0.06em;
}

/* FAQ */
.faq-list {
  max-width: 44rem;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item button {
  width: 100%;
  text-align: left;
  padding: 1.2rem 0;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  letter-spacing: -0.02em;
  transition: color 0.25s;
}
.faq-item button:hover {
  color: var(--ice);
}
.faq-item button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}
.faq-item button .icon {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent);
  flex-shrink: 0;
  opacity: 0.8;
}
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease-out);
}
.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}
.faq-panel-inner {
  overflow: hidden;
  min-height: 0;
}
.faq-panel p {
  margin: 0 0 1.2rem;
  padding-right: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* CTA */
.cta-final {
  text-align: center;
  padding: calc(var(--section-pad) * 1.05) 0;
  position: relative;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 10% 20%;
  background: radial-gradient(ellipse at center, rgba(126, 180, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-final h2 {
  position: relative;
  max-width: 18ch;
  margin: 0 auto 1rem;
  font-size: clamp(1.85rem, 4.5vw, 3rem);
}
.cta-final .section-lead {
  margin: 0 auto 2rem;
  max-width: 32rem;
}
.cta-final .btn-row {
  justify-content: center;
  position: relative;
}

.cta-links {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  align-items: center;
  position: relative;
}
.cta-links a.link-quiet {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  border: none;
  background: none;
  padding: 0.25rem 0;
  transition: color 0.25s;
}
.cta-links a.link-quiet:hover {
  color: var(--ice);
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 6rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
}
@media (min-width: 700px) {
  .site-footer {
    padding-bottom: 2.5rem;
  }
}
.footer-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s;
}
.footer-links a:hover {
  color: var(--accent);
}

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(3, 5, 8, 0.96) 35%);
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform 0.4s var(--ease-out),
    opacity 0.4s;
  pointer-events: none;
}
.sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
@media (min-width: 700px) {
  .sticky-cta {
    display: none;
  }
}
.sticky-cta .btn {
  flex: 1;
  max-width: 200px;
  padding: 0.65rem 1rem;
  font-size: 0.8125rem;
}

/* Reveal + stagger */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out),
    filter 0.7s var(--ease-out);
}
.reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.55s var(--ease-out);
}
.reveal-stagger.is-inview > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.is-inview > *:nth-child(1) {
  transition-delay: 0.05s;
}
.reveal-stagger.is-inview > *:nth-child(2) {
  transition-delay: 0.1s;
}
.reveal-stagger.is-inview > *:nth-child(3) {
  transition-delay: 0.15s;
}
.reveal-stagger.is-inview > *:nth-child(4) {
  transition-delay: 0.2s;
}
.reveal-stagger.is-inview > *:nth-child(5) {
  transition-delay: 0.25s;
}
.reveal-stagger.is-inview > *:nth-child(6) {
  transition-delay: 0.3s;
}
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

.tech-rail {
  display: none;
}
@media (min-width: 1280px) {
  .tech-rail {
    display: block;
    position: fixed;
    right: max(12px, calc(50vw - 720px));
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(72, 88, 118, 0.62);
    z-index: 2;
    pointer-events: none;
  }
}

.section-cta {
  margin-top: 2.25rem;
}

/* ——— Landing refresh: PCB / cards / local ——— */
.section-lead--tight {
  margin-bottom: 1.25rem;
  max-width: 40rem;
}

.hero-headline {
  display: block;
}

.hero-micro {
  margin: 2rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(140, 160, 195, 0.55);
  line-height: 1.55;
  max-width: 36rem;
}
.hero-micro__tags {
  color: rgba(100, 200, 255, 0.42);
  letter-spacing: 0.1em;
}

.hero-scene__pcb {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-52%);
  width: min(380px, 58vw);
  max-width: 100%;
  opacity: 0.42;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 1023px) {
  .hero-scene__pcb {
    right: -2%;
    top: 8%;
    transform: none;
    width: min(280px, 70vw);
    opacity: 0.28;
  }
}
.hero-pcb-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 28px rgba(70, 232, 255, 0.12));
}
@media (prefers-reduced-motion: no-preference) {
  .hero-pcb-svg {
    animation: pcb-float 18s ease-in-out infinite alternate;
  }
}
@keyframes pcb-float {
  from {
    transform: translate(0, 0) scale(1);
    opacity: 0.9;
  }
  to {
    transform: translate(-6px, 8px) scale(1.02);
    opacity: 1;
  }
}

.problem-pcb-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .problem-pcb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 960px) {
  .problem-pcb-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.problem-pcb-card {
  position: relative;
  padding: 1.25rem 1.2rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(126, 180, 255, 0.14);
  background: linear-gradient(160deg, rgba(14, 22, 36, 0.85), rgba(6, 10, 16, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    border-color 0.35s,
    box-shadow 0.35s,
    transform 0.35s var(--ease-out);
}
.problem-pcb-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pcb-trace), transparent);
  opacity: 0.9;
}
.problem-pcb-card:hover {
  border-color: rgba(70, 232, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}
.problem-pcb-card__idx {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  color: var(--pcb-cyan);
  opacity: 0.75;
  margin-bottom: 0.45rem;
}
.problem-pcb-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--text);
  margin-bottom: 0.35rem;
  font-weight: 600;
}
.problem-pcb-card span:last-child {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.solution-pcb {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(126, 180, 255, 0.12);
  background: rgba(126, 180, 255, 0.12);
}
@media (min-width: 640px) {
  .solution-pcb {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .solution-pcb {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.solution-pcb article {
  margin: 0;
  background: linear-gradient(180deg, rgba(12, 18, 28, 0.96), rgba(6, 10, 16, 0.99));
  padding: 1.15rem 1.1rem;
  min-height: 100%;
  transition: background 0.35s;
}
.solution-pcb article:hover {
  background: linear-gradient(180deg, rgba(22, 36, 58, 0.55), rgba(8, 12, 20, 0.98));
}
.solution-pcb h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: #f7f9ff;
}
.solution-pcb p {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(216, 226, 245, 0.96);
  line-height: 1.55;
}
.solution-pcb article .section-illu-wrap--soft {
  border-color: rgba(30, 60, 110, 0.38);
  background: linear-gradient(145deg, rgba(252, 253, 255, 0.97), rgba(228, 236, 252, 0.94));
  color: #0f2f5c;
}
.solution-pcb article .section-illu {
  stroke-width: 2.1;
}

.service-card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .service-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .service-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.service-card {
  position: relative;
  padding: 1.35rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(126, 180, 255, 0.12);
  background: linear-gradient(155deg, rgba(16, 26, 44, 0.75), rgba(6, 10, 16, 0.96));
  transition:
    border-color 0.35s,
    box-shadow 0.35s,
    transform 0.35s var(--ease-out);
}
.service-card::after {
  content: "";
  position: absolute;
  bottom: 0.85rem;
  right: 1rem;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(70, 232, 255, 0.35), rgba(167, 139, 250, 0.25));
  opacity: 0.65;
}
.service-card:hover {
  border-color: rgba(167, 139, 250, 0.25);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}
.service-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}
.service-card__desc {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.service-card__meta {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  color: var(--text-dim);
  line-height: 1.45;
}
.service-card__meta span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(70, 232, 255, 0.55);
  margin-bottom: 0.15rem;
}

.band--process-pcb {
  position: relative;
}
.band--process-pcb::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(70, 232, 255, 0.04), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(167, 139, 250, 0.05), transparent 35%);
  pointer-events: none;
}
.process-rail--pcb {
  position: relative;
  z-index: 1;
  border-left: 1px solid rgba(70, 232, 255, 0.14);
  padding-left: 0;
}
@media (min-width: 600px) {
  .process-rail--pcb {
    padding-left: 2.25rem;
  }
  .process-rail--pcb .process-step::before {
    box-shadow:
      0 0 0 3px rgba(6, 10, 16, 0.95),
      0 0 18px rgba(70, 232, 255, 0.35);
    border-color: rgba(70, 232, 255, 0.85);
  }
}

.local-block--wide p + p {
  margin-top: 1rem;
}
.local-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.5rem 0 1rem;
}
.local-links .btn {
  font-size: 0.8125rem;
}

.portfolio-founders-band .founders-tagline,
.founders-tagline {
  margin: 0 0 clamp(1.25rem, 3vw, 2rem);
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  line-height: 1.58;
  color: var(--ink-muted);
  max-width: 52rem;
  font-weight: 500;
}

.footer-tagline {
  margin: 0;
  max-width: 28rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.btn-row--stack {
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}
@media (max-width: 520px) {
  .btn-row--stack .btn {
    width: 100%;
    max-width: 22rem;
    justify-content: center;
  }
}

.cta-links__sep {
  color: var(--text-dim);
}

.reveal-stagger.is-inview > *:nth-child(7) {
  transition-delay: 0.35s;
}
.reveal-stagger.is-inview > *:nth-child(8) {
  transition-delay: 0.4s;
}
.reveal-stagger.is-inview > *:nth-child(9) {
  transition-delay: 0.45s;
}
.reveal-stagger.is-inview > *:nth-child(10) {
  transition-delay: 0.5s;
}
.reveal-stagger.is-inview > *:nth-child(11) {
  transition-delay: 0.55s;
}
.reveal-stagger.is-inview > *:nth-child(12) {
  transition-delay: 0.6s;
}

.faq-item button:focus-visible {
  outline: 2px solid var(--pcb-cyan);
  outline-offset: 2px;
}

.btn:focus-visible,
a.logo:focus-visible {
  outline: 2px solid var(--pcb-cyan);
  outline-offset: 3px;
}

/* ——— Ikony / mini-ilustracje przy sekcjach tekstowych ——— */
.section-illu-wrap {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(126, 180, 255, 0.22);
  background: linear-gradient(145deg, rgba(70, 232, 255, 0.08), rgba(20, 40, 70, 0.35));
  color: rgba(120, 200, 255, 0.92);
  flex-shrink: 0;
}
.section-illu-wrap--soft {
  border-color: rgba(61, 127, 212, 0.18);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(230, 238, 252, 0.55));
  color: var(--accent-deep);
}
.section-illu-wrap--navy {
  border-color: rgba(160, 200, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(180, 215, 255, 0.88);
}
.section-illu {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}
.problem-pcb-card .section-illu-wrap {
  margin-bottom: 0.65rem;
}
.solution-pcb article .section-illu-wrap {
  margin-bottom: 0.6rem;
}
.service-card .section-illu-wrap {
  margin-bottom: 0.7rem;
}
.process-step__top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.process-step__top .section-illu-wrap {
  margin-bottom: 0;
}
.process-step__top .num {
  margin-bottom: 0;
}
.why-statements li .section-illu-wrap {
  margin-bottom: 0;
  margin-top: 0.15rem;
}
.why-statements li .why-statements__body {
  flex: 1;
  min-width: 0;
}
.local-visual {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
}
.local-visual .section-illu-wrap {
  margin-bottom: 0;
}
.local-visual__pins {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}
