/* 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);
  /*
   * Skala radiusów — jedna „źródłowa prawda” (clean code / premium system).
   * Wartości 1:1 z dotychczasową grafiką; komponenty odwołują się do nazw zamiast magii px.
   */
  --radius-hairline: 1px;
  --radius-2xs: 2px;
  --radius-xs: 3px;
  --radius-crisp: 4px;
  --radius-chip: 9px;
  --radius-ui-sm: 10px;
  --radius-ui: 12px;
  --radius-md: 14px;
  --radius-promo: 18px;
  --radius-block: 20px;
  --radius-soft: 22px;
  --radius-lg: 24px;
  --radius-feature: 28px;
  --radius-showcase: 30px;
  --radius-panel: 32px;
  --radius-frame: 34px;
  --radius-device-outer: 42px;
  --radius-pill: 999px;
  --radius-round: 50%;
  /* Podstrony (pages.css) — te same wartości co wcześniej, jedna definicja w :root */
  --page-stub-min-h: 60vh;
  --page-stub-max: 560px;
  --page-legal-max: 720px;
  --page-local-max: 42rem;
  --page-pad-y: 4rem;
  --page-pad-y-loose: 6rem;
  --page-pad-x: 1.5rem;
  --page-local-pad-y-start: clamp(5rem, 12vw, 7rem);
  --page-local-pad-y-end: 5rem;
  --page-heading-size: 1.75rem;
  --max-w: 1180px;
  --max-w-wide: 1400px;
  --font-display: "Syne", var(--font-sans);
  --font-serif: "Syne", 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);
  /* Logo wide: max wysokość + slot szerokości w gridzie (bez max-content = cała intrinsic szerokość PNG) */
  --header-logo-wide-h: clamp(2.35rem, 3.5vw, 2.95rem);
  --header-logo-slot-max: min(36vw, 11.75rem);
  --header-logo-slot-max-lg: min(32vw, 13.25rem);
  --logo-square-pad-scale: 1.06;
  --hero-parallax-x: 0px;
  --hero-parallax-y: 0px;
}

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

html {
  scroll-behavior: auto;
  scroll-padding-top: clamp(4rem, 11vw, 5.5rem);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
    scroll-padding-top: clamp(4rem, 11vw, 5.5rem);
  }
  *,
  *::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: var(--radius-round);
  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;
  overflow-x: visible;
}
.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;
    /* Pierwsza kolumna: twardy limit — inaczej max-content + szeroki PNG zjada nawigację */
    grid-template-columns: minmax(0, var(--header-logo-slot-max)) minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(0.85rem, 2.2vw, 1.75rem);
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    overflow-x: visible;
  }
}
@media (min-width: 1200px) {
  .site-header .inner {
    grid-template-columns: minmax(0, var(--header-logo-slot-max-lg)) minmax(0, 1fr);
  }
}

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

/*
 * 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;
  flex-shrink: 1;
  width: 100%;
  height: auto;
  max-height: var(--header-logo-wide-h);
  max-width: 100%;
  box-sizing: border-box;
  padding-inline-end: 0.2rem;
  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;
    flex-shrink: 1;
    width: 100%;
    height: auto;
    max-height: var(--header-logo-wide-h);
    max-width: 100%;
  }
}
@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;
}

/* Przełącznik PL / EN / DE */
.lang-switch {
  display: none;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  flex-shrink: 0;
}
@media (min-width: 900px) {
  .lang-switch {
    display: flex;
  }
}
.lang-switch__link {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.2rem 0.12rem;
  border-radius: var(--radius-xs);
  transition: color 0.2s var(--ease-soft);
}
.lang-switch__link:hover {
  color: var(--accent);
}
.lang-switch__link--current {
  color: var(--ice);
  cursor: default;
}
.lang-switch__sep {
  opacity: 0.35;
  user-select: none;
  font-weight: 500;
}
.lang-switch--mobile {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  padding: 0.85rem 0 0.15rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
}
@media (min-width: 900px) {
  .lang-switch--mobile {
    display: none;
  }
}

