/* Alpin Marek – colours from the logo: black, white and electric blue. Light content, dark frame. */

:root {
  --ocynk: #edf1f5;
  --ocynk-jasny: #ffffff;
  --grafit: #0d1520;
  --stal: #4f5c6b;
  --linia: rgba(13, 21, 32, 0.14);
  --panel: #0d1520;
  --glow: 0 0 18px rgba(31, 143, 255, 0.55);
  --wnetrze: #05070a;
  --wnetrze-2: #0c1118;
  --lina: #1f8fff;
  --lina-tekst: #0b63c4;
  --biel: #f4f8fc;
  --biel-2: rgba(244, 248, 252, 0.72);

  --gutter: clamp(20px, 4.5vw, 64px);
  --max: 1280px;
  --head-h: 84px;

  --display: "Archivo", "Arial Black", "Helvetica Neue", sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--head-h) + 16px);
}

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

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.label {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stal);
}

h1,
h2 {
  font-family: var(--display);
  font-stretch: 110%;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.8rem);
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.9rem);
}

h3 {
  font-size: 1.125rem;
  line-height: 1.3;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  padding: 10px 14px;
  background: var(--panel);
  color: var(--biel);
}

.skip:focus {
  top: 12px;
}

/* Gaps from the brief – visible only in the draft build */
.gap {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  font-style: normal;
  line-height: 1.6;
  letter-spacing: 0.02em;
  vertical-align: 0.1em;
  text-transform: none;
}

.gap--fill {
  background: #ffe0cc;
  color: #7a2604;
}

.gap--check {
  background: #f6e7a6;
  color: #5a4600;
}

.is-gap {
  text-decoration: underline dashed rgba(31, 143, 255, 0.9) 1.5px;
  text-underline-offset: 4px;
}

.draft-box {
  margin-top: 18px;
}

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn--main {
  background: var(--lina);
  color: var(--wnetrze);
}

.btn--main:hover {
  background: #4aa6ff;
  color: var(--wnetrze);
  box-shadow: var(--glow);
}

.btn--ghost {
  border-color: var(--grafit);
  color: var(--grafit);
}

.btn--ghost:hover {
  background: var(--grafit);
  color: var(--biel);
}

.btn--light {
  border-color: var(--biel);
  color: var(--biel);
}

.btn--light:hover {
  background: var(--biel);
  color: var(--wnetrze);
}

.btn.is-gap {
  text-decoration: none;
  box-shadow: inset 0 0 0 2px var(--wnetrze), 0 0 0 2px #ffb98f;
}

.link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid var(--lina);
  padding-bottom: 2px;
}

.link:hover {
  color: var(--lina-tekst);
}

/* ---------- Header ---------- */

.head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--wnetrze);
  color: var(--biel);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.head .head__tel {
  border-color: rgba(255, 255, 255, 0.5);
}

.nav__drop {
  color: var(--grafit);
}

.head__in {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 40px);
  width: min(100% - 2 * var(--gutter), var(--max));
  height: var(--head-h);
  margin-inline: auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}

.logo__img {
  display: block;
  width: 160px;
  height: auto;
}

.foot .logo__img {
  width: 240px;
}

@media (max-width: 960px) {
  .logo__img {
    width: 130px;
  }
}

.logo__mark {
  width: 26px;
  height: 43px;
  overflow: visible;
}

.logo__rope {
  stroke: var(--lina);
  stroke-width: 2;
}

.logo__word {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: 0.04em;
}

.logo__word b,
.hero__mark b {
  font-weight: inherit;
  color: var(--lina);
  text-shadow: 0 0 14px rgba(31, 143, 255, 0.55);
}

.c-limb {
  stroke: var(--grafit);
}

.c-helmet,
.c-device {
  fill: var(--lina);
}

.logo__mark {
  filter: drop-shadow(0 0 6px rgba(31, 143, 255, 0.5));
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 32px);
  margin-left: auto;
  font-weight: 600;
  font-size: 0.9688rem;
}

