/* =============================================================================
   Jakubiec Investments – Central Operations
   Arkusz stylów — wersja 2 (redesign)

   Kierunek: ciemny grafit, fotografia architektury pod mocnym przyciemnieniem,
   mosiądz jako akcent główny, stal jako akcent danych. Nowocześnie, drogo,
   wiarygodnie — z gęstszą, „raportową” strukturą treści.

   Podejście mobile-first. Breakpointy: 640 / 768 / 1024 / 1280 px
   (dodatkowo 1200 px dla 4 kart filarów w rzędzie).

   Spis treści:
   00. Fonty lokalne (@font-face)
   01. Tokeny
   02. Reset
   03. Typografia
   04. Układ: kontener, sekcje, nagłówki sekcji
   05. Dostępność i elementy pomocnicze
   06. Pasek postępu
   07. Header i nawigacja
   08. Menu mobilne
   09. Przyciski i linki
   10. Hero
   11. Pasek liczb
   12. Karty (baza) + karty filarów
   13. Sekcja „Miejsce w strukturze”
   14. Ekosystem
   15. Blok CTA na zdjęciu
   16. Kontakt i formularz
   17. Stopka
   18. Podstrony prawne
   19. Animacje reveal
   20. prefers-reduced-motion
   ========================================================================== */


/* -----------------------------------------------------------------------------
   00. FONTY LOKALNE
   Pliki .woff2 w assets/fonts/ (licencja SIL OFL 1.1 — teksty licencji obok).
   Każdy krój i grubość: plik „latin” (podstawowy alfabet, m.in. „ó”)
   i „latin-ext” (ą ć ę ł ń ś ź ż). Przeglądarka pobiera plik tylko wtedy,
   gdy na stronie są znaki z jego zakresu. Zakresy jak w Google Fonts.
   -------------------------------------------------------------------------- */

/* Sora 300 — nagłówki */
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/sora-300-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/sora-300-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Sora 600 — wyróżnienia w nagłówkach, tytuły kart */
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/sora-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/sora-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Manrope 400 — tekst ciągły */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/manrope-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/manrope-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Manrope 500 — UI, przyciski, wyróżnienia w tekście */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/manrope-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/manrope-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* JetBrains Mono 500 — etykiety, numery, liczby, dane */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* -----------------------------------------------------------------------------
   01. TOKENY
   -------------------------------------------------------------------------- */
:root {
  /* Kolory — paleta bazowa */
  --ink:        #0B0D10;                   /* tło główne — ciepły grafit */
  --ink-soft:   #12151A;                   /* sekcje naprzemienne */
  --ink-card:   #171B21;                   /* karty */
  --ink-deep:   #06080A;                   /* stopka, overlaye na zdjęciach */
  --line:       rgba(255, 255, 255, 0.09);
  --line-hover: rgba(192, 140, 60, 0.45);
  --ivory:      #F4F2ED;                   /* tekst główny */
  --muted:      rgba(244, 242, 237, 0.60); /* tekst drugorzędny */
  --brass:      #C08C3C;                   /* akcent główny */
  --brass-soft: rgba(192, 140, 60, 0.12);
  --steel:      #8FA6BC;                   /* akcent danych: liczby, numery */

  /* Kolor funkcjonalny — wyłącznie komunikaty błędów formularza
     (mosiądz jest zajęty przez focus, więc błąd musi być odróżnialny) */
  --alert:      #E58A7B;

  /* Pochodne */
  --line-strong: rgba(244, 242, 237, 0.28);  /* obrys przycisku outline */
  --glass:       rgba(23, 27, 33, 0.62);     /* panel na zdjęciu */
  --shadow-lift: 0 24px 48px rgba(0, 0, 0, 0.5);
  --highlight:   inset 0 1px 0 rgba(255, 255, 255, 0.04);

  /* Kroje */
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-body:    "Manrope", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  /* Ruch */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 250ms;
  --t-ui: 400ms;      /* header, pola formularza */
  --t-card: 450ms;    /* karty */
  --t-line: 600ms;    /* mosiężna krawędź karty */
  --t-reveal: 900ms;

  /* Kształt */
  --r-card: 4px;
  --r-field: 2px;

  /* Przestrzeń */
  --container: 1280px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-pad: clamp(96px, 11vh, 160px);
  --header-h: 72px;
  --logo-h: 40px;
}

@media (min-width: 1024px) {
  :root {
    --header-h: 88px;
    --logo-h: 46px;
  }
}


/* -----------------------------------------------------------------------------
   02. RESET
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: dark;
  background-color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

html.is-menu-open {
  overflow: hidden;
}

body {
  min-height: 100vh;
  background-color: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem; /* 17px */
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  appearance: none;
}

button {
  cursor: pointer;
}

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