/* ——— 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: var(--radius-pill);
  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 26px rgba(126, 180, 255, 0.22);
  transform: translateY(-1px);
}

.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;
  }
}

.header-mobile-tools {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  flex-shrink: 0;
}
@media (min-width: 900px) {
  .header-mobile-tools {
    display: none;
  }
}

.nav-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  border-radius: var(--radius-ui);
  border: 1px solid rgba(126, 180, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition:
    background 0.25s var(--ease-soft),
    border-color 0.25s,
    transform 0.2s var(--ease-out);
}
.nav-menu-toggle:hover {
  border-color: rgba(126, 180, 255, 0.45);
  background: rgba(126, 180, 255, 0.08);
}
.nav-menu-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.nav-menu-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 1.1rem;
}
.nav-menu-toggle__bar {
  display: block;
  height: 2px;
  border-radius: var(--radius-hairline);
  background: rgba(240, 245, 255, 0.88);
  transform-origin: center;
  transition:
    transform 0.3s var(--ease-out),
    opacity 0.25s;
}
body.nav-open .nav-menu-toggle__bars .nav-menu-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .nav-menu-toggle__bars .nav-menu-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}
body.nav-open .nav-menu-toggle__bars .nav-menu-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 68;
  background: rgba(2, 4, 10, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
body.nav-open .nav-mobile-backdrop {
  display: block;
}

.nav-mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  width: min(20.5rem, 90vw);
  max-width: 100%;
  padding: calc(env(safe-area-inset-top, 0px) + 0.75rem) 1.1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: linear-gradient(200deg, #070b12 0%, #05080e 45%, #0a101c 100%);
  border-left: 1px solid rgba(120, 160, 220, 0.18);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.45);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.38s var(--ease-out),
    visibility 0.38s;
}
body.nav-open .nav-mobile-panel {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
.nav-mobile-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-mobile-panel__title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(160, 190, 230, 0.55);
}
.nav-mobile-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-ui-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.nav-mobile-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(126, 180, 255, 0.35);
}
.nav-mobile-close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.nav-mobile-panel__nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  padding: 0.25rem 0;
}
.nav-mobile-panel__nav a {
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-ui-sm);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(230, 238, 255, 0.92);
  transition: background 0.2s, color 0.2s;
}
.nav-mobile-panel__nav a:hover,
.nav-mobile-panel__nav a:focus-visible {
  background: rgba(126, 180, 255, 0.08);
  color: #fff;
}
.nav-mobile-panel__foot {
  padding-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-mobile-panel__cta {
  width: 100%;
  justify-content: center;
}
@media (min-width: 900px) {
  .nav-mobile-backdrop,
  .nav-mobile-panel {
    display: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-mobile-panel {
    transition: none;
  }
  .nav-menu-toggle__bar {
    transition: none;
  }
}

/* ——— 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 (max-width: 699px) {
  body {
    padding-bottom: calc(4.65rem + env(safe-area-inset-bottom, 0px));
  }
}
@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;
}

/*
 * Mostek hero → jasna sekcja: krótszy pas, mało przezroczystości w środku (półprzezroczysty jasny szary na ciemnym
 * tle = „brudny pasek”). Szum jak w sekcji problemu — tekstura zaczyna się przed czystą bielą.
 */
.hero-cinematic::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(96px, 14vh, 200px);
  pointer-events: none;
  z-index: 1;
  background:
    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"),
    radial-gradient(ellipse 130% 90% at 50% 100%, rgba(110, 170, 255, 0.07) 0%, transparent 58%),
    linear-gradient(
      180deg,
      transparent 0%,
      rgba(6, 10, 18, 0.22) 14%,
      rgba(10, 16, 28, 0.82) 26%,
      #141b2a 36%,
      #2f3a4a 48%,
      #6d7786 58%,
      #b4bcc8 70%,
      #e2e6ee 84%,
      #f7f9fc 94%,
      #fdfefe 100%
    );
  background-size: 200px 200px, 100% 100%, 100% 100%;
  background-repeat: repeat, no-repeat, no-repeat;
  background-blend-mode: soft-light, normal, normal;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.45) 28%, black 52%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.45) 28%, black 52%);
}

.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: 48ch;
}
.hero-lead a {
  color: rgba(140, 220, 255, 0.95);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.hero-lead a:hover {
  color: #fff;
}

.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.14) 0%, transparent 68%),
    radial-gradient(ellipse 40% 35% at 50% 62%, rgba(255, 248, 240, 0.04) 0%, transparent 70%);
  filter: blur(38px);
  pointer-events: none;
  opacity: 0.88;
  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: var(--radius-round);
  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: var(--radius-round);
  background:
    radial-gradient(ellipse 52% 42% at 50% 0%, rgba(126, 180, 255, 0.16) 0%, transparent 72%),
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 255, 255, 0.04) 0%, transparent 65%);
  filter: blur(20px);
  opacity: 0.82;
  pointer-events: none;
  z-index: 0;
}

.hero-works__rim {
  position: absolute;
  inset: 6% 4% 10%;
  border-radius: var(--radius-feature);
  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: var(--radius-block);
}

.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 var(--radius-block) var(--radius-block);
  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: var(--radius-showcase);
  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),
    0 0 56px rgba(126, 180, 255, 0.07);
}

.hero-device--laptop {
  border-radius: var(--radius-md) var(--radius-md) var(--radius-block) var(--radius-block);
  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),
    0 0 72px rgba(126, 180, 255, 0.065);
}

.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: var(--radius-round);
  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: var(--radius-soft);
  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: var(--radius-pill);
  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.12) 0%, transparent 65%),
    radial-gradient(ellipse 80% 45% at 50% 0%, rgba(248, 250, 255, 0.05) 0%, transparent 70%);
  filter: blur(28px);
  opacity: 0.62;
  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.38) 52%, rgba(4, 8, 16, 0.88) 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: var(--radius-hairline);
  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);
}

/* Softer seam after cinematic hero — first editorial band tucks under hero bridge */
section.band.band--story-problem {
  border-top: none;
  margin-top: clamp(-2.25rem, -4.5vw, -0.85rem);
  padding-top: calc(clamp(4rem, 11vw, 7rem) + clamp(1.35rem, 2.8vw, 2.85rem));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

/* ——— 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,
.band--dawn .link-quiet {
  color: var(--ink-muted);
}
.band--atelier .link-quiet:hover,
.band--silver .link-quiet:hover,
.band--dawn .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: var(--radius-feature);
  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: var(--radius-showcase);
  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, 0.42fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 6vw, 4rem);
    align-items: center;
  }

  /* Tekst na prawej, mockupy na lewej — naprzemienny rytm z --editorial / --beauty bez zmiany DOM */
  .showcase-case__grid--flip {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.42fr);
  }
  .showcase-case__grid--flip .showcase-case__copy {
    order: 2;
  }
  .showcase-case__grid--flip > .showcase-case__stage,
  .showcase-case__grid--flip > .showcase-case__stage--athletic {
    order: 1;
  }

  .showcase-case__grid--flip .showcase-devices--editorial .device-laptop--magazine {
    margin-left: 0;
    margin-right: auto;
  }
  .showcase-case__grid--flip .showcase-devices--editorial .device-phone--editorial {
    left: auto;
    right: -3%;
  }
}