.nav > a,
.nav__group > a {
  display: block;
  padding-block: 8px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav [aria-current="page"] {
  border-bottom-color: var(--lina);
}

.nav__group {
  position: relative;
}

.nav__drop {
  position: absolute;
  top: 100%;
  left: -20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 24px;
  width: 560px;
  padding: 18px 20px;
  background: var(--ocynk-jasny);
  border: 1px solid var(--linia);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(5, 7, 10, 0.18);
  font-weight: 500;
  font-size: 0.9375rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s, transform 0.18s var(--ease), visibility 0.18s;
}

.nav__drop a {
  display: block;
  padding: 7px 0;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.nav__group:hover .nav__drop,
.nav__group:focus-within .nav__drop {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.head__tel {
  flex: none;
  padding: 9px 16px;
  border: 1.5px solid var(--grafit);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
}

.head__tel:hover {
  background: var(--lina);
  border-color: var(--lina);
  color: var(--wnetrze);
  box-shadow: var(--glow);
}

.menu-btn {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  color: inherit;
  cursor: pointer;
}

.menu-btn__bars,
.menu-btn__bars::before,
.menu-btn__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s;
}

.menu-btn__bars {
  position: relative;
}

.menu-btn__bars::before,
.menu-btn__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-btn__bars::before {
  top: -6px;
}

.menu-btn__bars::after {
  top: 6px;
}

.menu-btn[aria-expanded="true"] .menu-btn__bars {
  background: transparent;
}

.menu-btn[aria-expanded="true"] .menu-btn__bars::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-btn__bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Home hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(31, 143, 255, 0.22), transparent 70%),
    repeating-linear-gradient(to bottom, transparent 0 10px, rgba(31, 143, 255, 0.05) 10px 11px),
    var(--wnetrze);
  color: var(--biel);
}

.hero .label {
  color: var(--biel-2);
}

.hero .btn--ghost {
  border-color: var(--biel);
  color: var(--biel);
}

.hero .btn--ghost:hover {
  background: var(--biel);
  color: var(--wnetrze);
}

.hero__in {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.hero__copy {
  padding-block: clamp(48px, 9vh, 96px) clamp(32px, 5vh, 56px);
}

.hero__copy h1 {
  max-width: 13ch;
  margin-top: 18px;
}

.hero__sub {
  max-width: 36rem;
  margin-top: 24px;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.45;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* The logo's wordmark across the bottom of the hero */
.hero__mark {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin: 0 auto;
  padding-bottom: clamp(20px, 3vw, 40px);
}

.hero__mark img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 14px rgba(31, 143, 255, 0.45));
}

/* ---------- Climber from the logo: one rope down the right edge of every page ---------- */

.rope {
  position: fixed;
  top: var(--head-h);
  right: 62px;
  bottom: 0;
  z-index: 15;
  width: 0;
  pointer-events: none;
}

.rope:not(.rope--climber)::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 2px;
  background: var(--lina);
  box-shadow: 0 0 8px rgba(31, 143, 255, 0.6);
}

.rope__climber {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
}

/* x = 0 of the drawing is the rope */
.rope__svg {
  position: absolute;
  top: 0;
  left: -38.4px;
  overflow: visible;
}

.r-limb {
  stroke: var(--biel);
  transition: stroke 0.25s;
}

.r-blue {
  fill: var(--lina);
}

/* main.js sets this while the climber is over a light section */
.rope__climber.is-light .r-limb {
  stroke: var(--grafit);
}

/* Phones: logo, menu and no phone pill in the bar (the call button sits in the page itself) */
@media (max-width: 480px) {
  .head .head__tel {
    display: none;
  }

  .menu-btn {
    margin-left: auto;
  }

  .logo__img {
    width: 118px;
  }
}

/* Phones: call bar fixed at the bottom (the header has no room for the number) */
.callbar {
  display: none;
}

@media (max-width: 480px) {
  :root {
    --callbar-h: calc(56px + env(safe-area-inset-bottom, 0px));
  }

  .callbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: var(--callbar-h);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--lina);
    color: var(--wnetrze);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    box-shadow: 0 -6px 24px rgba(5, 7, 10, 0.25);
  }

  .callbar:active {
    background: #4aa6ff;
  }

  body {
    padding-bottom: var(--callbar-h);
  }

  .rope {
    bottom: var(--callbar-h);
  }
}

/* Narrower screens: smaller climber right at the edge, so he covers as little text as possible */
@media (max-width: 1359px) {
  .rope {
    right: 16px;
  }

  .rope__svg {
    width: 40px;
    height: 60px;
    left: -24px;
  }
}