/* -----------------------------------------------------------------------------
   03. TYPOGRAFIA
   Sora — nagłówki. Manrope — tekst. JetBrains Mono — etykiety i dane.
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--ivory);
}

.h1 {
  font-size: clamp(2.6rem, min(5.6vw, 9vh), 5rem); /* vh: niskie ekrany, np. 1440×800 */
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.h2 {
  font-size: clamp(2rem, 3.9vw, 3.375rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.h3 {
  font-size: clamp(1.1875rem, 1.5vw, 1.3125rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* Wyróżnione słowo w nagłówku: Sora 600 + mosiądz.
   W H1 dodatkowo mosiężne podkreślenie rysowane od lewej. */
.hl {
  position: relative;
  display: inline-block;
  font-weight: 600;
  color: var(--brass);
}

.h1 .hl::after {
  content: "";
  position: absolute;
  left: 0.04em;
  right: 0.02em;
  bottom: 0.02em;
  height: 0.055em;
  min-height: 2px;
  background-color: var(--brass);
  border-radius: 2px;
  transform-origin: left center;
  animation: underline-draw 1100ms var(--ease) 700ms both;
}

@keyframes underline-draw {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

p {
  max-width: 66ch;
  color: var(--muted);
}

strong {
  font-weight: 500;
  color: var(--ivory);
}

.lead {
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.65;
}

/* Etykiety mono: 12px, wersaliki, szeroki tracking */
.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Etykieta sekcji: „01 / MODEL DZIAŁANIA” — numer w stali, reszta w mosiądzu */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brass);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background-color: currentColor;
}

.eyebrow__num {
  color: var(--steel);
}

.eyebrow__sep {
  color: var(--muted);
}


/* -----------------------------------------------------------------------------
   04. UKŁAD
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Sekcje naprzemiennie --ink / --ink-soft, bez linii podziału */
.section {
  position: relative;
  padding-block: var(--section-pad);
  background-color: var(--ink);
}

.section--soft {
  background-color: var(--ink-soft);
}

/* Nagłówek sekcji: etykieta + H2 po lewej, lead po prawej (desktop) */
.section-head {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-head__title {
  margin-top: 20px;
}

@media (min-width: 1024px) {
  .section-head {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 32px;
    align-items: end;
  }

  .section-head__main {
    grid-column: 1 / 7;
  }

  .section-head__lead {
    grid-column: 8 / 13;
  }
}

/* Wariant wyśrodkowany (np. blok CTA) */
.section-head--center {
  justify-items: center;
  text-align: center;
}


/* -----------------------------------------------------------------------------
   05. DOSTĘPNOŚĆ I POMOCNICZE
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: var(--gutter);
  z-index: 300;
  padding: 12px 18px;
  border-radius: var(--r-card);
  background-color: var(--brass);
  color: var(--ink-deep);
  font-weight: 500;
  transform: translateY(-200%);
  transition: transform var(--t-ui) var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus:not(:focus-visible) {
  outline: none;
}

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


/* -----------------------------------------------------------------------------
   06. PASEK POSTĘPU — 2px mosiądzu na górze viewportu
   -------------------------------------------------------------------------- */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 210;
  height: 2px;
  pointer-events: none;
}

.progress__bar {
  display: block;
  height: 100%;
  background-color: var(--brass);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}


/* -----------------------------------------------------------------------------
   07. HEADER I NAWIGACJA
   Przezroczysty nad hero; po 60px (klasa .is-scrolled) — grafit z blur
   i dolną linią. Przejście 400ms.
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  background-color: rgba(11, 13, 16, 0);
  transition:
    background-color var(--t-ui) var(--ease),
    border-color var(--t-ui) var(--ease),
    -webkit-backdrop-filter var(--t-ui) var(--ease),
    backdrop-filter var(--t-ui) var(--ease);
}

.site-header.is-scrolled {
  background-color: rgba(11, 13, 16, 0.86);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
}

.is-menu-open .site-header {
  background-color: var(--ink);
  border-bottom-color: var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 100%;
}

/* Logo — przycięcie przezroczystych marginesów pliku (1774×887; napis
   1721×385 od punktu 26,251). Wszystko skaluje się od --logo-h. */
.brand {
  position: relative;
  display: block;
  flex-shrink: 0;
  height: var(--logo-h);
  width: calc(var(--logo-h) * 4.4701);
  overflow: hidden;
}

.brand img {
  position: absolute;
  top: calc(var(--logo-h) * -0.6519);
  left: calc(var(--logo-h) * -0.0675);
  width: auto;
  max-width: none;
  height: calc(var(--logo-h) * 2.3039);
}

.nav {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding-block: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--t-fast) var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background-color: var(--brass);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-card) var(--ease);
}

.nav__link:hover {
  color: var(--ivory);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

/* Hamburger */
.menu-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border-radius: var(--r-card);
}

.menu-toggle__line {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  border-radius: 1px;
  background-color: var(--ivory);
  transition: transform var(--t-card) var(--ease);
}

.menu-toggle__line:first-child { transform: translateY(-4px); }
.menu-toggle__line:last-child  { transform: translateY(4px); }

.menu-toggle[aria-expanded="true"] .menu-toggle__line:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__line:last-child  { transform: rotate(-45deg); }

@media (min-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-left: auto;
  }

  .menu-toggle {
    display: none;
  }
}


/* -----------------------------------------------------------------------------
   08. MENU MOBILNE — pełny ekran, linki ze staggerem
   (poza headerem: backdrop-filter headera tworzyłby blok zawierający
   dla elementów position: fixed)
   -------------------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 32px) var(--gutter) 32px;
  overflow-y: auto;
  background-color: var(--ink);
  visibility: hidden;
  opacity: 0;
  transition:
    opacity var(--t-ui) var(--ease),
    visibility 0s linear var(--t-ui);
}

.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transition:
    opacity var(--t-ui) var(--ease),
    visibility 0s linear 0s;
}

.mobile-menu__item {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

.mobile-menu.is-open .mobile-menu__item {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(120ms + var(--i, 0) * 70ms);
}

.mobile-menu__list {
  border-top: 1px solid var(--line);
}

.mobile-menu__link {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 9vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.mobile-menu__num {
  min-width: 2.6em;
  color: var(--steel);
}

.mobile-menu__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: auto;
  padding-top: 48px;
}

.mobile-menu__mail {
  color: var(--muted);
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none;
  }
}


/* -----------------------------------------------------------------------------
   09. PRZYCISKI I LINKI
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--r-card);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--t-card) var(--ease),
    border-color var(--t-card) var(--ease),
    color var(--t-card) var(--ease),
    box-shadow var(--t-card) var(--ease),
    transform var(--t-card) var(--ease);
}

.btn__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--t-card) var(--ease);
}

.btn:hover .btn__icon {
  transform: translateX(3px);
}

/* Wypełniony mosiądz — tekst w głębokim graficie (kontrast ~7:1) */
.btn--primary {
  background-color: var(--brass);
  color: var(--ink-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 30px rgba(192, 140, 60, 0.22);
}

/* Outline — jasny obrys, na hover mosiądz */
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ivory);
}

.btn--ghost:hover {
  border-color: var(--brass);
  background-color: var(--brass-soft);
}

.btn--sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.btn[disabled],
.btn[aria-busy="true"] {
  cursor: progress;
  opacity: 0.7;
  transform: none;
}

/* Link tekstowy w mono z strzałką: „Odwiedź →” */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brass);
  transition: gap var(--t-card) var(--ease), color var(--t-fast) var(--ease);
}

.link-arrow:hover {
  gap: 14px;
  color: var(--ivory);
}

.link-arrow .btn__icon {
  width: 14px;
  height: 14px;
}


/* -----------------------------------------------------------------------------
   10. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 92vh;
  min-height: 92svh;
  overflow: hidden;
  background-color: var(--ink-deep);
  isolation: isolate;
}

/* Zdjęcie w tle — powiększone o zapas na parallax (60px w górę/dół) */
.hero__media {
  position: absolute;
  inset: -60px 0;
  z-index: -2;
  will-change: transform;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* Przyciemnienie zdjęcia + delikatna winieta od dołu */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 70% at 20% 40%, rgba(6, 8, 10, 0) 0%, rgba(6, 8, 10, 0.35) 100%),
    linear-gradient(180deg, rgba(6, 8, 10, 0.85), rgba(6, 8, 10, 0.94)); /* 0.85: AA także dla mosiężnej etykiety na najjaśniejszych klatkach */
}