.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__grid .showcase-case__copy--athletic {
    margin-bottom: 0;
    max-width: 40ch;
  }
}

.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);
}

/* Portfolio — krótkie historie (bez szablonu „case study”) */
.showcase-story {
  margin: 0 0 1rem;
  font-size: clamp(1rem, 1.85vw, 1.0625rem);
  line-height: 1.68;
  color: var(--ink-muted);
  max-width: 38rem;
}
.band--case-beauty .showcase-story {
  color: rgba(52, 42, 36, 0.82);
}
.showcase-story--on-dark {
  color: rgba(210, 222, 245, 0.88);
}
.showcase-effect {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.58;
  color: var(--ink);
  max-width: 36rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(10, 15, 24, 0.08);
}
.band--case-beauty .showcase-effect {
  color: rgba(32, 26, 22, 0.9);
  border-top-color: rgba(90, 70, 55, 0.12);
}
.showcase-effect--on-dark {
  color: rgba(232, 240, 255, 0.92);
  border-top-color: rgba(255, 255, 255, 0.14);
}

.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-preview-note {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--ink-muted);
  margin: -0.35rem 0 1.35rem;
  max-width: 36rem;
}

.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: var(--radius-panel);
  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: var(--radius-md) var(--radius-md) var(--radius-block) var(--radius-block);
  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: var(--radius-ui) var(--radius-ui) var(--radius-promo) var(--radius-promo);
}

.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: var(--radius-round);
  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: var(--radius-feature);
  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: var(--radius-soft);
  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: var(--radius-panel);
  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: var(--radius-pill);
  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%;
  }
  .showcase-case__grid--flip .showcase-devices--editorial .device-phone--editorial {
    left: auto;
    right: 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: var(--radius-md);
  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: var(--radius-round);
    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: var(--radius-pill);
  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: var(--radius-crisp);
}
.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-mail-hint {
  margin: 1.35rem auto 0;
  max-width: 34rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(180, 200, 235, 0.72);
  position: relative;
}

/* Formularz kontaktu (#kontakt) — Cloudflare Pages /api/contact */
.contact-form {
  margin: 0 auto 2rem;
  max-width: 28rem;
  text-align: left;
  position: relative;
}
.contact-form__fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form__row label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(200, 215, 245, 0.85);
}
.contact-form__row input,
.contact-form__row textarea {
  width: 100%;
  margin: 0;
  padding: 0.65rem 0.85rem;
  font: inherit;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--text);
  background: rgba(8, 12, 22, 0.55);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-ui);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.contact-form__row textarea {
  min-height: 7.5rem;
  resize: vertical;
}
.contact-form__row input::placeholder,
.contact-form__row textarea::placeholder {
  color: var(--text-dim);
}
.contact-form__row input:focus,
.contact-form__row textarea:focus {
  outline: none;
  border-color: rgba(126, 180, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(126, 180, 255, 0.12);
}
.contact-form__hp-wrap {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.contact-form__actions {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
}
.contact-form__actions .btn {
  width: 100%;
  max-width: 20rem;
}
.contact-form__status {
  margin: 1rem 0 0;
  min-height: 1.5em;
  font-size: 0.9375rem;
  line-height: 1.5;
  text-align: center;
  color: rgba(200, 220, 250, 0.88);
}
.contact-form__status.is-error {
  color: #ffb4b4;
}
.contact-form__status.is-ok {
  color: var(--ice);
}
.contact-form__alt-label {
  margin: 0 auto 1rem;
  max-width: 28rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(160, 180, 215, 0.65);
  text-align: 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);
}
.site-footer .footer-tagline .link-quiet {
  color: var(--ice);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.site-footer .footer-tagline .link-quiet:hover {
  color: var(--accent);
}
@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);
}

.footer-copy-meta {
  margin-top: 2rem;
  font-size: 0.75rem;
  color: var(--text-dim);
}
.footer-copy-meta a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.footer-copy-meta a:hover {
  color: var(--accent);
}

.footer-legal {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.footer-legal p {
  margin: 0 0 0.35rem;
}
.footer-legal a {
  color: var(--ice);
  text-decoration: none;
}
.footer-legal a:hover {
  text-decoration: underline;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
  background: rgba(7, 12, 20, 0.97);
  border-top: 1px solid var(--border-strong);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
  transform: translateY(0);
  transition: transform 0.35s var(--ease-out), opacity 0.35s;
}
.cookie-banner.is-dismissed {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
}
.cookie-banner__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(200, 215, 240, 0.92);
  text-align: center;
  max-width: 42rem;
}
.cookie-banner__text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.75rem;
  flex-shrink: 0;
}
.cookie-banner__prefs {
  font: inherit;
  font-size: 0.75rem;
  cursor: pointer;
  border: 0;
  padding: 0.25rem 0.35rem;
  background: transparent;
  color: rgba(170, 190, 220, 0.88);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.cookie-banner__prefs:hover {
  color: var(--accent);
}
.cookie-banner .btn {
  padding: 0.55rem 1.1rem;
  font-size: 0.8125rem;
}

.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: NIE używamy translate na całym <section> — przesunięcie maluje blok niżej, a layout zostaje wyżej,
   więc nad sekcją powstaje pusty pas (tło void) aż do .is-inview = odczucie „ucięcia” przy przewijaniu.
   Klasa .is-inview zostaje z JS (np. pod kątem urządzeń w showcase); tu treść sekcji od razu pełna. */
.reveal,
.reveal.is-inview {
  opacity: 1;
  transform: none;
  transition: none;
}
.reveal-stagger > *,
.reveal-stagger.is-inview > * {
  opacity: 1;
  transform: none;
  transition: none;
}
@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;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }
  body.pillars-atelier-inview .tech-rail {
    opacity: 0;
    visibility: hidden;
  }
}