/* ---------- Stats strip ---------- */

.stats {
  background: var(--panel);
  color: var(--biel);
  overflow-x: clip; /* the sliding-in items must not widen the page on phones */
}

.stats__in {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.stats__item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 22px 0;
  font-weight: 600;
}

.stats__item + .stats__item {
  padding-left: 24px;
  border-left: 1px solid rgba(244, 242, 237, 0.18);
}

.stats__item strong {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--lina);
  font-variant-numeric: tabular-nums;
}

/* ---------- Sections ---------- */

.sec {
  padding-block: clamp(56px, 8vw, 112px) 0;
}

.sec__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: clamp(24px, 3.5vw, 44px);
}

.sec__more {
  margin-top: 32px;
}

.page-head {
  padding-block: clamp(48px, 8vw, 104px) 0;
}

.page-head h1 {
  max-width: 18ch;
  margin-top: 16px;
}

.page-head__lead {
  max-width: 40rem;
  margin-top: 24px;
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
  line-height: 1.5;
}

/* ---------- Service tiles: hover lifts by 4 px and a rope slides down the left edge ---------- */

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.tiles--big {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tiles .tile--other {
  grid-column: -3 / -1;
  background: var(--wnetrze);
  border-color: var(--wnetrze);
  color: var(--biel);
}

.tiles .tile--other .tile__text {
  color: rgba(244, 248, 252, 0.75);
}

.tiles .tile.tile--other .tile__more {
  display: inline-block;
  color: var(--lina);
}

.tiles .tile--other:hover {
  border-color: var(--lina);
}

@media (max-width: 640px) {
  .tiles .tile--other {
    grid-column: auto;
  }
}

.tiles--rest {
  margin-top: 18px;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--ocynk-jasny);
  border: 1px solid var(--linia);
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), opacity 0.5s var(--ease);
}

.tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 4px;
  background: var(--lina);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s var(--ease);
}

.tile:hover,
.tile:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(31, 143, 255, 0.18);
}

.tile:hover::before,
.tile:focus-visible::before {
  transform: scaleY(1);
}

.tile__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px 22px;
}

.tile__name {
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.3;
}

.tile__text {
  color: var(--stal);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.tile__more {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--lina-tekst);
}

.tile--big .tile__name {
  font-family: var(--display);
  font-stretch: 110%;
  font-weight: 800;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.tile--big .tile__text {
  font-size: 1rem;
}

.tile:not(.tile--big) .tile__more {
  display: none;
}

/* ---------- Photo placeholders (until the client's photos arrive) ---------- */

.ph {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--ocynk-jasny);
  border-radius: 14px;
}

.ph__frame {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(to bottom, transparent 0 13px, rgba(13, 21, 32, 0.05) 13px 14px),
    linear-gradient(160deg, #cfd8e2, #b4c0cd);
}

.ph__icon {
  width: 34px;
  height: 51px;
  opacity: 0.55;
}

.ph figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px 14px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--stal);
}

.tile__ph {
  border-radius: 0;
  background: none;
}

.tile__ph .ph__frame {
  aspect-ratio: 16 / 10;
}

.tile__ph figcaption {
  display: none;
}

/* Real photos */
.pic {
  overflow: hidden;
  border-radius: 14px;
  background: var(--ocynk-jasny);
}

.pic img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.tile .pic {
  border-radius: 0;
}

.tile .pic img {
  aspect-ratio: 16 / 10;
}

.svc-head .pic img {
  aspect-ratio: 4 / 5;
  max-height: 72vh;
}

.work__media .pic {
  border-radius: 0;
  transition: transform 0.5s var(--ease);
}

.work__open:hover .work__media .pic,
.work__open:focus-visible .work__media .pic {
  transform: scale(1.04);
}

.lightbox__media .pic {
  display: flex;
  justify-content: center;
  background: none;
  border-radius: 0;
}

.lightbox__media .pic img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 74vh;
  aspect-ratio: auto;
  object-fit: contain;
}

/* ---------- Why ---------- */

.why {
  margin-top: clamp(64px, 9vw, 128px);
  padding-block: clamp(56px, 8vw, 104px);
  background: var(--wnetrze);
  color: var(--biel);
}

