/* ==========================================================================
   STUDIO WWW — „precyzja instrumentu”
   Ciepły grafit, kość, laserowa zieleń, miedź do numeracji.
   Statyczny CSS, zero zależności. Mobile-first od 320 px.
   ========================================================================== */

:root {
  --ink:      #12120F;
  --surface:  #1A1A16;
  --surface-2:#201F1A;
  --line:     #2E2E26;
  --bone:     #F4F1E8;
  --mute:     #A9A698;
  --green:    #B8FF2E;
  --copper:   #C9754A;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --text: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(16px, 4.2vw, 44px);
  --wrap: 1360px;
  --gap: clamp(14px, 1.6vw, 24px);

  --ease: cubic-bezier(.22,.61,.24,1);
  --hdr: 62px;
}

@media (min-width: 900px) { :root { --hdr: 78px; } }

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

html {
  background: var(--ink);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

::selection { background: var(--green); color: var(--ink); }

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

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

.skip {
  position: fixed; top: 10px; left: 10px; z-index: 100;
  background: var(--green); color: var(--ink);
  padding: 12px 18px; font-family: var(--display); font-weight: 700;
  font-size: 13px; letter-spacing: .06em;
  transform: translateY(-160%);
  transition: transform .18s var(--ease);
}
.skip:focus { transform: none; }

/* --- siatka bazowa, widoczna w tle ------------------------------------- */
.page-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  padding-inline: var(--pad);
  max-width: calc(var(--wrap) + 2 * var(--pad));
  margin-inline: auto;
}
.page-grid span { border-left: 1px solid rgba(244, 241, 232, .045); }
.page-grid span:last-child { border-right: 1px solid rgba(244, 241, 232, .045); }
@media (min-width: 900px) { .page-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } }
@media (min-width: 1500px) {
  .page-grid { max-width: none; padding-inline: 0; }
  .page-grid span { border-left-color: rgba(244, 241, 232, .035); }
}

main, .hdr, .ftr, .rail { position: relative; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--pad));
  margin-inline: auto;
  padding-inline: var(--pad);
  position: relative;
  z-index: 1;
}

/* --- typografia --------------------------------------------------------- */
.h1, .h2, .h3, .work-name, .band-big, .ftr-claim {
  font-family: var(--display);
  font-weight: 800;
  text-wrap: balance;
}

.h1 {
  font-size: clamp(2.75rem, 11.6vw, 10.6rem);
  line-height: .87;
  letter-spacing: -.045em;
  font-weight: 800;
}
.h1-line { display: block; }
.h1-last { display: flex; align-items: center; gap: clamp(10px, 2.2vw, 30px); }
.h1-last .txt { white-space: nowrap; }
.dot-green { color: var(--green); }
/* fraza kluczowa wewnątrz H1 — mała, jak kicker, żeby nie ruszać trzech wielkich linii */
.h1-eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; column-gap: .55em;
  margin-bottom: clamp(16px, 2.2vw, 26px);
  font-family: var(--display); font-weight: 700;
  font-size: clamp(11px, .35vw + 9.6px, 13.5px);
  line-height: 1.5; letter-spacing: .18em; text-transform: uppercase;
  color: var(--green);
  text-wrap: wrap;
}
.h1-eyebrow-sep { color: var(--mute); }
.h1-eyebrow-tail { color: var(--bone); white-space: nowrap; }
@media (max-width: 559px) { .h1-eyebrow-sep { display: none; } .h1-eyebrow-tail { flex-basis: 100%; } }
.beam {
  flex: 1 1 auto; height: 2px; background: var(--green);
  position: relative; min-width: 22px;
  transform-origin: left center;
  animation: beam-in 1.1s var(--ease) .35s both;
}
.beam::after {
  content: ""; position: absolute; right: 0; top: 50%;
  width: 6px; height: 6px; background: var(--green);
  transform: translate(2px, -50%) rotate(45deg);
}
@keyframes beam-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.h2 {
  font-size: clamp(2rem, 5.1vw, 4.15rem);
  line-height: .95;
  letter-spacing: -.038em;
}
.h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.15;
  letter-spacing: -.02em;
}