/* Architektoniczna siatka pomocnicza — 4 pionowe linie w osi kontenera */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero__grid .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 100%;
}

.hero__grid span {
  border-left: 1px solid rgba(255, 255, 255, 0.045);
}

.hero__grid span:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.045);
}

.hero__body {
  display: flex;
  flex: 1;
  align-items: center;
  padding-top: calc(var(--header-h) + clamp(16px, 5vh, 88px));
  padding-bottom: clamp(32px, 5vh, 96px);
}

.hero__inner {
  display: grid;
  gap: 48px;
  width: 100%;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brass);
}

/* Mały mosiężny romb przed etykietą — sygnet nowej identyfikacji */
.hero__label::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.hero__title {
  margin-top: 24px;
  max-width: 14ch;
}

.hero__lead {
  margin-top: clamp(20px, 3vh, 28px);
  max-width: 58ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(28px, 4.5vh, 40px);
}

/* Panel boczny (desktop) — zakres Central Operations w formie tabeli */
.hero-panel {
  display: none;
}

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 32px;
    align-items: end;
  }

  .hero__content {
    grid-column: 1 / 8;
  }

  .hero-panel {
    grid-column: 9 / 13;
    display: block;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    background-color: var(--glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: var(--highlight);
  }
}

.hero-panel__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.hero-panel__list a {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
  transition: background-color var(--t-card) var(--ease);
}

.hero-panel__list a:hover {
  background-color: var(--brass-soft);
}

.hero-panel__num {
  color: var(--steel);
}

.hero-panel__list .btn__icon {
  width: 14px;
  height: 14px;
  color: var(--brass);
  transition: transform var(--t-card) var(--ease);
}

.hero-panel__list a:hover .btn__icon {
  transform: translateX(3px);
}

.hero-panel__foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  color: var(--steel);
}


/* -----------------------------------------------------------------------------
   11. PASEK LICZB — na dole hero, tło --ink-deep, pionowe separatory
   -------------------------------------------------------------------------- */
.stats {
  position: relative;
  border-top: 1px solid var(--line);
  background-color: rgba(6, 8, 10, 0.92);
}

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

.stat {
  padding: 24px 0 26px;
}

/* Mobile 2×2: separator pionowy w prawej kolumnie, poziomy nad drugim rzędem */
.stat:nth-child(even) {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.stat:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.stat__value {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(2.25rem, 4.2vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--steel);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

@media (min-width: 768px) {
  .stats__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .stat,
  .stat:nth-child(even) {
    padding: 30px 28px 32px;
  }

  .stat:first-child {
    padding-left: 0;
  }

  .stat + .stat {
    border-left: 1px solid var(--line);
  }

  .stat:nth-child(n + 3) {
    border-top: 0;
  }
}


/* -----------------------------------------------------------------------------
   12. KARTY
   Baza: tło --ink-card, linia 1px, wewnętrzny highlight. Hover: uniesienie,
   mosiężna ramka, cień, zapalająca się górna krawędź (scaleX od lewej).
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background-color: var(--ink-card);
  box-shadow: var(--highlight);
  overflow: hidden;
  transition:
    transform var(--t-card) var(--ease),
    border-color var(--t-card) var(--ease),
    box-shadow var(--t-card) var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  z-index: 2; /* nad zdjęciem w kartach filarów */
  inset: 0 0 auto 0;
  height: 2px;
  background-color: var(--brass);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-line) var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-hover);
  box-shadow: var(--highlight), var(--shadow-lift);
}

.card:hover::before,
.card:focus-within::before {
  transform: scaleX(1);
}

/* Karty filarów — zdjęcie 16:10 u góry, mosiężna plakietka z ikoną na styku
   zdjęcia i treści, numer na zdjęciu. Zdjęcie domyślnie wyciszone
   (desaturacja + przyciemnienie), na hover wraca do pełnego koloru. */
.pillars {
  display: grid;
  gap: 20px;
}

.pillar__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--ink-deep);
}

.pillar__media picture,
.pillar__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.pillar__media img {
  object-fit: cover;
  filter: grayscale(0.7) brightness(0.72);
  transform: scale(1.04);
  transition:
    filter var(--t-line) var(--ease),
    transform 900ms var(--ease);
  will-change: filter, transform;
}

/* Łagodne przejście zdjęcia w tło karty */
.pillar__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 27, 33, 0) 45%, rgba(23, 27, 33, 0.85) 100%);
  pointer-events: none;
}

.card.pillar:hover .pillar__media img,
.card.pillar:focus-within .pillar__media img {
  filter: grayscale(0) brightness(1);
  transform: scale(1);
}

/* Numer na zdjęciu — mono w stali na ciemnym „chipie” (kontrast niezależny od kadru) */
.pillar__num {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: var(--r-field);
  background-color: rgba(6, 8, 10, 0.88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--steel);
}

.pillar__body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 clamp(22px, 2.4vw, 28px) clamp(26px, 2.8vw, 32px);
}

/* Plakietka z ikoną — nachodzi na dolną krawędź zdjęcia */
.pillar__badge {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-top: -30px;
  border: 1px solid var(--line-hover);
  border-radius: var(--r-card);
  background-color: var(--ink-card);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  transition: border-color var(--t-card) var(--ease), background-color var(--t-card) var(--ease);
}

.card.pillar:hover .pillar__badge {
  border-color: var(--brass);
}

.pillar__icon {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar__title {
  margin-top: 22px;
}

.pillar__text {
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.65;
}

@media (min-width: 768px) {
  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Tytuły na wysokość dwóch linii — opisy startują w jednej linii w rzędzie */
  .pillar__title {
    min-height: calc(2 * 1.3em);
  }
}

@media (min-width: 1200px) {
  .pillars {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}


/* -----------------------------------------------------------------------------
   13. MIEJSCE W STRUKTURZE — zdjęcie + treść
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: 56px;
  align-items: center;
}

.split__media {
  position: relative;
  border-radius: var(--r-card);
}

.split__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
}

.split__frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.split__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 10, 0.15) 30%, rgba(6, 8, 10, 0.85) 100%);
}

/* Mosiężne narożniki — „kadrowanie” zdjęcia */
.split__media::before,
.split__media::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-color: var(--brass);
  border-style: solid;
  pointer-events: none;
}

.split__media::before {
  top: -10px;
  left: -10px;
  border-width: 2px 0 0 2px;
}

.split__media::after {
  right: -10px;
  bottom: -10px;
  border-width: 0 2px 2px 0;
}

.split__caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--steel);
}