.why h2 {
  max-width: 14ch;
}

.why__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(36px, 5vw, 64px);
  border-top: 1px solid rgba(244, 242, 237, 0.2);
}

.why__list li {
  position: relative;
  padding: 28px 28px 8px 0;
}

.why__list li + li {
  padding-left: 28px;
  border-left: 1px solid rgba(244, 242, 237, 0.2);
}

.why__list li::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 44px;
  height: 3px;
  background: var(--lina);
}

.why__list li + li::before {
  left: 28px;
}

.why__list h3 {
  font-size: 1.1875rem;
}

.why__list p {
  margin-top: 10px;
  color: var(--biel-2);
  font-size: 0.9688rem;
}

/* ---------- Works ---------- */

.works {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.work {
  display: flex;
  flex-direction: column;
  background: var(--ocynk-jasny);
  border: 1px solid var(--linia);
  border-radius: 14px;
  overflow: hidden;
}

.work[hidden] {
  display: none;
}

.work__open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
}

.work__media {
  overflow: hidden;
}

.work__media .ph {
  border-radius: 0;
  transition: transform 0.5s var(--ease);
}

.work__open:hover .work__media .ph,
.work__open:focus-visible .work__media .ph {
  transform: scale(1.04);
}

.work__media figcaption {
  display: none;
}

.work__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px 18px;
}

.work__tag {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lina-tekst);
  text-decoration: none;
}

.work__tag:hover {
  text-decoration: underline;
}

.work__body p {
  font-size: 0.9688rem;
  line-height: 1.5;
}

.work__place {
  color: var(--stal);
  font-size: 0.875rem !important;
}

.work--empty {
  border-style: dashed;
  background: transparent;
}

.work--empty .ph {
  background: transparent;
}

/* ---------- About teaser ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  align-items: center;
  gap: 32px clamp(32px, 6vw, 96px);
  margin-top: clamp(64px, 9vw, 128px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1.5px solid var(--grafit);
}

.about__text {
  max-width: 40rem;
  margin: 20px 0 28px;
  font-size: clamp(1.1875rem, 1.8vw, 1.5rem);
  line-height: 1.45;
}

/* ---------- FAQ ---------- */

.faq__list {
  margin-top: 28px;
  border-top: 1px solid var(--linia);
}

.faq__item {
  border-bottom: 1px solid var(--linia);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__sign {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
}

.faq__sign::before,
.faq__sign::after {
  content: "";
  position: absolute;
  inset: 7px 0 auto;
  height: 2px;
  background: var(--lina);
  transition: transform 0.25s var(--ease);
}

.faq__sign::after {
  transform: rotate(90deg);
}

.faq__item[open] .faq__sign::after {
  transform: rotate(0deg);
}

.faq__item p {
  max-width: 44rem;
  padding-bottom: 22px;
  color: var(--stal);
}

/* ---------- CTA band ---------- */

.cta {
  margin-top: clamp(64px, 9vw, 128px);
  padding-block: clamp(48px, 7vw, 88px);
  background: var(--wnetrze);
  color: var(--biel);
}

.cta__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px 48px;
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.cta__text {
  max-width: 34ch;
  font-family: var(--display);
  font-stretch: 110%;
  font-weight: 800;
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta .btn--main:hover {
  background: var(--biel);
  color: var(--wnetrze);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.35);
}

/* ---------- About page ---------- */

/* Short film from the jobs: phone-shaped vertical video */
.reel__video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80svh;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 20px;
  background: var(--wnetrze);
  box-shadow: 0 24px 50px rgba(5, 7, 10, 0.22), 0 0 0 1px rgba(31, 143, 255, 0.25);
}

@media (max-width: 960px) {
  .about .reel__video {
    max-width: 340px;
    justify-self: center;
  }
}

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding-top: clamp(56px, 8vw, 104px);
}

.value {
  padding-top: 22px;
  border-top: 3px solid var(--grafit);
}

.value__word {
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
}

.value p {
  margin-top: 18px;
}

.team {
  margin-top: clamp(56px, 8vw, 104px);
}

.team .ph__frame {
  aspect-ratio: 21 / 9;
}