.lead {
  color: var(--mute);
  font-size: clamp(1rem, .35vw + .95rem, 1.125rem);
  line-height: 1.62;
  max-width: 46ch;
}
.note {
  color: var(--mute);
  font-size: .875rem;
  line-height: 1.55;
  padding-left: 14px;
  border-left: 1px solid var(--copper);
  max-width: 62ch;
}

.idx {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--mute);
}
.idx-num {
  font-family: var(--display); font-weight: 800;
  font-size: 11px; letter-spacing: .12em;
  color: var(--copper);
  font-variant-numeric: tabular-nums;
}
.kicker {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bone);
}
.dot {
  width: 6px; height: 6px; background: var(--green);
  display: inline-block; flex: none;
}

/* --- przyciski ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 2px;
  font-family: var(--display); font-weight: 700;
  font-size: 12.5px; letter-spacing: .13em; text-transform: uppercase;
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn-arw { font-size: 14px; line-height: 1; transition: transform .2s var(--ease); }
.btn:hover .btn-arw { transform: translateX(3px); }
.btn--green { background: var(--green); color: var(--ink); border-color: var(--green); }
.btn--green:hover { background: #CBFF63; border-color: #CBFF63; }
.btn--ghost { background: transparent; color: var(--bone); border-color: #4A4A3E; }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 11px; letter-spacing: .1em; }

/* --- nagłówek ----------------------------------------------------------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--hdr);
  border-bottom: 1px solid transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.hdr-in {
  height: 100%;
  display: flex; align-items: center; gap: 20px;
  justify-content: space-between;
}
.hdr.is-stuck {
  background: rgba(18, 18, 15, .92);
  border-bottom-color: var(--line);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.brand-mark { width: 26px; height: 26px; color: var(--bone); flex: none; }
.brand-word {
  font-family: var(--display); font-weight: 800;
  font-size: 15px; letter-spacing: -.02em;
}
.nav { display: none; }
.nav ul { display: flex; gap: 28px; }
.nav a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 44px; padding-inline: 2px;
  font-size: 13.5px; color: var(--mute);
  transition: color .18s var(--ease);
}
.nav a:hover { color: var(--bone); }
.hdr-cta { display: none; }

.menu-d { position: relative; }
.menu-btn {
  list-style: none; display: inline-flex; align-items: center; gap: 9px;
  min-height: 44px; min-width: 44px; justify-content: flex-end;
  cursor: pointer;
  font-family: var(--display); font-weight: 700;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}
.menu-btn::-webkit-details-marker { display: none; }
.menu-bars { display: grid; gap: 5px; width: 20px; }
.menu-bars i { display: block; height: 1.5px; background: var(--bone); transition: transform .2s var(--ease); }
.menu-d[open] .menu-bars i:first-child { transform: translateY(3.2px) rotate(45deg); }
.menu-d[open] .menu-bars i:last-child { transform: translateY(-3.2px) rotate(-45deg); }
.menu-panel { display: none; }
.menu-d[open] .menu-panel { display: block; }
.menu-panel {
  position: fixed; left: 0; right: 0; top: var(--hdr);
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 12px var(--pad) 26px;
  max-height: calc(100svh - var(--hdr)); overflow-y: auto;
}
.menu-panel ul { display: grid; }
.menu-panel li { border-bottom: 1px solid var(--line); }
.menu-panel a {
  display: flex; align-items: baseline; gap: 14px;
  min-height: 58px; padding-block: 8px;
  font-family: var(--display); font-weight: 700;
  font-size: 21px; letter-spacing: -.02em;
}
.menu-panel a span {
  font-size: 11px; letter-spacing: .12em; color: var(--copper);
  font-variant-numeric: tabular-nums;
}
.menu-mail { margin-top: 20px; font-size: 14px; color: var(--mute); }
.menu-mail a {
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: underline; text-underline-offset: 3px;
}

@media (min-width: 900px) {
  .menu-d { display: none; }
  .nav { display: block; }
  .hdr-cta { display: inline-flex; }
}
@media (min-width: 1080px) {
  .nav ul { gap: 34px; }
}

/* --- pasek postępu ------------------------------------------------------ */
.rail {
  display: none;
  position: fixed; left: 14px; top: 50%; transform: translateY(-50%);
  z-index: 40;
  flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 9.5px; letter-spacing: .18em;
  color: var(--mute); text-transform: uppercase;
}
.rail-code { color: var(--copper); font-weight: 800; }
.rail-track { width: 1px; height: 96px; background: var(--line); position: relative; display: block; }
.rail-track i { position: absolute; inset: 0 auto auto 0; width: 1px; height: 0; background: var(--green); display: block; }
.rail-label { writing-mode: vertical-rl; transform: rotate(180deg); opacity: .75; }
@media (min-width: 1180px) { .rail { display: flex; } }