/* Na wąskich ekranach tylko pierwsza część podpisu (druga jest dekoracyjna) */
@media (max-width: 639px) {
  .split__caption span:last-child {
    display: none;
  }
}

.roles {
  display: grid;
  gap: 28px;
  margin-top: 40px;
}

/* Wiersz z mosiężnym pionowym akcentem */
.role {
  position: relative;
  padding-left: 28px;
}

.role::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  border-radius: 2px;
  background-color: var(--brass);
}

/* Wiersz „Central Operations” — wyróżniony: to ten podmiot */
.role--active {
  padding: 20px 24px 22px 30px;
  border-radius: var(--r-card);
  border: 1px solid var(--line-hover);
  background-color: var(--ink-card);
  box-shadow: var(--highlight);
}

.role--active::before {
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: var(--r-card) 0 0 var(--r-card);
}

.role__tag {
  color: var(--steel);
}

.role__title {
  margin-top: 6px;
}

.role__text {
  margin-top: 8px;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 32px;
  }

  .split__media {
    grid-column: 1 / 6;
  }

  .split__content {
    grid-column: 7 / 13;
  }
}


/* -----------------------------------------------------------------------------
   14. EKOSYSTEM — bloki dywizji z kartami podmiotów
   Siatka 1 → 2 → 3 kolumny, „dense” wypełnia luki po blokach szerokich.
   -------------------------------------------------------------------------- */
.eco-grid {
  display: grid;
  gap: 40px 20px;
}

.division {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Etykieta dywizji. Stała wysokość na dwie linie i wyrównanie do dołu:
   karty w jednym rzędzie zaczynają się na tej samej wysokości,
   nawet gdy etykieta sąsiada łamie się na dwie linie. */
.division__label {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  min-height: 3em;
  color: var(--brass);
}

.division__label::after {
  content: "";
  flex: 1;
  min-width: 24px;
  height: 1px;
  margin-bottom: 0.5em; /* linia w osi ostatniej linii tekstu */
  background-color: var(--line);
}

.division__cards {
  display: grid;
  flex: 1;
  gap: 16px;
}

.eco-card {
  flex: 1;
  gap: 14px;
  padding: 28px;
}

.eco-card__meta {
  color: var(--steel);
}

.eco-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.375rem, 2vw, 1.625rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.eco-card__text {
  font-size: 15.5px;
  line-height: 1.65;
}

/* Stopka karty dosunięta do dołu — linki i statusy w jednej linii w rzędzie */
.eco-card__foot {
  display: flex;
  align-items: center;
  min-height: 24px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* Status dla marek bez strony — celowy, spokojny znacznik zamiast linku */
.eco-card__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--steel);
}

.eco-card__status::before {
  content: "";
  width: 6px;
  height: 6px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

/* Karta podsumowania (szeroka) */
.eco-summary {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(28px, 4vw, 44px);
  border-left: 2px solid var(--brass);
}

.eco-summary__value {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1;
  color: var(--steel);
}

@media (min-width: 640px) {
  .eco-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row dense;
  }

  .division--wide {
    grid-column: span 2;
  }

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

@media (min-width: 1024px) {
  .eco-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .eco-summary-wrap {
    grid-column: span 2;
  }
}


/* -----------------------------------------------------------------------------
   15. BLOK CTA NA ZDJĘCIU
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(120px, 18vh, 220px);
  background-color: var(--ink-deep);
  isolation: isolate;
  text-align: center;
}

.cta-band__media {
  position: absolute;
  inset: -60px 0;
  z-index: -2;
  will-change: transform;
}

.cta-band__media picture,
.cta-band__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 90% at 50% 50%, rgba(6, 8, 10, 0.85) 0%, rgba(6, 8, 10, 0.94) 100%); /* min. 0.85 pod tekstem — AA nawet na najjaśniejszych klatkach */
}

.cta-band__inner {
  display: grid;
  justify-items: center;
  gap: 24px;
  max-width: 820px;
  margin-inline: auto;
}

.cta-band__inner p {
  margin-inline: auto;
}

.cta-band .btn {
  margin-top: 12px;
}


/* -----------------------------------------------------------------------------
   16. KONTAKT I FORMULARZ
   -------------------------------------------------------------------------- */
.contact {
  display: grid;
  gap: 40px;
}

.info-list {
  display: grid;
  gap: 14px;
}

.info-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
}

.info-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background-color: var(--brass-soft);
}

.info-card__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-card__label {
  color: var(--steel);
}

.info-card__value {
  word-break: normal;
  margin-top: 6px;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ivory);
  overflow-wrap: break-word;
}

.info-card__value a {
  transition: color var(--t-fast) var(--ease);
}

.info-card__value a:hover {
  color: var(--brass);
}

/* Panel formularza */
.form-card {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background-color: var(--ink);
  box-shadow: var(--highlight);
}

.form {
  display: grid;
  gap: 22px;
}

.form__row {
  display: grid;
  gap: 22px;
}

.field {
  display: grid;
  align-content: start; /* pola w jednym rzędzie nie rozjeżdżają się przy dłuższym błędzie */
  gap: 10px;
}

.field__label {
  color: var(--muted);
}

.field__label .field__opt {
  color: rgba(244, 242, 237, 0.5);
}

.field__input {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-field);
  background-color: var(--ink-card);
  font-size: 16px; /* ≥16px — bez automatycznego zoomu na iOS */
  line-height: 1.5;
  color: var(--ivory);
  transition:
    border-color var(--t-ui) var(--ease),
    box-shadow var(--t-ui) var(--ease);
}

.field__input::placeholder {
  color: rgba(244, 242, 237, 0.5);
  opacity: 1;
}

.field__input:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

/* Focus: mosiężna ramka + delikatna poświata (to jest wskaźnik fokusu) */
.field__input:focus,
.field__input:focus-visible {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px var(--brass-soft);
}

textarea.field__input {
  min-height: 160px;
  resize: vertical;
}

.is-invalid .field__input {
  border-color: var(--alert);
}

.field__error {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--alert);
}

.field__error:empty {
  display: none;
}

.field--hp {
  display: none !important;
}

/* Oświadczenie o zapoznaniu się z polityką prywatności */
.check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 14px;
  align-items: start;
}

.check__box {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-field);
  background-color: var(--ink-card);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px 14px;
  cursor: pointer;
  transition:
    background-color var(--t-ui) var(--ease),
    border-color var(--t-ui) var(--ease),
    box-shadow var(--t-ui) var(--ease);
}