/* ---------- Service page ---------- */

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 22px;
  font-size: 0.875rem;
  color: var(--stal);
}

.crumbs a {
  text-decoration: none;
}

.crumbs a:hover {
  text-decoration: underline;
}

.svc-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: 32px clamp(32px, 5vw, 72px);
  padding-top: clamp(28px, 5vw, 64px);
}

.svc-head h1 {
  max-width: 16ch;
  margin-top: 16px;
  font-size: clamp(2.2rem, 4.6vw, 4rem);
}

/* Services without photos yet: one column, the heading gets the full width */
.svc-head--text {
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: clamp(8px, 2vw, 24px);
}

.svc-head--text h1 {
  max-width: 22ch;
}

.svc-head--text .page-head__lead {
  max-width: 52ch;
}

.svc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.svc__main {
  max-width: 46rem;
}

.svc__main .sec h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  margin-bottom: 20px;
}

.svc__main .sec p + p {
  margin-top: 14px;
}

.svc__aside {
  position: sticky;
  top: calc(var(--head-h) + 24px);
  padding-top: clamp(56px, 8vw, 112px);
}

.side-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--panel);
  color: var(--biel);
  border-radius: 16px;
}

.side-card .label {
  color: var(--lina);
}

.side-card__tel {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: 1.5rem;
  text-decoration: none;
}

/* Lists hang on a short rope */
.rope-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--linia);
}

.rope-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 14px;
  width: 3px;
  height: 1.1em;
  border-radius: 2px;
  background: var(--lina);
}

.rope-list strong {
  font-weight: 700;
}

/* Ordered steps are a real sequence, so they are numbered */
.steps {
  counter-reset: step;
}

.steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0 16px 64px;
  border-bottom: 1px solid var(--linia);
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 14px;
  font-family: var(--mono);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--lina-tekst);
}

.steps li::after {
  content: "";
  position: absolute;
  left: 34px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--linia);
}

.steps strong {
  font-weight: 700;
}

.see {
  margin-top: clamp(56px, 8vw, 104px);
}

.see__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.see__list a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--linia);
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.3s var(--ease);
}

.see__list a:hover {
  border-color: var(--lina);
  transform: translateY(-3px);
}

.see__text {
  font-weight: 400;
  font-size: 0.9375rem;
  color: var(--stal);
}

/* ---------- Silo flight (service page) ---------- */

.flight {
  margin-top: clamp(56px, 8vw, 104px);
  background: var(--wnetrze);
  color: var(--biel);
}

.flight__shot {
  position: relative;
}

.flight__img {
  overflow: hidden;
  aspect-ratio: 1188 / 668;
}

/* hides the generator's watermark strip along the bottom edge */
.flight__img img {
  width: 100%;
  transform: scale(1.08);
  transform-origin: 50% 0;
}

.flight__panel {
  padding: 28px var(--gutter) 40px;
}

.flight__panel .label,
.descent-label {
  color: var(--lina);
}

.flight__title {
  max-width: 18ch;
  margin-top: 12px;
  font-family: var(--display);
  font-stretch: 110%;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

@media (min-width: 761px) {
  .flight:not(.is-scrub) .flight__shot {
    display: grid;
  }

  .flight:not(.is-scrub) .flight__shot > * {
    grid-area: 1 / 1;
  }

  .flight:not(.is-scrub) .flight__panel {
    align-self: center;
    width: min(34rem, 40vw);
    padding: 0 0 0 var(--gutter);
    background: none;
  }

  .flight:not(.is-scrub) .flight__img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 13, 12, 0.78), rgba(10, 13, 12, 0.5) 32%, rgba(10, 13, 12, 0) 62%);
  }
}

/* Scroll-driven mode, switched on by flight.js on larger screens */
.flight.is-scrub {
  height: 480vh;
}

.flight.is-scrub .flight__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.flight.is-scrub canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.flight.is-scrub .flight__shot {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: var(--show, 0);
  visibility: hidden;
  background: linear-gradient(90deg, rgba(10, 13, 12, 0.78), rgba(10, 13, 12, 0.5) 32%, rgba(10, 13, 12, 0) 62%);
}

.flight.is-scrub .flight__shot.is-on {
  visibility: visible;
}

.flight.is-scrub .flight__img {
  display: none;
}