.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: var(--radius-2xs);
  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);
}

.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: var(--radius-ui-sm);
  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;
}

/* ——— Editorial story stack: jasne tła (rytm po ciemnym hero), typografia --ink ——— */
.band--story-problem,
.band--story-pillars,
.band--story-process,
.band--story-split,
.band--story-services {
  border-top-color: rgba(10, 15, 24, 0.08);
}

section.band--story-problem {
  background: linear-gradient(180deg, #fdfefe 0%, #f3f5f9 48%, #e8ecf4 100%);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  padding-bottom: clamp(4rem, 11vw, 7rem);
  overflow: clip;
}

section.band--story-problem::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    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"),
    radial-gradient(ellipse 115% 70% at 50% -8%, rgba(61, 127, 212, 0.055) 0%, transparent 58%),
    radial-gradient(ellipse 55% 42% at 92% 12%, rgba(126, 180, 255, 0.048) 0%, transparent 52%),
    radial-gradient(ellipse 50% 38% at 4% 88%, rgba(255, 255, 255, 0.42) 0%, transparent 55%);
  background-size: 200px 200px, 100% 100%, 100% 100%, 100% 100%;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
  opacity: 0.72;
}

section.band--story-problem .story-eyebrow {
  color: var(--accent-deep);
}
section.band--story-problem .story-display {
  color: var(--ink);
}
section.band--story-problem .story-problem__lead {
  color: var(--ink-muted);
}
section.band--story-problem .story-pain-list {
  border-top-color: rgba(10, 15, 24, 0.1);
}
@media (min-width: 880px) {
  section.band--story-problem .story-pain-list {
    border-left-color: rgba(10, 15, 24, 0.1);
  }
}
section.band--story-problem .story-pain-list__item {
  border-bottom-color: rgba(10, 15, 24, 0.07);
}
section.band--story-problem .story-pain-list__item strong {
  color: var(--ink);
}
section.band--story-problem .story-pain-list__item span:last-child {
  color: var(--ink-muted);
}

.story-problem {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: start;
}
@media (min-width: 880px) {
  .story-problem {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
    gap: clamp(2rem, 5vw, 5rem);
  }
}

.story-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 1.25rem;
}
.story-eyebrow--muted {
  color: var(--ink-faint);
}