/* --- HERO --------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 640px;
  min-height: 100svh;
  display: flex;
  padding-top: var(--hdr);
  overflow: hidden;
  isolation: isolate;
  z-index: 1;
  border-bottom: 1px solid var(--line);
}
.hero-gl { position: absolute; inset: 0; z-index: 0; background: var(--ink); }
.hero-canvas { width: 100%; height: 100%; display: block; }
.hero-gl picture { position: absolute; inset: 0; display: block; }
.hero-poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 45%;
  display: none;
}
.hero.no-gl .hero-canvas { display: none; }
.hero.no-gl .hero-poster { display: block; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 82% at 12% 22%, rgba(18,18,15,.86) 0%, rgba(18,18,15,.42) 46%, rgba(18,18,15,0) 74%),
    linear-gradient(to bottom, rgba(18,18,15,.72) 0%, rgba(18,18,15,.10) 26%, rgba(18,18,15,.30) 62%, rgba(18,18,15,.92) 100%);
}
.hero-in {
  flex: 1;
  display: flex; flex-direction: column;
  justify-content: space-between;
  gap: clamp(26px, 5vw, 40px);
  padding-block: clamp(20px, 3.5vw, 34px) clamp(20px, 3vw, 30px);
  z-index: 2;
}
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hero-meta {
  font-family: var(--display); font-size: 10.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--mute);
  display: none;
}
@media (min-width: 640px) { .hero-meta { display: block; } }

.hero-mid { display: grid; gap: clamp(22px, 3vw, 34px); margin-block: auto; }
.hero-aside {
  display: grid; gap: 20px;
  padding-top: 4px;
}
.hero-lead {
  color: #D7D4C6;
  font-size: clamp(1rem, .5vw + .9rem, 1.2rem);
  line-height: 1.55;
  max-width: 40ch;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

@media (min-width: 860px) {
  .hero-aside {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 40px;
    border-top: 1px solid rgba(244,241,232,.14);
    padding-top: 22px;
  }
  .hero-lead { max-width: 44ch; }
}

.hero-foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  border-top: 1px solid rgba(244,241,232,.12);
  padding-top: 16px;
}
.hero-scroll {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; color: var(--mute); letter-spacing: .01em;
  max-width: 34ch;
}
.hero-scroll-line {
  width: 34px; height: 1px; background: var(--mute); flex: none;
  position: relative; overflow: hidden;
}
.hero-scroll-line::after {
  content: ""; position: absolute; inset: 0; background: var(--green);
  transform-origin: left; animation: scroll-tick 2.6s var(--ease) infinite;
}
@keyframes scroll-tick {
  0% { transform: scaleX(0); opacity: 1; }
  55% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}
@media (max-width: 419px) { .hero-scroll span { display: none; } }
.hero-scroll .lbl { display: none; }
@media (min-width: 480px) { .hero-scroll .lbl { display: inline; } }

.fps {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--display);
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mute);
  font-variant-numeric: tabular-nums;
}
.fps-bar { width: 26px; height: 2px; background: var(--line); position: relative; display: block; flex: none; }
.fps-bar i { position: absolute; inset: 0 auto 0 0; width: 0%; background: var(--green); display: block; transition: width .4s linear; }
.fps-num { color: var(--bone); font-weight: 700; min-width: 2ch; text-align: right; }
.fps-note { color: var(--mute); }
@media (max-width: 419px) { .fps-note { display: none; } }

.tick {
  position: absolute; width: 9px; height: 9px; z-index: 2; pointer-events: none;
  border-color: rgba(244,241,232,.3); border-style: solid; border-width: 0;
}
.tick--tl { top: calc(var(--hdr) + 10px); left: var(--pad); border-left-width: 1px; border-top-width: 1px; }
.tick--tr { top: calc(var(--hdr) + 10px); right: var(--pad); border-right-width: 1px; border-top-width: 1px; }
.tick--bl { bottom: 10px; left: var(--pad); border-left-width: 1px; border-bottom-width: 1px; }
.tick--br { bottom: 10px; right: var(--pad); border-right-width: 1px; border-bottom-width: 1px; }

/* --- sekcje ------------------------------------------------------------- */
.sec {
  padding-block: clamp(64px, 9.5vw, 132px);
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
  scroll-margin-top: calc(var(--hdr) + 8px);
}
.sec:first-of-type { border-top: 0; }
.sec--works { padding-top: clamp(56px, 7.5vw, 104px); }
.sec--surface { background: var(--surface); }
.sec--contact { background: var(--surface); border-top-color: #3A3A2F; }

.sec-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 68px); }
@media (min-width: 900px) {
  .sec-head {
    grid-template-columns: 190px minmax(0, 1fr) minmax(0, 320px);
    column-gap: clamp(24px, 3vw, 48px);
    row-gap: 20px;
    align-items: start;
  }
  .sec-head .idx { grid-column: 1; padding-top: 6px; }
  .sec-head .h2 { grid-column: 2; }
  .sec-head .lead { grid-column: 3; align-self: end; padding-bottom: 4px; }
  .sec-head .note { grid-column: 2 / -1; }
}
@media (min-width: 1180px) {
  .sec-head { grid-template-columns: 210px minmax(0, 1fr) minmax(0, 360px); }
}