.flight.is-scrub .flight__panel {
  width: min(34rem, 40vw);
  padding: 0 0 0 var(--gutter);
  transform: translateY(var(--shift, 0));
}

/* ---------- Call screen (opens from any phone link) ---------- */

.callbox {
  width: min(100% - 32px, 420px);
  padding: 32px 28px 28px;
  border: 1px solid rgba(31, 143, 255, 0.35);
  border-radius: 20px;
  background: radial-gradient(ellipse at 80% 0%, rgba(31, 143, 255, 0.22), transparent 60%), var(--wnetrze);
  color: var(--biel);
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), var(--glow);
}

.callbox::backdrop {
  background: rgba(5, 7, 10, 0.6);
  backdrop-filter: blur(3px);
}

.callbox[open] {
  animation: callbox-in 0.22s var(--ease);
}

@keyframes callbox-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}

.callbox .label {
  color: var(--lina);
}

.callbox h2 {
  margin-top: 6px;
  font-size: 1.5rem;
}

.callbox__num {
  margin-top: 14px;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(1.7rem, 7vw, 2.2rem);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.callbox__hint {
  margin-top: 8px;
  color: rgba(244, 248, 252, 0.7);
}

.callbox__actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.callbox__actions .btn {
  justify-content: center;
  width: 100%;
}

.callbox .btn--ghost {
  background: transparent;
  cursor: pointer;
  color: var(--biel);
  border-color: rgba(244, 248, 252, 0.45);
}

.callbox .btn--ghost:hover {
  border-color: var(--biel);
  background: rgba(244, 248, 252, 0.08);
}

.callbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(244, 248, 252, 0.08);
  color: var(--biel);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.callbox__close:hover {
  background: rgba(244, 248, 252, 0.16);
}

/* ---------- Works page: filters + lightbox ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter {
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--linia);
  border-radius: 999px;
  background: transparent;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: inherit;
  cursor: pointer;
}

.filter:hover {
  border-color: var(--grafit);
}

.filter[aria-pressed="true"] {
  background: var(--lina);
  border-color: var(--lina);
  color: var(--wnetrze);
  box-shadow: var(--glow);
}

.works__none {
  margin-top: 8px;
  color: var(--stal);
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: clamp(16px, 4vw, 56px);
  border: 0;
  background: rgba(10, 13, 12, 0.96);
  color: var(--biel);
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox::backdrop {
  background: rgba(10, 13, 12, 0.6);
}

.lightbox__fig {
  width: min(100%, 1100px);
}

.lightbox__media .ph {
  background: var(--wnetrze-2);
}

.lightbox__media .ph__frame {
  aspect-ratio: 4 / 3;
  max-height: 70vh;
}

.lightbox__media figcaption {
  display: none;
}

.lightbox__cap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
  max-width: 48rem;
}

.lightbox__cap .label {
  color: var(--lina);
}

.lightbox__cap span:last-child {
  color: var(--biel-2);
  font-size: 0.9375rem;
}

.lightbox__btn,
.lightbox__close {
  position: absolute;
  min-width: 48px;
  min-height: 48px;
  border: 1px solid rgba(244, 242, 237, 0.4);
  border-radius: 999px;
  background: rgba(14, 17, 19, 0.6);
  color: var(--biel);
  font: inherit;
  font-size: 1.25rem;
  cursor: pointer;
}

.lightbox__btn:hover,
.lightbox__close:hover {
  background: var(--biel);
  color: var(--wnetrze);
}

.lightbox__prev {
  left: clamp(8px, 2vw, 24px);
  top: 50%;
}

.lightbox__next {
  right: clamp(8px, 2vw, 24px);
  top: 50%;
}

.lightbox__close {
  top: clamp(12px, 2vw, 24px);
  right: clamp(12px, 2vw, 24px);
  padding: 0 18px;
  font-size: 0.9375rem;
  font-weight: 600;
}

/* ---------- Contact ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  padding-top: clamp(40px, 6vw, 72px);
}

.data__row {
  display: grid;
  gap: 2px;
  padding: 16px 0;
  border-bottom: 1px solid var(--linia);
}

.data__row:first-child {
  border-top: 1px solid var(--linia);
}

.data dt {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stal);
}

.data dd {
  font-size: 1.125rem;
  font-weight: 600;
}

.data__big {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  text-decoration: none;
}

.data__soft {
  font-weight: 400;
  color: var(--stal);
}

.data__mail {
  text-decoration: none;
  border-bottom: 1.5px solid var(--lina);
}

.contact__area {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 24px;
}

.form {
  padding: clamp(24px, 3.5vw, 40px);
  background: var(--ocynk-jasny);
  border: 1px solid var(--linia);
  border-radius: 18px;
}

.form h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9375rem;
}

.field em {
  font-style: normal;
  font-weight: 400;
  color: var(--stal);
}

.field--wide {
  grid-column: 1 / -1;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid rgba(13, 21, 32, 0.3);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-weight: 400;
  font-size: 1rem;
  color: var(--grafit);
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--grafit);
  outline: 2px solid var(--lina);
  outline-offset: 1px;
}

.field [aria-invalid="true"] {
  border-color: #c4271d;
}

.field--file input {
  padding: 10px;
  background: transparent;
  border-style: dashed;
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9375rem;
}

.check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: var(--lina);
}

/* Service dropdown: styled native select, replaced by a custom list when JavaScript runs */
.select {
  position: relative;
}

.select select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  cursor: pointer;
}