.check__box:focus-visible {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px var(--brass-soft);
}

.check__box:checked {
  border-color: var(--brass);
  background-color: var(--brass);
  /* Znacznik w kolorze --ink-deep (#06080A) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.4 5.6 10.4 11.5 3.8' fill='none' stroke='%2306080A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.is-invalid .check__box {
  border-color: var(--alert);
}

.check__text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  cursor: pointer;
}

.check .field__error {
  grid-column: 2;
}

.text-link,
.check__text a {
  color: var(--ivory);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--brass);
  transition: color var(--t-fast) var(--ease);
}

.text-link:hover,
.check__text a:hover {
  color: var(--brass);
}

.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding-top: 6px;
}

/* Komunikat błędu wysyłki — pusty element jest wyjmowany z układu,
   ale nie ukrywany przez display: none (czytniki ekranu go ogłoszą) */
.form__status {
  flex-basis: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(229, 138, 123, 0.4);
  border-radius: var(--r-field);
  background-color: rgba(229, 138, 123, 0.08);
  font-size: 14.5px;
  color: var(--ivory);
}

.form__status:empty {
  position: absolute;
  padding: 0;
  border: 0;
}

.form__status a {
  color: var(--ivory);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Komunikat sukcesu w miejsce formularza */
.form-success {
  display: grid;
  gap: 18px;
  padding-block: 24px;
}

.form-success:focus {
  outline: none;
}

.form-success__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--brass-soft);
  border: 1px solid var(--line-hover);
}

.form-success__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-success__text {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ivory);
}

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

@media (min-width: 1024px) {
  .contact {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 32px;
    align-items: start;
  }

  .contact__info {
    grid-column: 1 / 6;
  }

  .contact__form {
    grid-column: 6 / 13;
  }
}

@media (min-width: 1280px) {
  .contact__info {
    grid-column: 1 / 5;
  }

  .contact__form {
    grid-column: 6 / 13;
  }
}


/* -----------------------------------------------------------------------------
   17. STOPKA
   -------------------------------------------------------------------------- */
.site-footer {
  padding-top: clamp(72px, 9vw, 112px);
  background-color: var(--ink-deep);
  border-top: 1px solid var(--line);
}

.site-footer .brand {
  --logo-h: 38px;
}

.footer-grid {
  display: grid;
  gap: 48px 32px;
}

.footer__about {
  margin-top: 22px;
  max-width: 38ch;
  font-size: 15px;
}

.footer__heading {
  margin-bottom: 20px;
  color: var(--steel);
}

.footer__list li + li {
  margin-top: 12px;
}

.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--muted);
  transition: color var(--t-fast) var(--ease);
}

.footer__link:hover {
  color: var(--ivory);
}

.footer__link .btn__icon {
  width: 12px;
  height: 12px;
  opacity: 0.6;
}

.footer__address {
  margin-top: 14px;
  font-style: normal;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: clamp(56px, 7vw, 88px);
  padding-block: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer__bottom p {
  max-width: none;
  font-size: 13.5px;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer__legal a {
  font-size: 13.5px;
  color: var(--muted);
  transition: color var(--t-fast) var(--ease);
}

.footer__legal a:hover,
.footer__legal a[aria-current="page"] {
  color: var(--ivory);
}

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

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 3.4fr 1.7fr 2.3fr 2.1fr 2.5fr;
  }

  .footer__brand {
    grid-column: auto;
  }
}


/* -----------------------------------------------------------------------------
   18. PODSTRONY PRAWNE
   -------------------------------------------------------------------------- */
.legal {
  padding-block: clamp(56px, 8vw, 104px) var(--section-pad);
}

.legal__inner {
  max-width: 70ch;
}

.legal h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 56px;
  margin-bottom: 18px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

/* Pierwszy nagłówek dokumentu — bez linii (nagłówek strony ma już dolną linię) */
.legal section:first-child h2 {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* Numer punktu w mono, stal */
.legal__num {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.8em;
  letter-spacing: 0.02em;
  color: var(--steel);
}

.legal p,
.legal li,
.legal dd {
  max-width: none;
  color: var(--muted);
}

.legal p + p {
  margin-top: 1em;
}

.legal ul,
.legal ol {
  margin-top: 1em;
  padding-left: 1.4em;
}

.legal ul {
  list-style: disc;
}

.legal ol {
  list-style: decimal;
}

.legal ul ul {
  list-style: circle;
}

.legal li + li {
  margin-top: 0.5em;
}

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

.legal ul + p,
.legal ol + p,
.legal dl + p {
  margin-top: 1.25em;
}

.legal a {
  color: var(--ivory);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--brass);
}

.legal a:hover {
  color: var(--brass);
}

/* Blok danych rejestrowych — karta */
.legal__registry {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background-color: var(--ink-card);
  box-shadow: var(--highlight);
}

.legal__registry div {
  display: grid;
  gap: 4px;
  padding: 14px 20px;
}

.legal__registry div + div {
  border-top: 1px solid var(--line);
}

.legal__registry dt {
  color: var(--steel);
}

.legal__registry dd {
  color: var(--ivory);
}

@media (min-width: 640px) {
  .legal__registry div {
    grid-template-columns: 200px 1fr;
    gap: 20px;
    align-items: baseline;
  }
}


/* -----------------------------------------------------------------------------
   19. ANIMACJE REVEAL
   Klasa .js na <html> ustawiana w <head> — bez JS treść jest widoczna.
   Reveal jako animacja (nie transition), by nie nadpisywać przejść hover.
   Opóźnienie --reveal-delay ustawia JS (stagger 70 ms).
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
}

.js [data-reveal].is-revealed {
  opacity: 1;
  animation: reveal var(--t-reveal) var(--ease) var(--reveal-delay, 0ms) backwards;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}


/* -----------------------------------------------------------------------------
   20. PREFERS-REDUCED-MOTION — wyłącza animacje, parallax i liczniki
   (parallax i liczniki są też wyłączane w JS)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .card:hover,
  .btn--primary:hover {
    transform: none;
  }

  .hero__media,
  .cta-band__media {
    transform: none !important;
  }
}


/* -----------------------------------------------------------------------------
   21. NISKIE EKRANY DESKTOPOWE (np. 1440×800) — kompaktowy pasek liczb,
   żeby cały hero razem z paskiem mieścił się w pierwszym widoku
   -------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-height: 860px) {
  .stat,
  .stat:nth-child(even) {
    padding-top: 18px;
    padding-bottom: 20px;
  }

  .stat__value {
    font-size: 2.25rem;
  }

  .stat__label {
    margin-top: 6px;
  }
}


/* -----------------------------------------------------------------------------
   22. MEDIA: WIDEO W TLE, PAS ZDJĘCIOWY, TŁO STOPKI, OBRAZY W <picture>
   -------------------------------------------------------------------------- */