/* --- realizacje --------------------------------------------------------- */
.works { display: grid; gap: clamp(44px, 6.5vw, 92px); }

.work { display: grid; gap: clamp(22px, 3vw, 34px); }

.work-media { position: relative; }

.shot {
  position: relative;
  border: 1px solid var(--line);
  background: var(--surface);
  margin: 0;
}
.shot-btn {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  cursor: zoom-in; position: relative; overflow: hidden;
  line-height: 0;
}
.shot-btn img {
  width: 100%; height: auto;
  transition: transform .5s var(--ease), opacity .3s var(--ease);
}
.shot-btn:hover img { transform: scale(1.012); }
.shot-btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,18,15,.5), rgba(18,18,15,0) 42%);
  opacity: .55; transition: opacity .25s var(--ease);
}
.shot-btn:hover::after { opacity: .78; }
.shot-btn-label {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  padding: 8px 12px; min-height: 32px;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(18,18,15,.82);
  border: 1px solid rgba(244,241,232,.3);
  color: var(--bone);
  font-family: var(--display); font-weight: 700;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.shot-btn-label::after { content: "↗"; font-size: 12px; }
.shot-btn:hover .shot-btn-label,
.shot-btn:focus-visible .shot-btn-label {
  background: var(--green); color: var(--ink); border-color: var(--green);
}
.shot-cap {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 9px 12px;
  border-top: 1px solid var(--line);
  font-family: var(--display); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--mute);
  font-variant-numeric: tabular-nums;
}

.work-body { display: grid; gap: 14px; align-content: start; }
.work-top {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.work-num {
  font-family: var(--display); font-weight: 800;
  font-size: 12px; letter-spacing: .1em; color: var(--copper);
  font-variant-numeric: tabular-nums;
}
.work-kind {
  font-family: var(--display); font-size: 10.5px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--mute); text-align: right;
}
.work-name {
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  line-height: .92; letter-spacing: -.04em;
}
.work-line {
  color: #DCD9CB; font-size: clamp(1rem, .3vw + .95rem, 1.075rem);
  line-height: 1.55; max-width: 42ch;
}
.specs { counter-reset: spec; margin-top: 4px; }
.spec {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  column-gap: 10px;
  padding-block: 12px;
  border-top: 1px solid var(--line);
}
.spec::before {
  counter-increment: spec;
  content: counter(spec, decimal-leading-zero);
  grid-row: 1 / 3;
  font-family: var(--display); font-weight: 700;
  font-size: 10.5px; letter-spacing: .08em;
  color: var(--copper); padding-top: 2px;
  font-variant-numeric: tabular-nums;
}
.spec dt {
  font-family: var(--display); font-weight: 700;
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--mute);
}
.spec dd {
  margin: 3px 0 0;
  font-size: .9375rem; line-height: 1.5; color: var(--bone);
}
.work-stack {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline;
  margin-top: 4px;
  font-size: 11.5px; color: var(--mute); letter-spacing: .02em;
}
.work-stack span {
  font-family: var(--display); font-weight: 700; font-size: 9.5px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--copper);
}