.story-display {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5.2vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: var(--ink);
  max-width: 14ch;
}
.story-display__accent {
  background: linear-gradient(120deg, #2563a8, #3d7fd4 45%, #5b4f9a 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.story-problem__lead {
  margin: 0;
  max-width: 32rem;
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.65;
  color: var(--ink-muted);
}

.story-pain-list {
  list-style: none;
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2rem) 0 0;
  border-top: 1px solid rgba(10, 15, 24, 0.1);
}
@media (min-width: 880px) {
  .story-pain-list {
    border-top: none;
    border-left: 1px solid rgba(10, 15, 24, 0.1);
    padding: 0.25rem 0 0 clamp(1.75rem, 3vw, 2.75rem);
  }
}
.story-pain-list__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  padding: clamp(1.1rem, 2vw, 1.45rem) 0;
  border-bottom: 1px solid rgba(10, 15, 24, 0.07);
  border-radius: var(--radius-xs);
  transition:
    background 0.55s var(--ease-soft),
    box-shadow 0.55s var(--ease-soft),
    border-color 0.5s var(--ease-soft),
    transform 0.55s var(--ease-soft);
}
.story-pain-list__item:hover {
  background: linear-gradient(90deg, rgba(61, 127, 212, 0.045) 0%, rgba(61, 127, 212, 0) 72%);
  box-shadow:
    inset 0 0 0 1px rgba(61, 127, 212, 0.08),
    0 14px 48px rgba(61, 127, 212, 0.045);
  border-bottom-color: rgba(10, 15, 24, 0.05);
  transform: translateX(2px);
}
.story-pain-list__item:hover strong {
  color: #152a44;
}
.story-pain-list__item:active {
  transform: translateX(1px);
  transition-duration: 0.2s;
}
@media (prefers-reduced-motion: reduce) {
  .story-pain-list__item:hover,
  .story-pain-list__item:active {
    transform: none;
  }
}
.story-pain-list__item:last-child {
  border-bottom: none;
}
.story-pain-list__line {
  width: 3px;
  align-self: stretch;
  min-height: 2.75rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, #3d7fd4 0%, #7eb4ff 48%, #a78bfa 100%);
  background-size: 100% 260%;
  background-position: 0 0;
  box-shadow: 0 0 14px rgba(61, 127, 212, 0.25);
  transition: box-shadow 0.55s var(--ease-soft);
}
.story-pain-list__item:hover .story-pain-list__line {
  box-shadow: 0 0 20px rgba(61, 127, 212, 0.32);
}
@media (prefers-reduced-motion: no-preference) {
  .story-pain-list__line {
    animation: story-pain-line-drift 16s ease-in-out infinite;
  }
}
@keyframes story-pain-line-drift {
  0%,
  100% {
    background-position: 0 0;
  }
  50% {
    background-position: 0 100%;
  }
}
.story-pain-list__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.35rem;
  transition: color 0.5s var(--ease-soft);
}
.story-pain-list__item span:last-child {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

/* „Dobra strona…” — pas atelier (ciemny, kinowy); kolory tytułu tylko w tej sekcji */
section.band--story-pillars.band--pillars-atelier {
  position: relative;
  isolation: isolate;
  /* Izolacja malowania — mniej „klejenia” reszty strony z ciężką sceną przy scrollu */
  contain: paint;
  background:
    radial-gradient(120% 90% at 0% -10%, rgba(72, 120, 220, 0.22), transparent 52%),
    radial-gradient(95% 75% at 100% 18%, rgba(126, 180, 255, 0.11), transparent 50%),
    radial-gradient(90% 70% at 100% 22%, rgba(130, 90, 200, 0.13), transparent 48%),
    radial-gradient(85% 55% at 50% 100%, rgba(40, 95, 175, 0.1), transparent 56%),
    linear-gradient(188deg, #04060c 0%, #0a1020 38%, #0e1628 72%, #121c34 100%);
  color: rgba(232, 240, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  padding-top: clamp(3.75rem, 10vw, 6.5rem);
  padding-bottom: clamp(3.75rem, 10vw, 6.5rem);
  overflow-x: clip;
}
section.band--story-pillars.band--pillars-atelier .story-section-title {
  color: #f4f8ff;
  text-shadow: 0 0 88px rgba(100, 160, 255, 0.11);
}
section.band--story-pillars.band--pillars-atelier .story-section-sub {
  color: rgba(170, 190, 225, 0.82);
}
section.band--story-pillars.band--pillars-atelier .pillars-atelier__eyebrow {
  color: rgba(140, 180, 240, 0.75);
}

.story-pillars__intro {
  max-width: 40rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.story-section-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.8vw, 2.65rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--ink);
}
.story-section-sub {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* „Dobra strona…” — atelier: kompozycja, światło, cztery różne akty (placeholdery, bez portfolio) */
.pillars-atelier__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.pillars-atelier__orb {
  position: absolute;
  border-radius: var(--radius-round);
  filter: blur(44px);
  opacity: 0.55;
}
.pillars-atelier__orb--a {
  width: min(70vw, 520px);
  aspect-ratio: 1;
  top: -18%;
  left: -15%;
  background: radial-gradient(circle, rgba(80, 140, 255, 0.45), transparent 68%);
}
.pillars-atelier__orb--b {
  width: min(55vw, 420px);
  aspect-ratio: 1;
  bottom: -8%;
  right: -10%;
  background: radial-gradient(circle, rgba(160, 110, 220, 0.28), transparent 70%);
}
.pillars-atelier__grain {
  position: absolute;
  inset: 0;
  opacity: 0.055;
  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.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: normal;
}

.pillars-atelier {
  position: relative;
  z-index: 1;
}
/* Jedna kompozycja: copy + jedna scena UI (kontynuacja klimatu hero) */
.pillars-unified {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: stretch;
}
@media (min-width: 1024px) {
  .pillars-unified {
    grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: stretch;
  }
}

.pillars-unified__copy {
  position: relative;
  z-index: 0;
  isolation: isolate;
  min-width: 0;
}
.pillars-unified__copy::before {
  content: "";
  position: absolute;
  top: -6%;
  left: -12%;
  width: min(112%, 34rem);
  height: min(72%, 26rem);
  max-height: 28rem;
  background: radial-gradient(ellipse 72% 68% at 18% 22%, rgba(90, 140, 230, 0.11), transparent 64%);
  pointer-events: none;
  z-index: -1;
}
.pillars-unified__header {
  margin-bottom: clamp(1.85rem, 4.2vw, 2.6rem);
}
.pillars-unified__header.story-pillars__intro {
  max-width: 32rem;
  margin-bottom: clamp(1.85rem, 4.2vw, 2.6rem);
}
.pillars-unified__philosophy {
  max-width: 32rem;
  line-height: 1.65;
  letter-spacing: -0.006em;
}
section.band--story-pillars.band--pillars-atelier .pillars-unified__header .story-section-title {
  margin-bottom: 1.05rem;
}

.pillars-unified__anchors {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.pillars-unified__anchor {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  align-items: start;
  padding: clamp(0.85rem, 2vw, 1.1rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pillars-unified__anchor:last-child {
  border-bottom: none;
}
.pillars-unified__mark {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: rgba(120, 175, 245, 0.65);
  padding-top: 0.35rem;
}
.pillars-unified__anchor-title {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(245, 250, 255, 0.95);
}
.pillars-unified__anchor-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(175, 195, 230, 0.82);
}

.pillars-unified__stage {
  min-width: 0;
  min-height: clamp(22rem, 62vw, 36rem);
}
@media (min-width: 1024px) {
  .pillars-unified__stage {
    min-height: clamp(26rem, 52vh, 38rem);
    display: flex;
    justify-content: center;
    align-items: stretch;
    min-width: min(100%, 22rem);
  }
}

/* ——— jedna scena: hierarchia głębi (telefon = bohater) ——— */
.pillars-scene {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: clamp(22rem, 62vw, 36rem);
  flex: 1 1 auto;
  align-self: stretch;
  padding-bottom: 1.35rem;
  border-radius: var(--radius-frame);
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  background:
    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.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 100% 88% at 100% 44%, rgba(55, 105, 195, 0.1), transparent 54%),
    radial-gradient(ellipse 72% 58% at 92% 68%, rgba(25, 40, 72, 0.16), transparent 48%),
    radial-gradient(90% 70% at 75% 20%, rgba(80, 140, 255, 0.16), transparent 55%),
    radial-gradient(60% 50% at 15% 75%, rgba(130, 90, 200, 0.11), transparent 50%),
    linear-gradient(165deg, rgba(10, 14, 26, 0.98) 0%, rgba(6, 10, 20, 1) 50%, rgba(12, 18, 32, 0.98) 100%);
  background-size: 200px 200px, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-blend-mode: soft-light, normal, normal, normal, normal, normal;
  border: 1px solid rgba(120, 170, 255, 0.12);
  box-shadow:
    0 48px 100px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
}
@media (min-width: 1024px) {
  .pillars-scene {
    width: min(28rem, 100%);
    max-width: 28rem;
    min-height: clamp(26rem, 52vh, 38rem);
    margin-left: auto;
    margin-right: auto;
    flex: 0 0 auto;
  }
}

.pillars-scene__ambient {
  position: absolute;
  inset: 0;
  background: conic-gradient(from 220deg at 60% 45%, rgba(50, 100, 200, 0.12), transparent 40%, rgba(100, 180, 255, 0.08), transparent 75%);
  opacity: 0.7;
  pointer-events: none;
}

.pillars-scene__bloom {
  position: absolute;
  border-radius: var(--radius-round);
  filter: blur(32px);
  pointer-events: none;
}
.pillars-scene__bloom--back {
  width: min(90%, 380px);
  aspect-ratio: 1;
  top: -15%;
  left: -20%;
  background: radial-gradient(circle, rgba(80, 140, 255, 0.28), transparent 68%);
  opacity: 0.55;
  z-index: 1;
}
.pillars-scene__bloom--fore {
  width: min(72%, 290px);
  aspect-ratio: 1;
  bottom: -12%;
  right: -8%;
  background: radial-gradient(circle, rgba(160, 110, 220, 0.18), transparent 66%);
  opacity: 0.44;
  z-index: 2;
}

/* Atmosfera +3: minimalny chrome (bez viewportu) */
.pillars-scene__chrome-crumb {
  position: absolute;
  z-index: 9;
  left: 12%;
  top: 13%;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.42rem;
  border-radius: var(--radius-ui-sm);
  background: linear-gradient(180deg, rgba(42, 52, 74, 0.94), rgba(20, 26, 42, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.065);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: rotate(-5deg);
  opacity: 0.64;
  pointer-events: none;
}
.pillars-scene__chrome-dots {
  width: 28px;
  height: 7px;
  flex-shrink: 0;
  background:
    radial-gradient(circle at 4px 50%, rgba(255, 95, 87, 0.85) 0 2.5px, transparent 3px),
    radial-gradient(circle at 13px 50%, rgba(254, 188, 46, 0.75) 0 2.5px, transparent 3px),
    radial-gradient(circle at 22px 50%, rgba(40, 200, 64, 0.55) 0 2.5px, transparent 3px);
}
.pillars-scene__chrome-faux {
  width: min(4.5rem, 18vw);
  height: 5px;
  border-radius: var(--radius-xs);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(140, 190, 255, 0.12), rgba(255, 255, 255, 0.04));
  filter: blur(0.3px);
}

/* Szklany fragment — tylko abstrakcyjne linie */
.pillars-scene__glass {
  position: absolute;
  z-index: 8;
  top: 15%;
  right: 11%;
  width: min(32%, 132px);
  padding: 0.48rem 0.55rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.065);
  transform: rotate(4deg);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  opacity: 0.72;
}
.pillars-scene__glass span {
  height: 5px;
  border-radius: var(--radius-crisp);
  background: rgba(220, 230, 255, 0.12);
}
.pillars-scene__glass span:nth-child(2) {
  width: 78%;
}
.pillars-scene__glass--abstract span:nth-child(3) {
  width: 52%;
  opacity: 0.75;
}
.pillars-scene__glass--abstract {
  opacity: 0.68;
}

/* Trzeci akcent: symboliczny „chip” CTA — nie konkretny projekt */
.pillars-scene__chip-ghost {
  position: absolute;
  z-index: 12;
  left: 13%;
  bottom: 13%;
  padding: 0.4rem 0.62rem;
  border-radius: var(--radius-ui);
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(255, 255, 255, 0.065);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transform: rotate(-2.5deg);
  opacity: 0.7;
  pointer-events: none;
}
.pillars-scene__chip-ghost-k {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(170, 210, 255, 0.75);
}
.pillars-scene__chip-ghost-v {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(200, 215, 240, 0.72);
}

/* Warstwa 3: smugi prędkości — subtelne */
.pillars-scene__streak {
  position: absolute;
  z-index: 5;
  height: 2px;
  border-radius: var(--radius-2xs);
  background: linear-gradient(90deg, transparent, rgba(140, 210, 255, 0.45), rgba(255, 255, 255, 0.25), transparent);
  filter: blur(0.5px);
  pointer-events: none;
}
.pillars-scene__streak--a {
  width: 42%;
  left: 8%;
  bottom: 38%;
  transform: rotate(-8deg);
  opacity: 0.55;
}
.pillars-scene__streak--b {
  width: 36%;
  right: 12%;
  bottom: 28%;
  transform: rotate(-5deg);
  opacity: 0.4;
}

/* Bohater: telefon — jeden kotwiczony obiekt marki */
.pillars-phone.pillars-phone--hero {
  position: absolute;
  z-index: 20;
  left: 50%;
  top: 50%;
  width: min(80vw, 348px);
  margin: 0;
  transform: translate(-50%, -50%) perspective(1500px) rotateY(-11deg) rotateX(5deg);
  filter:
    contrast(1.02) saturate(1.03) drop-shadow(0 10px 28px rgba(0, 0, 0, 0.55))
    drop-shadow(0 40px 72px rgba(0, 0, 0, 0.42)) drop-shadow(0 0 48px rgba(90, 160, 255, 0.22));
}
@media (min-width: 1024px) {
  .pillars-phone.pillars-phone--hero {
    left: 50%;
    width: min(34vw, 392px);
  }
}
.pillars-phone.pillars-phone--hero .pillars-phone__screen {
  min-height: clamp(15rem, 40vw, 21.5rem);
}

.pillars-scene__local {
  position: absolute;
  z-index: 23;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.55rem;
  margin: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(95, 125, 175, 0.42);
  pointer-events: none;
}

.pillars-scene__vignette {
  position: absolute;
  inset: 0;
  z-index: 15;
  pointer-events: none;
  box-shadow:
    inset -72px 0 90px rgba(0, 0, 0, 0.14),
    inset 0 0 120px rgba(0, 0, 0, 0.28);
  border-radius: inherit;
}

/* Telefon — detale chassis / ekran (scena manifestu, bez cropów klientów) */
.pillars-phone {
  position: relative;
  margin: 0;
  width: min(78vw, 280px);
}
.pillars-phone__glow {
  position: absolute;
  inset: -24% -34%;
  background: radial-gradient(circle at 50% 45%, rgba(110, 185, 255, 0.26), transparent 58%);
  filter: blur(22px);
  z-index: 0;
}
.pillars-phone__chassis {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-device-outer);
  padding: 11px;
  background: linear-gradient(145deg, #262f42 0%, #141b2a 40%, #090d16 100%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.19),
    inset 0 -4px 12px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(160, 200, 255, 0.05);
}
.pillars-phone__bezel {
  position: relative;
  border-radius: var(--radius-frame);
  padding: 2px;
  background: linear-gradient(180deg, #0e1422, #050810);
}
.pillars-phone__bezel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.065),
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
  pointer-events: none;
  z-index: 2;
}
.pillars-phone__screen {
  position: relative;
  z-index: 3;
  border-radius: var(--radius-panel);
  overflow: hidden;
  min-height: clamp(17.5rem, 48vw, 22rem);
  background: linear-gradient(165deg, #090f1a, #101a2c);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
}
.pillars-phone__notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 22px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: #050810;
  z-index: 4;
}
.pillars-phone__glare {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(
      118deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0.05) 14%,
      transparent 34%,
      transparent 62%,
      rgba(255, 255, 255, 0.04) 78%,
      rgba(195, 215, 255, 0.09) 100%
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0%, transparent 4%, transparent 96%, rgba(255, 255, 255, 0.05) 100%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.pillars-phone__ui {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: inherit;
  padding: 2.25rem 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-sizing: border-box;
}
.pillars-phone__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.pillars-phone__sigil {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-chip);
  background: linear-gradient(135deg, rgba(120, 180, 255, 0.35), rgba(80, 120, 200, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.pillars-phone__menu {
  flex: 1;
  height: 8px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}
.pillars-phone__hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  padding: 0.85rem 0.65rem;
  border-radius: var(--radius-promo);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 80% at 20% 0%, rgba(100, 200, 255, 0.22), transparent 55%),
    radial-gradient(70% 60% at 90% 80%, rgba(150, 100, 220, 0.2), transparent 50%),
    linear-gradient(155deg, rgba(25, 38, 68, 0.95), rgba(10, 14, 28, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.pillars-phone__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(185deg, transparent 0%, transparent 42%, rgba(4, 8, 16, 0.42) 100%);
  pointer-events: none;
}
.pillars-phone__kicker {
  position: relative;
  z-index: 1;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(175, 205, 245, 0.78);
}
.pillars-phone__head {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 4.2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: #f5f9ff;
}
.pillars-phone__glass {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.55rem 0.6rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.pillars-phone__glassrow {
  height: 6px;
  border-radius: var(--radius-crisp);
  background: rgba(220, 230, 255, 0.1);
  width: 100%;
}
.pillars-phone__glassrow--short {
  width: 68%;
}
.pillars-phone__dock {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.4rem;
  align-items: center;
  margin-top: auto;
  padding-top: 0.35rem;
}
.pillars-phone__dock span {
  flex: 1;
  height: 36px;
  border-radius: var(--radius-ui);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.pillars-phone__dock-cta {
  flex: 1.35;
  background: linear-gradient(120deg, rgba(80, 150, 255, 0.45), rgba(100, 80, 180, 0.35)) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}
.pillars-phone__reflection {
  position: absolute;
  left: 8%;
  right: 8%;
  top: calc(100% + 6px);
  height: 28%;
  border-radius: var(--radius-panel);
  background: linear-gradient(180deg, rgba(130, 175, 255, 0.14), transparent);
  filter: blur(2px);
  opacity: 0.6;
  transform: scaleY(-1);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent 72%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

@media (prefers-reduced-motion: reduce) {
  .pillars-scene__ambient,
  .pillars-scene__streak--a {
    animation: none !important;
  }
}

/* Proces — jasna oś czasu */
section.band--story-process {
  background: linear-gradient(180deg, #fbfcff 0%, #f0f3fa 42%, #e6ebf4 100%);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding-top: clamp(3.5rem, 9vw, 6rem);
  padding-bottom: clamp(3.5rem, 9vw, 6rem);
}
.story-process__intro {
  max-width: 36rem;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

/* Proces — pionowy „editorial flow”, duże numery */
.story-flow {
  list-style: none;
  margin: 0;
  padding: 0 0 0 clamp(2.5rem, 6vw, 3.5rem);
  position: relative;
  max-width: 52rem;
}
.story-flow::before {
  content: "";
  position: absolute;
  left: clamp(0.65rem, 1.8vw, 0.95rem);
  top: 0.35rem;
  bottom: 0.35rem;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(61, 127, 212, 0.28) 6%,
    rgba(100, 90, 160, 0.18) 50%,
    rgba(61, 127, 212, 0.12) 94%,
    transparent
  );
  pointer-events: none;
}

.story-flow__step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(4.5rem, 6.5rem) 1fr;
  gap: clamp(1rem, 3vw, 1.75rem);
  align-items: start;
  padding: clamp(1.75rem, 4vw, 2.75rem) 0;
  border-bottom: 1px solid rgba(10, 15, 24, 0.06);
}
.story-flow__step:last-child {
  border-bottom: none;
}
.story-flow__step::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(2.5rem, 6vw, 3.5rem) + clamp(0.45rem, 1.2vw, 0.65rem));
  top: clamp(2.1rem, 5vw, 2.85rem);
  width: 11px;
  height: 11px;
  border-radius: var(--radius-round);
  background: #fff;
  border: 2px solid var(--accent-deep);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.96),
    0 0 22px rgba(61, 127, 212, 0.28);
  z-index: 1;
}

.story-flow__mega {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: rgba(61, 127, 212, 0.12);
  text-shadow: 0 0 48px rgba(61, 127, 212, 0.15);
  margin-top: -0.08em;
  user-select: none;
}

.story-flow__body {
  position: relative;
  padding-top: 0.35rem;
}
.story-flow__body h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.story-flow__body p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 34rem;
}

/* Before / after — jasne panele */
section.band--story-split {
  background: linear-gradient(180deg, #eef2f8 0%, #e2e8f2 100%);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  padding-top: clamp(3rem, 8vw, 5rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}
.story-split {
  display: grid;
  gap: 1px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(10, 15, 24, 0.1);
  box-shadow: 0 16px 44px rgba(10, 24, 48, 0.08);
}
@media (min-width: 720px) {
  .story-split {
    grid-template-columns: 1fr 1fr;
  }
}
.story-split__panel {
  padding: clamp(2rem, 5vw, 3rem);
  min-height: min(42vh, 320px);
}
.story-split__panel--before {
  background: linear-gradient(165deg, #f5f3f6 0%, #ebe6ee 100%);
}
.story-split__panel--after {
  background: linear-gradient(165deg, #f0f6ff 0%, #e4eefc 100%);
  border-left: 1px solid rgba(10, 15, 24, 0.08);
}
@media (max-width: 719px) {
  .story-split__panel--after {
    border-left: none;
    border-top: 1px solid rgba(10, 15, 24, 0.08);
  }
}
.story-split__label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  color: var(--ink-faint);
}
.story-split__headline {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}
.story-split__bullets {
  list-style: none;
  margin: 0;
  padding: 0;
}
.story-split__bullets li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ink-muted);
}
.story-split__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-round);
  background: rgba(61, 127, 212, 0.45);
}
.story-split__panel--after .story-split__bullets li::before {
  background: linear-gradient(135deg, #3d7fd4, #6b5ba8);
  box-shadow: 0 0 10px rgba(61, 127, 212, 0.35);
}

/* Usługi — jasny pas */
section.band--story-services {
  background: linear-gradient(180deg, #fafbfd 0%, #f3f6fb 100%);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
  padding-top: clamp(2rem, 5vw, 3rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
}
.story-services-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: clamp(1rem, 2.5vw, 1.35rem) clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(10, 15, 24, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 32px rgba(10, 24, 48, 0.05);
}
.story-services-bar__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-deep);
  flex-shrink: 0;
}
.story-services-bar__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  flex: 1;
  min-width: 0;
}
.story-services-bar__chips li {
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  border: 1px solid rgba(61, 127, 212, 0.2);
  background: rgba(238, 243, 251, 0.65);
}
.story-services-bar__cta {
  flex-shrink: 0;
  padding: 0.65rem 1.25rem;
  font-size: 0.8125rem;
}
.story-services-bar__note {
  flex: 1 0 100%;
  margin: 0;
  padding-top: 0.15rem;
  font-size: 0.9375rem;
  line-height: 1.58;
  color: var(--ink-muted);
  max-width: 44rem;
}

@media (max-width: 719px) {
  .story-services-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: clamp(1.15rem, 4vw, 1.4rem) clamp(1rem, 4vw, 1.35rem);
  }
  .story-services-bar__label {
    width: 100%;
    padding-bottom: 0.5rem;
    margin: 0;
    border-bottom: 1px solid rgba(10, 15, 24, 0.07);
    letter-spacing: 0.18em;
  }
  .story-services-bar__chips {
    flex: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
  }
  .story-services-bar__chips li {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 0.5rem 0.75rem;
  }
  .story-services-bar__cta {
    width: 100%;
    max-width: none;
    justify-content: center;
    margin-top: 0.15rem;
    padding: 0.72rem 1.25rem;
  }
  .story-services-bar__note {
    flex: none;
    width: 100%;
    max-width: none;
    padding-top: 0.65rem;
    margin-top: 0.15rem;
    border-top: 1px solid rgba(10, 15, 24, 0.07);
    font-size: 0.9rem;
    line-height: 1.55;
  }
}