/* <picture> wypełnia kontener tła */
.hero__media picture,
.split__frame picture {
  display: block;
  height: 100%;
}

/* Wideo w tle — nad posterem, pojawia się płynnie dopiero po starcie odtwarzania
   (klasa .is-playing z JS). Poniżej 768px i przy ograniczonym ruchu — nie istnieje
   wizualnie (JS i tak nie podpina wtedy źródła). */
.hero__video,
.cta-band__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1200ms var(--ease);
  pointer-events: none;
}

.hero__video.is-playing,
.cta-band__video.is-playing {
  opacity: 1;
}

@media (max-width: 767px) {
  .hero__video,
  .cta-band__video {
    display: none;
  }
}

/* Pas zdjęciowy w sekcji Ekosystem — pełna szerokość, ok. 380px, parallax */
.eco-band {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: clamp(280px, 38vw, 380px);
  margin-bottom: clamp(56px, 7vw, 88px);
  overflow: hidden;
  background-color: var(--ink-deep);
  isolation: isolate;
}

.eco-band__media {
  position: absolute;
  inset: -60px 0;
  z-index: -2;
  will-change: transform;
}

.eco-band__media picture,
.eco-band__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay: ciemny pas, mocniej pod etykietą (min. 0.88 — AA dla mosiądzu),
   krawędzie wtapiają się w tło sekcji */
.eco-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--band-fade, var(--ink)) 0%, transparent 22%, transparent 78%, var(--band-fade, var(--ink)) 100%),
    linear-gradient(0deg, rgba(6, 8, 10, 0.92) 0%, rgba(6, 8, 10, 0.88) 30%, rgba(6, 8, 10, 0.38) 100%);
}

.eco-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-bottom: clamp(32px, 4vw, 48px);
}

.eco-band__label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--brass);
}

.eco-band__label::before {
  content: "";
  width: 9px;
  height: 9px;
  border: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.eco-band__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: var(--steel);
}

/* Tło stopki — ledwo widoczne zdjęcie pod overlayem 0.94 */
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.site-footer__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.site-footer__bg picture,
.site-footer__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(6, 8, 10, 0.94);
}

/* Ograniczony ruch: bez wideo (zostaje poster), bez zoomu zdjęć w kartach */
@media (prefers-reduced-motion: reduce) {
  .hero__video,
  .cta-band__video {
    display: none !important;
  }

  .pillar__media img {
    transform: none !important;
  }

  .eco-band__media {
    transform: none !important;
  }
}


/* -----------------------------------------------------------------------------
   23. NAWIGACJA WIELOSTRONICOWA — stan aktywny, menu rozwijane, akordeon
   -------------------------------------------------------------------------- */

/* Aktywna pozycja: jasny tekst + stałe mosiężne podkreślenie */
.nav__link[aria-current="page"],
.nav__link.is-active {
  color: var(--ivory);
}

.nav__link[aria-current="page"]::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.nav__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Przycisk rozwijania (osobny od linku — link prowadzi do huba) */
.nav__toggle {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: var(--r-field);
  color: var(--muted);
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}

.nav__toggle:hover,
.nav__item.is-open .nav__toggle {
  color: var(--ivory);
  background-color: rgba(255, 255, 255, 0.06);
}

.nav__toggle svg,
.mobile-menu__toggle svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 250ms var(--ease);
}

.nav__toggle[aria-expanded="true"] svg,
.mobile-menu__toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* Panel rozwijany — 250 ms, przezroczystość + lekki ruch w dół */
.nav__dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: -28px;
  z-index: 10;
  width: 400px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background-color: rgba(18, 21, 26, 0.97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--highlight), var(--shadow-lift);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 250ms var(--ease),
    transform 250ms var(--ease),
    visibility 0s linear 250ms;
}

/* Niewidoczny „mostek” — kursor nie gubi menu w szczelinie pod linkiem */
.nav__dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 20px;
}

.nav__item.is-open .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 250ms var(--ease),
    transform 250ms var(--ease),
    visibility 0s linear 0s;
}

.nav__drop-link {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 2px 8px;
  padding: 12px 14px;
  border-radius: var(--r-field);
  transition: background-color var(--t-fast) var(--ease);
}

.nav__drop-link:hover,
.nav__drop-link[aria-current="page"] {
  background-color: var(--brass-soft);
}

.nav__drop-num {
  grid-row: span 2;
  padding-top: 3px;
  color: var(--steel);
}

.nav__drop-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ivory);
}

.nav__drop-desc {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
}

.nav__drop-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding: 14px 14px 10px;
  border-top: 1px solid var(--line);
  color: var(--brass);
  transition: color var(--t-fast) var(--ease);
}

.nav__drop-all:hover {
  color: var(--ivory);
}

.nav__drop-all .btn__icon {
  width: 14px;
  height: 14px;
}

/* Menu mobilne: wiersz z linkiem i przyciskiem akordeonu */
.mobile-menu__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.mobile-menu__row .mobile-menu__link {
  flex: 1;
  border-bottom: 0;
}

.mobile-menu__link[aria-current="page"],
.mobile-menu__link.is-active {
  color: var(--brass);
}

.mobile-menu__toggle {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  color: var(--ivory);
}

.mobile-menu__toggle svg {
  width: 14px;
  height: 14px;
}

/* Akordeon: płynne rozwinięcie przez grid-template-rows 0fr → 1fr */
.mobile-menu__sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 250ms var(--ease);
}

.mobile-menu__sub.is-open {
  grid-template-rows: 1fr;
}

.mobile-menu__sub-inner {
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s linear 250ms;
}

.mobile-menu__sub.is-open .mobile-menu__sub-inner {
  visibility: visible;
  transition: visibility 0s linear 0s;
}

.mobile-menu__sub ul {
  padding: 8px 0 14px;
  border-bottom: 1px solid var(--line);
}

.mobile-menu__sub a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0 10px 4px;
  font-size: 17px;
  font-weight: 500;
  color: var(--muted);
}

.mobile-menu__sub a[aria-current="page"],
.mobile-menu__sub a:hover {
  color: var(--ivory);
}

.mobile-menu__sub .mono {
  min-width: 2.6em;
  color: var(--steel);
}

.mobile-menu__sub .mobile-menu__sub-all {
  color: var(--brass);
}