@media (min-width: 980px) {
  .work { grid-template-columns: minmax(0, 1.32fr) minmax(0, .78fr); gap: clamp(28px, 3.4vw, 52px); align-items: start; }
  .work:nth-child(even) .work-media { order: 2; }
  .work:nth-child(even) .work-body { order: 1; }
  .work-body { position: sticky; top: calc(var(--hdr) + 26px); }
  .work:nth-child(even) .work-body { text-align: left; }
}
@media (min-width: 980px) and (max-height: 760px) {
  .work-body { position: static; }
}

/* „Zobacz na żywo” — pełna strona realizacji, obok podglądu zrzutu */
.work-go {
  display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap;
  margin-top: 12px;
}
.btn-live { min-height: 48px; padding: 0 20px; }
.btn-live .btn-arw { display: inline-block; font-size: 15px; }
.btn-live:hover .btn-arw,
.btn-live:focus-visible .btn-arw { animation: live-nudge 1.1s var(--ease) infinite; }
.btn-live:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; box-shadow: 0 0 0 3px var(--ink); }
@keyframes live-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}
.work-go-note {
  font-family: var(--display); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--mute);
}
@media (max-width: 420px) {
  .btn-live { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-live:hover .btn-arw,
  .btn-live:focus-visible .btn-arw { animation: none; transform: translateX(3px); }
}

/* numeracja na obrazie */
.work-media::before {
  content: attr(data-num);
  position: absolute; left: -1px; top: -1px; z-index: 3;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--green); color: var(--ink);
  font-family: var(--display); font-weight: 800; font-size: 12px;
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
}

/* --- pas zieleni -------------------------------------------------------- */
.band {
  background: var(--green);
  color: var(--ink);
  padding-block: clamp(44px, 6vw, 86px);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.band::before, .band::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px;
  background: rgba(18,18,15,.22);
}
.band::before { top: 14px; }
.band::after { bottom: 14px; }
.band-in { display: grid; gap: 26px; }
.band-big {
  font-size: clamp(1.85rem, 6.1vw, 4.6rem);
  line-height: .95; letter-spacing: -.045em;
  color: var(--ink);
}
.band-side { display: grid; gap: 14px; max-width: 46ch; }
.band-side p { font-size: .9375rem; line-height: 1.55; color: #23231B; }
.band-mark {
  font-family: var(--display); font-weight: 700;
  font-size: 10px; letter-spacing: .2em; color: #3B3B2A !important;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 900px) {
  .band-in { grid-template-columns: minmax(0, 1.55fr) minmax(0, .75fr); align-items: end; column-gap: 48px; }
}

/* --- proces ------------------------------------------------------------- */
.steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 12px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}
.step-num {
  font-family: var(--display); font-weight: 800;
  font-size: 11px; letter-spacing: .08em; color: var(--copper);
  padding-top: 4px; font-variant-numeric: tabular-nums;
}
.step-name {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.15; letter-spacing: -.02em;
  margin-bottom: 8px;
}
.step-body { display: grid; gap: 10px; }
.step-body p { color: var(--mute); font-size: .9375rem; line-height: 1.55; max-width: 44ch; }
.step-get {
  padding-top: 10px; border-top: 1px solid var(--line);
  color: var(--bone) !important;
  font-size: .875rem !important;
}
.step-get span {
  display: block;
  font-family: var(--display); font-weight: 700; font-size: 9.5px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--green);
  margin-bottom: 4px;
}
@media (min-width: 820px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; }
  .step {
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 16px;
    padding: 22px 0 26px;
    border-top: 1px solid var(--line);
    padding-right: 26px;
  }
  .step:nth-child(even) { padding-right: 0; padding-left: 26px; border-left: 1px solid var(--line); }
  .step:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (min-width: 1120px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .step { padding-right: 24px; border-bottom: 1px solid var(--line); }
  .step:nth-child(even) { padding-left: 24px; }
  .step + .step { border-left: 1px solid var(--line); }
  .step:nth-child(4n+1) { border-left: 0; padding-left: 0; }
}