.select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--grafit);
  border-bottom: 2px solid var(--grafit);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s var(--ease);
  pointer-events: none;
}

.select.is-open::after {
  transform: translateY(-30%) rotate(-135deg);
}

.select.is-enhanced select {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.select__btn {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 11px 44px 11px 14px;
  border: 1.5px solid rgba(13, 21, 32, 0.3);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  color: var(--grafit);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s;
}

.select__btn:hover {
  border-color: var(--grafit);
}

.select__btn:focus-visible,
.select.is-open .select__btn {
  border-color: var(--grafit);
  outline: 2px solid var(--lina);
  outline-offset: 1px;
}

.select__btn.is-empty {
  color: var(--stal);
}

.select__list {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: min(360px, 60vh);
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  list-style: none;
  background: #fff;
  border: 1px solid var(--linia);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(13, 21, 32, 0.18), 0 2px 6px rgba(13, 21, 32, 0.08);
  opacity: 0;
  transform: translateY(-6px);
  visibility: hidden;
  transition: opacity 0.18s, transform 0.18s var(--ease), visibility 0s 0.18s;
}

.select.is-open .select__list {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: opacity 0.18s, transform 0.18s var(--ease);
}

.select__opt {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px 10px 16px;
  border-radius: 9px;
  font-weight: 400;
  cursor: pointer;
}

.select__opt::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 2px;
  background: var(--lina);
  opacity: 0;
}

.select__opt.is-active {
  background: var(--ocynk);
}

.select__opt.is-active::before {
  opacity: 1;
}

.select__opt[aria-selected="true"] {
  font-weight: 700;
}

.select__opt[aria-selected="true"]::after {
  content: "";
  flex: none;
  width: 6px;
  height: 11px;
  margin-right: 4px;
  border-right: 2px solid var(--lina-tekst);
  border-bottom: 2px solid var(--lina-tekst);
  transform: rotate(45deg) translateY(-2px);
}