/* -----------------------------------------------------------------------------
   24. HERO PODSTRONY + OKRUSZKI
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 52vh;
  min-height: 52svh;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: clamp(48px, 6vw, 80px);
  overflow: hidden;
  background-color: var(--ink-deep);
  isolation: isolate;
}

.page-hero__media {
  position: absolute;
  inset: -60px 0;
  z-index: -2;
  will-change: transform;
}

.page-hero__media picture,
.page-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay min. 0.86 pod tekstem (AA dla mosiądzu i stali na każdym kadrze),
   dół wtapia się w tło strony */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 8, 10, 0.86) 0%, rgba(6, 8, 10, 0.88) 55%, rgba(6, 8, 10, 0.96) 92%, var(--ink) 100%);
}

.page-hero__inner {
  width: 100%;
}

.page-hero__title {
  margin-top: 22px;
  max-width: 18ch;
  font-size: clamp(2.4rem, min(4.8vw, 8.5vh), 4.25rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.page-hero__lead {
  margin-top: 22px;
  max-width: 62ch;
}

.page-hero__meta {
  margin-top: 20px;
  color: var(--steel);
}

/* Okruszki */
.breadcrumbs {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  color: var(--muted);
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: rgba(244, 242, 237, 0.4);
}

.breadcrumbs a {
  transition: color var(--t-fast) var(--ease);
}

.breadcrumbs a:hover {
  color: var(--brass);
}

.breadcrumbs [aria-current="page"] {
  color: var(--ivory);
}


/* -----------------------------------------------------------------------------
   25. STRONA GŁÓWNA — oś czasu, pas marek, dokumenty, linki w kartach
   -------------------------------------------------------------------------- */

/* „Rozciągnięty” link: cała karta jest klikalna, a w drzewie dostępności
   jest jeden czytelny link */
.stretched::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}

.pillar__link {
  margin-top: auto;
  padding-top: 20px;
}

/* Oś czasu: pionowa na mobile, pozioma od 1024px */
.steps {
  position: relative;
  display: grid;
  gap: 40px;
}

.step {
  position: relative;
  padding-left: 40px;
}

/* Linia łącząca kroki */
.step::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 22px;
  bottom: -40px;
  width: 1px;
  background-color: var(--line-hover);
}

.step:last-child::before {
  display: none;
}

/* Znacznik kroku — mosiężny romb */
.step__marker {
  position: absolute;
  left: 0;
  top: 8px;
  width: 13px;
  height: 13px;
  border: 1.5px solid var(--brass);
  background-color: var(--ink-soft);
  transform: rotate(45deg);
}

.step__marker::after {
  content: "";
  position: absolute;
  inset: 3px;
  background-color: var(--brass);
}

.step__num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1;
  color: var(--steel);
}

.step__kicker {
  margin-top: 10px;
  color: var(--muted);
}

.step__title {
  margin-top: 14px;
}

.step__text {
  margin-top: 10px;
  font-size: 15.5px;
}

@media (min-width: 1024px) {
  .steps:not(.steps--vertical) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
  }

  .steps:not(.steps--vertical) .step {
    padding-left: 0;
    padding-top: 44px;
  }

  .steps:not(.steps--vertical) .step::before {
    left: 20px;
    right: -40px;
    top: 6px;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .steps:not(.steps--vertical) .step:last-child::before {
    display: block;
    right: 0;
    background: linear-gradient(90deg, var(--line-hover), transparent);
  }

  .steps:not(.steps--vertical) .step__marker {
    top: 0;
  }
}

/* Pas marek grupy — tekstowe „logotypy” w mosiężnych ramkach */
.brand-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(40px, 5vw, 56px);
}

.brand-chip {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--line-hover);
  border-radius: var(--r-card);
  background-color: rgba(23, 27, 33, 0.6);
  transition:
    border-color var(--t-card) var(--ease),
    background-color var(--t-card) var(--ease),
    transform var(--t-card) var(--ease);
}

.brand-chip:hover {
  border-color: var(--brass);
  background-color: var(--brass-soft);
  transform: translateY(-2px);
}

.brand-chip__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ivory);
}

.brand-chip__tag {
  color: var(--steel);
}

/* Ósmy element — samo zaplecze, wyróżnione mosiądzem */
.brand-chip--core {
  border-color: var(--brass);
  background-color: var(--brass-soft);
}

@media (min-width: 1024px) {
  .brand-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.section-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: clamp(32px, 4vw, 48px);
}

.section-foot p {
  max-width: 60ch;
}

/* Dokumenty i transparentność */
.docs {
  display: grid;
  gap: 16px;
}

.doc-card {
  gap: 14px;
  padding: clamp(24px, 3vw, 32px);
}

.doc-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-hover);
  border-radius: var(--r-card);
  background-color: var(--brass-soft);
}

.doc-card__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.doc-card__title {
  margin-top: 8px;
}

.doc-card__text {
  font-size: 15.5px;
}

.doc-card .link-arrow {
  margin-top: auto;
  padding-top: 10px;
}

@media (min-width: 768px) {
  .docs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Pas ekosystemu w sekcji o tle --ink-soft wtapia się w to tło */
.section--soft .eco-band {
  --band-fade: var(--ink-soft);
}

/* Link „więcej” pod treścią sekcji */
.split__content > .link-arrow {
  margin-top: 36px;
}

/* Przyciski w bloku CTA — jeden lub dwa, wyśrodkowane */
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
}

.cta-band__actions .btn {
  margin-top: 0;
}


/* -----------------------------------------------------------------------------
   26. TREŚĆ PODSTRON — tekst z kartą „W skrócie”, statement, karty cech
   -------------------------------------------------------------------------- */

/* Tekst + boczna karta faktów (karta „przykleja się” przy przewijaniu) */
.prose-layout {
  display: grid;
  gap: 40px;
  align-items: start;
}

@media (min-width: 1024px) {
  .prose-layout {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 32px;
  }

  .prose-layout .prose {
    grid-column: 1 / 8;
  }

  .prose-layout .facts {
    grid-column: 9 / 13;
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
}

/* Dłuższy tekst */
.prose p {
  max-width: 66ch;
}

.prose p + p,
.prose p + ul,
.prose ul + p,
.prose .statement + p,
.prose p + .statement {
  margin-top: 1.15em;
}

.prose h3 {
  margin-top: 2em;
  margin-bottom: 0.6em;
  font-size: clamp(1.1875rem, 1.6vw, 1.375rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.prose ul {
  display: grid;
  gap: 10px;
  max-width: 66ch;
}

.prose li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

/* Punktor: mały mosiężny romb */
.prose li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--brass);
  transform: rotate(45deg);
}

.prose a {
  color: var(--ivory);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--brass);
  transition: color var(--t-fast) var(--ease);
}