/* --- co dostajesz ------------------------------------------------------- */
.have { display: grid; gap: 0; border-top: 1px solid var(--line); }
.have-item {
  display: grid; gap: 5px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
  position: relative;
  padding-left: 20px;
}
.have-item::before {
  content: ""; position: absolute; left: 0; top: 24px;
  width: 7px; height: 7px; background: var(--green);
}
.have-item dt {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  letter-spacing: -.01em; line-height: 1.25;
}
.have-item dd { color: var(--mute); font-size: .9rem; line-height: 1.55; max-width: 42ch; }
@media (min-width: 760px) {
  .have { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 44px; }
  .have-item:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}
@media (min-width: 760px) and (max-width: 899px) { .have { column-gap: 32px; } }

.phones { margin-top: clamp(36px, 4.5vw, 64px); }
.phones-row {
  display: grid; grid-template-columns: 1fr;
  gap: 16px;
}
.phone {
  border: 1px solid var(--line);
  background: var(--ink);
  padding: 8px;
}
.phone img { width: 100%; height: auto; border: 1px solid #26261F; }
.phone p {
  padding: 9px 2px 2px;
  font-family: var(--display); font-size: 9.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--mute);
  font-variant-numeric: tabular-nums;
}
/* 4 telefony: 1 kolumna na najwęższych, 2×2 od 380 px, rząd czterech od 700 px */
@media (min-width: 380px) { .phones-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 620px) { .phones-row { gap: 20px; } }
@media (min-width: 700px) { .phones-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.phones figcaption {
  margin-top: 14px; color: var(--mute); font-size: .8125rem; max-width: 62ch;
}

/* --- porównanie -------------------------------------------------------- */
.cmp { border-top: 1px solid var(--line); }
.cmp-row { display: grid; gap: 12px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.cmp-key {
  font-family: var(--display); font-weight: 700;
  font-size: 1.0625rem; letter-spacing: -.01em;
}
.cmp-cell { padding-left: 14px; border-left: 1px solid var(--line); }
.cmp-cell p { color: var(--mute); font-size: .9rem; line-height: 1.55; }
.cmp-tag {
  display: block;
  font-family: var(--display); font-weight: 700;
  font-size: 9px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 5px;
}
.cmp-cell--own { border-left: 1px solid var(--green); }
.cmp-cell--own .cmp-tag { color: var(--green); }
.cmp-cell--own p { color: var(--bone); }
@media (min-width: 860px) {
  .cmp-row {
    grid-template-columns: 190px minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(20px, 3vw, 44px);
    align-items: start;
    padding-block: 24px;
  }
  .cmp-key { padding-top: 2px; }
  .cmp-cell { padding-left: 18px; }
}
@media (min-width: 1180px) { .cmp-row { grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1fr); } }
.cmp-close {
  margin-top: 26px; color: var(--mute); font-size: .9375rem;
  max-width: 66ch; padding-left: 14px; border-left: 1px solid var(--copper);
}

/* --- kontakt ----------------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(30px, 4vw, 56px); }
@media (min-width: 940px) {
  .contact-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); column-gap: clamp(40px, 6vw, 96px); }
  .contact-direct { position: sticky; top: calc(var(--hdr) + 30px); align-self: start; }
}
.contact-label {
  font-family: var(--display); font-weight: 700;
  font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--copper); margin-bottom: 10px;
}
.contact-mail {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.05; letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.contact-mail a {
  display: inline-block;
  min-height: 44px;
  padding-block: 6px;
  background-image: linear-gradient(var(--green), var(--green));
  background-repeat: no-repeat;
  background-size: 100% 2px;
  background-position: 0 100%;
  padding-bottom: 6px;
  transition: background-size .28s var(--ease), color .2s var(--ease);
}
.contact-mail a:hover { background-size: 100% 0%; color: var(--green); padding-bottom: 0; }
.contact-sub { margin-top: 16px; color: var(--mute); font-size: .9375rem; max-width: 40ch; }
.contact-links { margin-top: 26px; display: grid; border-top: 1px solid var(--line); }
.contact-links li { border-bottom: 1px solid var(--line); }
.contact-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 54px; font-size: .9375rem;
  transition: color .18s var(--ease);
}
.contact-links a span {
  font-family: var(--display); font-weight: 700;
  font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute);
}
.contact-links a:hover { color: var(--green); }
.contact-links a::after { content: "↗"; color: var(--mute); font-size: 12px; }

.demo-note {
  border: 1px solid #3E3E31;
  border-left: 2px solid var(--copper);
  background: var(--surface-2);
  padding: 12px 14px;
  font-size: .8125rem; line-height: 1.5; color: var(--mute);
  margin-bottom: 22px;
}
.demo-note strong { color: var(--bone); font-weight: 500; }

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label {
  font-family: var(--display); font-weight: 700;
  font-size: 10px; letter-spacing: .17em; text-transform: uppercase;
  color: var(--mute);
}
.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: 0; border-bottom: 1px solid #46463A;
  border-radius: 0;
  color: var(--bone);
  font-family: var(--text); font-size: 1rem;
  padding: 12px 2px;
  min-height: 50px;
  transition: border-color .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 104px; line-height: 1.5; }
.field input:hover, .field textarea:hover { border-bottom-color: #6A6A58; }
.field input:focus, .field textarea:focus {
  border-bottom-color: var(--green);
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-bottom-color: #FF8A6B; }
.err { color: #FF9B7C; font-size: .8125rem; }
.err::before { content: "↑ "; }
.form-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.form-hint {
  font-family: var(--display); font-size: 9.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--mute);
}
.form-status { font-size: .875rem; line-height: 1.5; color: var(--bone); min-height: 0; }
.form-status.is-ok { color: var(--green); }
.form-status.is-bad { color: #FF9B7C; }

/* --- stopka ------------------------------------------------------------ */
.ftr {
  border-top: 1px solid var(--line);
  padding-block: clamp(40px, 5vw, 64px) 30px;
  z-index: 1;
}
.ftr-claim {
  font-size: clamp(1.5rem, 4.6vw, 3.4rem);
  line-height: .98; letter-spacing: -.045em;
  margin-bottom: clamp(26px, 4vw, 44px);
  max-width: 18ch;
}
.ftr-cols { display: grid; gap: 26px; border-top: 1px solid var(--line); padding-top: 24px; }
.ftr-nav ul { display: grid; gap: 2px; }
.ftr-nav a, .ftr-contact a {
  display: inline-flex; align-items: center; min-width: 44px; min-height: 44px;
  font-size: .875rem; color: var(--mute);
  transition: color .18s var(--ease);
}
.ftr-nav a:hover, .ftr-contact a:hover { color: var(--green); }
.ftr-contact { display: grid; align-content: start; }
.ftr-meta { display: grid; gap: 2px; font-size: .8125rem; color: var(--mute); }
.ftr-meta a { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; }
.ftr-meta p:last-child a { text-decoration: none; color: var(--mute); }
.ftr-meta a { display: inline-flex; align-items: center; min-height: 44px; }
.ftr-meta p { display: flex; align-items: center; min-height: 44px; }
@media (min-width: 760px) {
  .ftr-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 30px; }
}
.ftr-note {
  margin-top: 30px; padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: .78rem; line-height: 1.55; color: var(--mute);
  max-width: 82ch;
}