.select__opt--muted {
  color: var(--stal);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__msg {
  margin-top: 14px;
}

.form__send[aria-busy="true"] {
  opacity: 0.7;
  pointer-events: none;
}

.form-done {
  padding: clamp(28px, 4vw, 48px);
  background: var(--wnetrze);
  color: var(--biel);
  border-radius: 18px;
}

.form-done h2 {
  margin-top: 16px;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
}

.form-done p {
  margin-top: 10px;
  color: rgba(244, 248, 252, 0.8);
}

.form-done__tel {
  color: var(--lina);
  font-weight: 700;
  white-space: nowrap;
}

.form__msg {
  min-height: 1.6em;
  margin-bottom: 14px;
  font-weight: 600;
}

.form__msg.is-error {
  color: #c4271d;
}

/* Stock photo label on service headers */
.pic--stock {
  position: relative;
}

.pic__note {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(5, 7, 10, 0.72);
  color: var(--biel);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Privacy policy ---------- */

.legal {
  padding-top: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(48px, 7vw, 96px);
}

.legal__sec {
  max-width: 46rem;
}

.legal__sec + .legal__sec {
  margin-top: 36px;
}

.legal h2 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.legal p,
.legal ul {
  margin-top: 12px;
}

.legal ul {
  padding-left: 22px;
  list-style: disc;
}

.legal li::marker {
  color: var(--lina);
}

.legal li + li {
  margin-top: 6px;
}

.legal a {
  color: var(--lina-tekst);
}

.legal__date {
  color: var(--stal);
  font-size: 0.9375rem;
}

/* ---------- Footer ---------- */

.foot {
  background: var(--wnetrze);
  color: var(--biel);
}

.cta + .foot,
.flight + .foot {
  border-top: 1px solid rgba(244, 242, 237, 0.14);
}

.foot__in {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 40px clamp(24px, 4vw, 56px);
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
  padding-block: clamp(56px, 7vw, 88px) 40px;
}

.foot .c-limb {
  stroke: var(--biel);
}

.foot__brand p {
  max-width: 22rem;
  margin-top: 18px;
  color: var(--biel-2);
}

.foot__h {
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  font-stretch: 100%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 242, 237, 0.55);
}

.foot ul {
  display: grid;
  gap: 8px;
  font-size: 0.9375rem;
}

.foot a {
  text-decoration: none;
}

.foot a:hover {
  color: var(--lina);
}

.foot__tel {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: 1.375rem;
}

.foot__base {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
  padding: 22px 0 32px;
  border-top: 1px solid rgba(244, 242, 237, 0.14);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: rgba(244, 242, 237, 0.55);
}

/* ---------- Motion (transform + opacity only) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
    transition-delay: calc(var(--d, 0) * 80ms);
  }

  .js .reveal.is-in {
    opacity: 1;
    transform: none;
  }

  .js .tile.reveal.is-in {
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), opacity 0.5s var(--ease);
    transition-delay: 0s;
  }

  .js .stats__item--late {
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  }

  .js .stats.is-in .stats__item--late {
    opacity: 1;
    transform: none;
  }

  .js .stats.is-in .stats__item--late:nth-child(2) {
    transition-delay: 0.35s;
  }

  .js .stats.is-in .stats__item--late:nth-child(3) {
    transition-delay: 0.6s;
  }
}

/* ---------- Narrower screens ---------- */

@media (max-width: 1080px) {
  .nav__drop {
    width: 480px;
  }

  .why__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why__list li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .why__list li:nth-child(3)::before {
    left: 0;
  }

  .svc {
    grid-template-columns: minmax(0, 1fr);
  }

  .svc__aside {
    display: none;
  }

  .foot__in {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .menu-btn {
    display: inline-flex;
  }

  .head__tel {
    margin-left: auto;
  }

  .nav {
    position: fixed;
    inset: var(--head-h) 0 0 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 40px;
    overflow-y: auto;
    background: var(--wnetrze);
    font-size: 1.25rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav > a,
  .nav__group > a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav__drop {
    color: inherit;
    position: static;
    width: auto;
    grid-template-columns: minmax(0, 1fr);
    padding: 6px 0 12px 16px;
    background: none;
    border: 0;
    box-shadow: none;
    font-size: 1rem;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .tiles--big,
  .works,
  .values {
    grid-template-columns: minmax(0, 1fr);
  }

  .tiles--big {
    gap: 14px;
  }

  .about,
  .svc-head,
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta__in {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 640px) and (max-width: 960px) {
  .works {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --head-h: 64px;
  }

  .logo__word {
    display: none;
  }

  .hero__copy {
    padding-block: 40px 28px;
  }

  .stats__in {
    grid-template-columns: minmax(0, 1fr);
  }

  .stats__item {
    padding: 14px 0;
  }

  .stats__item + .stats__item {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(244, 242, 237, 0.18);
  }

  .why__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .why__list li,
  .why__list li + li {
    padding: 24px 0 8px;
    border-left: 0;
  }

  .why__list li + li::before {
    left: 0;
  }

  .why__list li + li {
    border-top: 1px solid rgba(244, 242, 237, 0.2);
  }

  .form__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .foot__in {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps li {
    padding-left: 52px;
  }

  .steps li::after {
    left: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