.prose a:hover {
  color: var(--brass);
}

/* Karta „W skrócie” */
.facts {
  padding: clamp(22px, 2.6vw, 30px);
}

.facts__title {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--brass);
}

.facts__list div {
  display: grid;
  gap: 4px;
  padding-block: 14px;
}

.facts__list div + div {
  border-top: 1px solid var(--line);
}

.facts__list dt {
  color: var(--steel);
}

.facts__list dd {
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ivory);
}

/* Wyróżnione zdanie */
.statement {
  position: relative;
  max-width: 34ch;
  margin-block: 1.6em;
  padding-left: 24px;
  border-left: 2px solid var(--brass);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.375rem, 2.3vw, 1.875rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ivory);
}

.prose .statement {
  max-width: 34ch;
}

/* Karty cech (ikona, tytuł, tekst) */
.feature-grid {
  display: grid;
  gap: 16px;
}

.feature-card {
  gap: 12px;
  padding: clamp(24px, 3vw, 32px);
}

.feature-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  border: 1px solid var(--line-hover);
  border-radius: var(--r-card);
  background-color: var(--brass-soft);
}

.feature-card__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card__text {
  font-size: 15.5px;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .feature-grid:not(.feature-grid--2) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Para kart filarów (blok „Pozostałe fundamenty”, hub): zawsze max. 2 w rzędzie */
@media (min-width: 1200px) {
  .pillars--pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Treść pod nagłówkiem sekcji, gdy po siatce kart następuje dalszy tekst */
.section-body + .section-body {
  margin-top: clamp(48px, 6vw, 72px);
}

/* Pionowa oś kroków (dłuższe ścieżki) — czytelna szerokość */
.steps--vertical {
  max-width: 780px;
}

.steps--vertical .step__num {
  font-size: clamp(1.75rem, 2.4vw, 2.125rem);
}

/* Blok efektu pod treścią sekcji (filary) */
.effect {
  max-width: 780px;
  margin-top: clamp(48px, 6vw, 72px);
}

.effect .statement {
  margin-top: 0;
}

.effect p:not(.statement) {
  max-width: 66ch;
}

/* Sekcja ról na /o-nas/ */
.role-lead {
  margin-top: 20px;
}

.role-note {
  margin-top: 32px;
  font-size: 15.5px;
}

/* Linki w karcie „W skrócie” */
.facts__list dd a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--brass);
  transition: color var(--t-fast) var(--ease);
}

.facts__list dd a:hover {
  color: var(--brass);
}

/* W parach kart (hub, „Pozostałe fundamenty”) tytuły mieszczą się w jednej linii od 1200px */
@media (min-width: 1200px) {
  .pillars--pair .pillar__title {
    min-height: 0;
  }
}


/* -----------------------------------------------------------------------------
   27. EKOSYSTEM (podstrona) — karty marek ze zdjęciem
   Zdjęcie 16:10 na pełną szerokość karty, wyciszone jak w kartach filarów,
   na hover wraca do pełnego koloru.
   -------------------------------------------------------------------------- */
.eco-card__media {
  position: relative;
  margin: -28px -28px 6px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--ink-deep);
}

.eco-card__media picture,
.eco-card__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.eco-card__media img {
  object-fit: cover;
  filter: grayscale(0.7) brightness(0.72);
  transform: scale(1.04);
  transition:
    filter var(--t-line) var(--ease),
    transform 900ms var(--ease);
}

.eco-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 27, 33, 0) 50%, rgba(23, 27, 33, 0.8) 100%);
  pointer-events: none;
}

.card.eco-card:hover .eco-card__media img,
.card.eco-card:focus-within .eco-card__media img {
  filter: grayscale(0) brightness(1);
  transform: scale(1);
}

/* Kotwice #marka — karta nie chowa się pod headerem */
.eco-card[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

/* Lista dywizji we wstępie */
.division-list {
  display: grid;
  gap: 0;
  max-width: 66ch;
  margin-top: 1.4em;
  border-top: 1px solid var(--line);
}

.division-list div {
  display: grid;
  gap: 4px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}

.division-list dt {
  color: var(--brass);
}

.division-list dd {
  font-size: 15.5px;
  color: var(--muted);
}

@media (min-width: 640px) {
  .division-list div {
    grid-template-columns: 220px 1fr;
    gap: 20px;
    align-items: baseline;
  }
}


/* -----------------------------------------------------------------------------
   28. FAQ — rozwijane pytania (<details>), bez JavaScriptu
   -------------------------------------------------------------------------- */
.faq {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background-color: var(--ink-card);
  box-shadow: var(--highlight);
  transition: border-color var(--t-card) var(--ease);
}

.faq__item[open],
.faq__item:hover {
  border-color: var(--line-hover);
}

.faq__question {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.35;
  color: var(--ivory);
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question:focus-visible {
  outline-offset: -2px;
  border-radius: var(--r-card);
}

.faq__num {
  color: var(--steel);
}

/* Znak +/− rysowany dwiema liniami */
.faq__icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
  margin-top: -0.75px;
  background-color: var(--brass);
  transition: transform var(--t-ui) var(--ease);
}

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

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

.faq__answer {
  padding: 0 24px 24px;
  padding-left: calc(24px + 2.6em + 18px);
}

.faq__answer p {
  font-size: 15.5px;
}

.faq__answer p + p {
  margin-top: 0.8em;
}

.faq__answer a {
  color: var(--ivory);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--brass);
}

.faq__answer a:hover {
  color: var(--brass);
}

@media (max-width: 639px) {
  .faq__question {
    padding: 18px;
    gap: 12px;
  }

  .faq__answer {
    padding: 0 18px 20px;
  }
}


/* -----------------------------------------------------------------------------
   29. STRONA 404
   -------------------------------------------------------------------------- */
.not-found__code {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(4rem, 12vw, 8rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--steel);
}

.not-found__links {
  display: grid;
  gap: 12px;
}

.not-found__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
}

.not-found__link span:first-child {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--ivory);
}

.not-found__link .mono {
  color: var(--steel);
}

@media (min-width: 768px) {
  .not-found__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 404: karta linku w poziomie (nadpisuje kolumnę z .card) */
.not-found__link {
  flex-direction: row;
}

/* Linki w leadzie nagłówka sekcji */
.section-head__lead a {
  color: var(--ivory);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--brass);
}

.section-head__lead a:hover {
  color: var(--brass);
}