/* --- podgląd ----------------------------------------------------------- */
.lb {
  position: fixed; inset: 0; z-index: 90;
  background: #0B0B09;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: 12px var(--pad) 16px;
  overflow: hidden;
}
.lb[hidden] { display: none; }
.lb-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-block: 4px 8px;
  border-bottom: 1px solid var(--line);
}
.lb-count {
  font-family: var(--display); font-weight: 800;
  font-size: 12px; letter-spacing: .14em; color: var(--copper);
  font-variant-numeric: tabular-nums;
  display: flex; gap: 8px; align-items: baseline;
}
.lb-count .lb-sep { color: #4A4A3C; }
.lb-count::after {
  content: "realizacje";
  font-weight: 700; font-size: 9.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--mute); margin-left: 4px;
}
.lb-acts { display: flex; align-items: center; gap: 10px; }
.lb-go {
  min-height: 46px; padding: 0 14px;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--green); color: var(--ink);
  border: 1px solid var(--green); border-radius: 2px;
  font-family: var(--display); font-weight: 700;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  transition: background-color .18s var(--ease), border-color .18s var(--ease);
}
.lb-go:hover { background: #CBFF63; border-color: #CBFF63; }
.lb-go-arw { display: inline-block; font-size: 14px; line-height: 1; transition: transform .2s var(--ease); }
.lb-go:hover .lb-go-arw, .lb-go:focus-visible .lb-go-arw { transform: translateX(3px); }
.lb-close {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line); border-radius: 2px;
  cursor: pointer;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.lb-close svg { width: 18px; height: 18px; }
.lb-close:hover { border-color: var(--green); background: rgba(184,255,46,.08); }
.lb-stage {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 10px;
  min-height: 0;
  padding-block: 10px;
}
.lb-fig { margin: 0; min-height: 0; display: grid; gap: 10px; justify-items: center; }
.lb-fig img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain;
  border: 1px solid #3A3A2E;
  background: var(--surface);
}
.lb-cap { display: grid; gap: 3px; width: 100%; max-width: 900px; }
.lb-kind {
  font-family: var(--display); font-size: 9.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--mute);
}
.lb-name {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.15rem, 2.6vw, 1.75rem);
  letter-spacing: -.03em; line-height: 1.1;
}
.lb-desc { color: var(--mute); font-size: .8125rem; line-height: 1.45; max-width: 68ch; }
.lb-nav {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line); border-radius: 2px;
  cursor: pointer; justify-self: center;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.lb-nav svg { width: 20px; height: 20px; }
.lb-nav:hover { border-color: var(--green); background: rgba(184,255,46,.08); }
.lb-hint {
  font-size: .72rem; color: var(--mute); text-align: center;
  padding-top: 10px; border-top: 1px solid var(--line);
  font-family: var(--display); letter-spacing: .06em;
}
.lb-hint span { color: var(--bone); }

@media (min-width: 760px) {
  .lb-stage { grid-template-columns: 52px minmax(0, 1fr) 52px; gap: 16px; }
  .lb-fig img { max-height: min(70svh, 720px); }
  .lb { padding: 14px var(--pad) 18px; }
}
@media (min-width: 1100px) {
  .lb { padding-inline: clamp(24px, 5vw, 72px); }
  .lb-stage { grid-template-columns: 56px minmax(0, 1fr) 56px; }
}

/* --- odsłanianie ------------------------------------------------------- */
.js .rv { opacity: 0; transform: translateY(14px); }
.js .rv.in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  .beam { animation: none; }
  .hero-scroll-line::after { animation: none; transform: scaleX(1); opacity: .6; }
}

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

/* --- pytania (FAQ) ------------------------------------------------------ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-item {
  display: grid; gap: 8px; align-content: start;
  padding: 22px 0 24px 20px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.faq-item::before {
  content: ""; position: absolute; left: 0; top: 30px;
  width: 7px; height: 7px; background: var(--copper);
}
.faq-q {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.05rem, 1.2vw + .7rem, 1.25rem);
  letter-spacing: -.012em; line-height: 1.3;
  text-wrap: balance;
}
.faq-a { color: var(--mute); font-size: .95rem; line-height: 1.62; max-width: 60ch; }
@media (min-width: 900px) {
  .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
  .faq-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .faq-item:last-child:nth-child(odd) .faq-a { max-width: 78ch; }
}
