/* ==========================================================================
   MIDEB - Fundacja Międzynarodowy Instytut Działań i Edukacji
   na rzecz Bezpieczeństwa
   Design: „precyzja = bezpieczeństwo”, papier, atrament, safety orange
   ========================================================================== */

/* ---- Fonts (self-hosted, latin + latin-ext) ----------------------------- */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/space-grotesk-300-700-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/space-grotesk-300-700-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;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/plex-mono-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/plex-mono-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+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
    U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/plex-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/plex-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+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
    U+FFFD;
}
@font-face {
  font-family: "Doto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/doto-100-900-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Doto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/doto-100-900-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
    U+FFFD;
}

/* ---- Tokens -------------------------------------------------------------- */

:root {
  --paper: #f4f2ee;
  --paper-2: #eceae3;
  --ink: #141412;
  --ink-70: rgba(20, 20, 18, 0.72);
  --ink-50: rgba(20, 20, 18, 0.52);
  --ink-30: rgba(20, 20, 18, 0.3);
  --line: rgba(20, 20, 18, 0.16);
  --line-soft: rgba(20, 20, 18, 0.08);
  --accent: #e8490f;
  --radius: 4px;
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1520px;
  --nav-h: 64px;
  --font-sans: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;
  --font-dot: "Doto", "IBM Plex Mono", monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Base ---------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  /* Postęp przewijania przenosimy do notcha, natywny pasek chowamy */
  scrollbar-width: none;
}
html::-webkit-scrollbar {
  display: none;
}
html.lenis {
  height: auto;
  scroll-behavior: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection {
  background: var(--accent);
  color: var(--paper);
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

/* Subtelne ziarno na całości, tekstura papieru */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Utilities ------------------------------------------------------------ */

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

/* Etykieta sekcji: numer + tytuł + linia */
.sec-label {
  display: flex;
  align-items: baseline;
  gap: 1em;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-50);
}
.sec-label .idx {
  color: var(--accent);
  font-weight: 500;
}
.sec-label .tag {
  letter-spacing: 0.14em;
}
.sec-label::after {
  content: "";
  flex: 1;
}
.sec-label .end {
  margin-left: auto;
  color: var(--ink-30);
}

/* ---- Nav ------------------------------------------------------------------ */

/* Logo: osobno po lewej, mix-blend-mode: difference, żeby pozostało
   czytelne także nad ciemną sekcją zespołu i nad zdjęciem */
/* Brand siedzi teraz wewnątrz notcha „Papier” (prawa strona headera),
   więc atrament na papierze zamiast blend mode. */
.nav__brand {
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  padding-right: 26px;
  border-right: 1px solid var(--line);
}

/* Notch „Papier”: biała plakietka przyklejona do górnej i prawej krawędzi,
   zaokrąglony lewy dolny róg, hairline + delikatny cień. Solidne tło
   zamiast blend mode = czytelność na każdej sekcji. */
.nav__notch {
  --fillet: 22px;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 101;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0 22px 0 34px;
  background: #fff;
  border-left: 1px solid rgba(20, 20, 18, 0.2);
  border-bottom: 1px solid rgba(20, 20, 18, 0.2);
  border-bottom-left-radius: 26px;
  box-shadow: 0 14px 34px rgba(20, 20, 18, 0.08);
}
/* Wklęsłe fillety na stykach z krawędziami, hairline biegnie też po łuku */
.nav__notch::before,
.nav__notch::after {
  content: "";
  position: absolute;
  width: var(--fillet);
  height: var(--fillet);
  pointer-events: none;
  background: radial-gradient(
    circle at 0 100%,
    rgba(0, 0, 0, 0) calc(var(--fillet) - 1.6px),
    rgba(20, 20, 18, 0.26) calc(var(--fillet) - 0.6px),
    #fff var(--fillet)
  );
}
.nav__notch::before { top: 0; right: 100%; }
.nav__notch::after { top: 100%; right: 0; }

/* Wskaźnik postępu przewijania, obrys biegnący po widocznej krawędzi notcha
   (lewa krawędź → zaokrąglony narożnik → dolna krawędź). Geometrię liczy JS
   z rzeczywistych wymiarów notcha, więc dostosowuje się też do wersji < 900 px. */
.nav__progress {
  position: absolute;
  top: 0;
  right: 0;
  /* nad ::after notcha, żeby ślad rysował się także po wklęsłych filletach */
  z-index: 1;
  overflow: visible;
  pointer-events: none;
}
.nav__progress-fill {
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
}
.nav__progress-head {
  fill: var(--accent);
  opacity: 0;
}

.nav__links {
  display: flex;
  gap: 26px;
  align-items: center;
}
.nav__links a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  color: var(--ink-70);
  transition: color 0.25s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav__links a:hover {
  color: var(--ink);
}
.nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav__cta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 14px;
  border-radius: 3px;
  transition: background 0.25s, color 0.25s;
}
.nav__cta:hover {
  background: var(--accent);
  color: #fff;
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px 0;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transform-origin: center;
  transition: transform 0.4s var(--ease-out), opacity 0.2s var(--ease-out);
}
/* Morph w „X", burger zostaje nad otwartym menu (notch z-index 101 > menu 90),
   więc ta sama plakietka służy do zamknięcia. Sterowane przez aria-expanded,
   które JS już przełącza, zero dodatkowej logiki. */
.nav__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}
.nav__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Menu mobilne, pełnoekranowe */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--gutter);
  padding-bottom: max(var(--gutter), 6vh);
  overflow: hidden;
  isolation: isolate;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  pointer-events: none;
  /* Zamykanie: kurtyna zwija się (0.5s), a visibility → hidden dopiero PO niej.
     Wcześniej visibility znikało natychmiast i zwijanie było niewidoczne. */
  transition: clip-path 0.5s var(--ease-out), visibility 0s linear 0.5s;
}
.menu.is-open {
  clip-path: inset(0 0 0% 0);
  visibility: visible;
  pointer-events: auto;
  /* Otwieranie: visibility → visible od razu, kurtyna rozwija się (0.6s). */
  transition: clip-path 0.6s var(--ease-out), visibility 0s linear 0s;
}
.menu__signal {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.menu__signal-field,
.menu__signal-arrow {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: fill;
}
.menu__signal-field {
  opacity: 0;
  transition: opacity 0.45s var(--ease-out) 0.08s;
}
.menu__signal-arrow {
  opacity: 0;
  transform: scale(0.02);
  transform-origin: 72.27% 30.19%;
  will-change: transform, opacity;
}
.menu nav,
.menu__meta {
  position: relative;
  z-index: 1;
}
.menu.is-open .menu__signal-field {
  opacity: 1;
}
.menu.is-open .menu__signal-arrow {
  animation: menu-arrow-flight 0.92s var(--ease-out) 0.18s both;
}
@keyframes menu-arrow-flight {
  0% {
    opacity: 0;
    transform: scale(0.02);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.menu a {
  font-size: clamp(2rem, 9vw, 3.4rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(244, 242, 238, 0.14);
  padding: 0.35em 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.menu a .mono {
  color: var(--accent);
}
.menu__meta {
  margin-top: 32px;
  color: rgba(244, 242, 238, 0.5);
}

/* Rytm wejścia: linki i meta wchodzą kaskadą za kurtyną (rise + fade).
   Stan bazowy = spoczynek na dole + przezroczystość; przy zamykaniu obowiązuje
   właśnie ten stan (bez opóźnień) → zbiorcze, szybkie zgaszenie i zjazd. */
.menu nav a,
.menu__meta {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.28s var(--ease-out), transform 0.28s var(--ease-out);
}
.menu.is-open nav a,
.menu.is-open .menu__meta {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s var(--ease-out), transform 0.7s var(--ease-out);
}
/* Kaskada w kolejności czytania; meta zamyka rytm */
.menu.is-open nav a:nth-child(1) { transition-delay: 0.14s; }
.menu.is-open nav a:nth-child(2) { transition-delay: 0.21s; }
.menu.is-open nav a:nth-child(3) { transition-delay: 0.28s; }
.menu.is-open nav a:nth-child(4) { transition-delay: 0.35s; }
.menu.is-open nav a:nth-child(5) { transition-delay: 0.42s; }
.menu.is-open .menu__meta { transition-delay: 0.49s; }

body.menu-locked {
  overflow: hidden;
}

/* ---- Hero ------------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--nav-h) + 4vh);
  overflow: clip;
  isolation: isolate;
  /* Full-bleed: hero sięga krawędzi viewportu (zdjęcie dochodzi do samego
     brzegu), a treść zostaje w siatce wrapa dzięki wyrównującemu paddingowi */
  max-width: none;
  padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
}
.hero__visual {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: -1vh;
  width: min(100%, 1536px);
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
  opacity: 0.52;
  mix-blend-mode: multiply;
  /* Panorama pozostaje czytelna od środka kadru, a długi feather chroni
     lewą strefę tekstową i wtapia górne niebo w papier strony. */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 46%),
    linear-gradient(to bottom, transparent 0%, #000 32%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 46%),
    linear-gradient(to bottom, transparent 0%, #000 32%);
  mask-composite: intersect;
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero__grid i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line-soft);
}
.hero__grid i:nth-child(1) { left: 25%; }
.hero__grid i:nth-child(2) { left: 50%; }
.hero__grid i:nth-child(3) { left: 75%; }

.hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* „Afisz": monumentalne wersaliki na całą szerokość siatki;
   akcent zostaje na „chroni." */
.hero h1 {
  margin-top: clamp(6px, 2vh, 22px);
  font-size: clamp(3.4rem, 13.2vw, 12.6rem);
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  max-width: none;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero__sub {
  /* Desktop: podtytuł w „szczelinie" — jasnym, pustym niebie na prawo od
     „WIEDZA,". Kotwica przy prawym marginesie siatki, góra wyrównana
     optycznie z wersalikami pierwszej linii afisza. */
  position: absolute;
  top: clamp(14px, 2.6vh, 30px);
  right: 0;
  width: min(24em, 34%);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.55;
  /* mocniejszy tusz niż --ink-70: komentarz stoi na jasnym niebie kadru */
  color: rgba(20, 20, 18, 0.82);
}
.hero__sub::before {
  /* Pomarańczowy znacznik odróżnia komentarz od afisza — ten sam język
     wizualny co kickery sekcji niżej */
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin-bottom: 14px;
  background: var(--accent);
}

/* Cue przewijania: kaskada dwóch grotów, miniatura strzały scroll
   (te same zaokrąglone końcówki i akcentowy grot). Groty opadają w pętli
   zgodnie z kierunkiem przewijania; wyśrodkowane, wspólne dla desktopu
   i mobile. Bazowa nieprzezroczystość = 1, więc przy prefers-reduced-motion
   (animacja skrócona globalnie do jednego przebiegu) groty zostają widoczne
   statycznie. */
.hero__cue {
  margin-top: auto;
  align-self: center;
  padding-top: 40px;
  padding-bottom: 18px;
}
.hero__cue-glyph {
  display: block;
  width: 24px;
  height: 26px;
  overflow: visible;
}
.hero__cue-chevron {
  fill: none;
  stroke: var(--ink-50);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: cue-cascade 2s var(--ease-out) infinite;
}
.hero__cue-chevron--tip {
  stroke: var(--accent);
  animation-delay: 0.18s;
}
@keyframes cue-cascade {
  0% { opacity: 0; transform: translateY(-3px); }
  35% { opacity: 1; transform: translateY(0); }
  70%, 100% { opacity: 0; transform: translateY(4px); }
}

/* ---- Kursor hero: pierścień-instrument z grotem ---------------------------
   Budowany w JS, aktywny wyłącznie nad sekcją hero i tylko dla precyzyjnych
   wskaźników (hover + fine). Bez JS oraz przy prefers-reduced-motion strona
   zachowuje natywny kursor. Warstwa: nad nawigacją (101), pod ziarnem
   papieru (9999), grot dostaje tę samą teksturę co reszta strony. */

html.cursor-on body {
  cursor: none;
}
/* Przeglądarkowy cursor:pointer na linkach/guzikach nie dziedziczy z body */
html.cursor-on :is(a, button) {
  cursor: none;
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}
.cursor__ring,
.cursor__core {
  position: fixed;
  top: 0;
  left: 0;
  will-change: transform;
}
.cursor__ring {
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
}
.cursor__core {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
}
.cursor__core svg,
.cursor__ring svg {
  position: absolute;
  inset: 0;
  display: block;
  overflow: visible;
}

/* Pierścień: podkład papierowy + kreska atramentu, czytelny i na papierze,
   i na ciemnym zdjęciu. Skala = wariant linku × wciśnięcie. */
.cursor__ring svg {
  transform: scale(calc(var(--cursor-link, 1) * var(--cursor-press, 1)));
  transition: transform 0.5s var(--ease-out);
}
.cursor__ring-under {
  fill: none;
  stroke: rgba(244, 242, 238, 0.85);
  stroke-width: 3;
}
.cursor__ring-line {
  fill: none;
  stroke: rgba(20, 20, 18, 0.55);
  stroke-width: 1.25;
  transition: stroke 0.35s;
}
.cursor__ticks line {
  stroke: rgba(20, 20, 18, 0.4);
  stroke-width: 1;
  transition: stroke 0.35s;
}
.cursor__ticks {
  transform-box: fill-box;
  transform-origin: center;
  animation: cursor-spin 18s linear infinite;
}
@keyframes cursor-spin {
  to { rotate: 1turn; }
}

/* Grot domyślny: strzałka (atrament z papierowym obrysem, ostrze w hotspocie)
   i wariant „namierzania" nad elementami interaktywnymi. */
.cursor__arrow,
.cursor__lock {
  transition: opacity 0.28s, transform 0.45s var(--ease-out);
}
.cursor__arrow path {
  fill: var(--ink);
  stroke: var(--paper);
  stroke-width: 1.6;
  stroke-linejoin: round;
  paint-order: stroke;
}
.cursor__lock {
  opacity: 0;
  transform: scale(0.5) rotate(45deg);
}
.cursor__lock .under {
  fill: none;
  stroke: rgba(244, 242, 238, 0.85);
  stroke-width: 3.4;
}
.cursor__lock .bracket {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.7;
}
.cursor__lock circle {
  fill: var(--accent);
  stroke: var(--paper);
  stroke-width: 1;
}

.cursor.is-link {
  --cursor-link: 0.62;
}
.cursor.is-down {
  --cursor-press: 0.85;
}
.cursor.is-link .cursor__ring-line {
  stroke: var(--accent);
}
.cursor.is-link .cursor__ticks line {
  stroke: rgba(232, 73, 15, 0.55);
}
.cursor.is-link .cursor__arrow {
  opacity: 0;
  transform: scale(0.4);
}
.cursor.is-link .cursor__lock {
  opacity: 1;
  transform: none;
}

/* ---- Domeny / czym się zajmujemy -------------------------------------------- */

.domains {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background-image: radial-gradient(rgba(20, 20, 18, 0.09) 0.8px, transparent 0.8px);
  background-size: 14px 14px;
}
.domains__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(24px, 4.5vw, 44px) var(--gutter);
}
.domains__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-50);
}
.domains__kick {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-70);
}
.domains__dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 1px;
  flex: none;
}
.domains__mid {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin: 14px 0 10px;
}
.domains__wordwrap {
  height: clamp(40px, 8.2vw, 70px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.domains__word {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(30px, 7vw, 62px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  border-bottom: 3px solid var(--accent);
  padding-bottom: 7px;
}
.domains__word.is-flip {
  animation: domainFlip 0.52s var(--ease-out);
}
.domains__count {
  flex: none;
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 1.6vw, 0.9rem);
  letter-spacing: 0.14em;
  color: var(--ink-50);
  white-space: nowrap;
}
.domains__count b {
  color: var(--accent);
  font-weight: 500;
}
.domains__bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.domains__cap {
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 1.5vw, 0.8rem);
  letter-spacing: 0.01em;
  color: var(--ink-70);
  min-height: 1.5em;
}
.domains__ticks {
  display: inline-flex;
  gap: 6px;
  flex: none;
}
.domains__ticks i {
  width: 14px;
  height: 3px;
  background: var(--ink-30);
  border-radius: 2px;
  transition: background 0.3s var(--ease-out), width 0.3s var(--ease-out);
}
.domains__ticks i.is-on {
  background: var(--accent);
  width: 26px;
}
@keyframes domainFlip {
  0% { transform: translateY(0); opacity: 1; }
  42% { transform: translateY(-46%); opacity: 0; }
  58% { transform: translateY(46%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Pełna lista domen, dla czytników ekranu; widoczna przy reduced-motion */
.domains__all {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (max-width: 560px) {
  .domains__mid { flex-direction: column; align-items: flex-start; gap: 6px; }
  .domains__bot { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .domains__rotator { display: none; }
  .domains__all {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 0;
    margin-top: 16px;
    padding: 0;
    list-style: none;
  }
  .domains__all li {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: clamp(18px, 3.5vw, 26px);
    letter-spacing: -0.01em;
    color: var(--ink);
  }
  .domains__all li::after {
    content: "·";
    margin: 0 14px;
    color: var(--accent);
  }
  .domains__all li:last-child::after {
    content: "";
    margin: 0;
  }
}

/* ---- Sekcje ------------------------------------------------------------------ */

.section {
  padding-block: clamp(72px, 12vh, 150px);
}
.section--dark {
  background: var(--ink);
  color: var(--paper);
  --line: rgba(244, 242, 238, 0.16);
  --line-soft: rgba(244, 242, 238, 0.08);
  --ink-70: rgba(244, 242, 238, 0.75);
  --ink-50: rgba(244, 242, 238, 0.55);
  --ink-30: rgba(244, 242, 238, 0.32);
}
.section--dark .sec-label .idx {
  color: var(--accent);
}

/* ---- Misja -------------------------------------------------------------------- */

.mission p.big {
  margin-top: clamp(36px, 7vh, 80px);
  font-size: clamp(1.55rem, 3.6vw, 3.3rem);
  line-height: 1.28;
  font-weight: 500;
  letter-spacing: -0.015em;
  max-width: 24em;
}
.mission p.big .dim {
  color: var(--ink-30);
}
.mission__aside {
  margin-top: clamp(32px, 6vh, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gutter);
  max-width: 980px;
}
.mission__aside p {
  color: var(--ink-70);
  font-size: 0.98rem;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

/* ---- CBRN ------------------------------------------------------------------------ */

.cbrn__head {
  margin-top: clamp(36px, 7vh, 80px);
  margin-bottom: clamp(28px, 5vh, 56px);
  max-width: 30em;
  color: var(--ink-70);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
}
.cbrn__rows {
  border-top: 1px solid var(--line);
}
.cbrn-row {
  position: relative;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.cbrn-row__media {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 38%;
  width: 62%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.34;
  filter: grayscale(1) sepia(0.08) contrast(0.92);
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 24%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 24%, #000 88%, transparent 100%);
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out), transform 0.7s var(--ease-out);
}
.cbrn-row__top {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(70px, 160px) 1fr auto;
  align-items: center;
  gap: clamp(14px, 3vw, 40px);
  padding: clamp(10px, 2.4vh, 22px) 0;
  text-align: left;
}
.cbrn-row__top:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.cbrn-row__letter {
  font-family: var(--font-dot);
  font-weight: 700;
  font-size: clamp(3.4rem, 9vw, 7.6rem);
  line-height: 0.9;
  color: var(--ink);
  transition: color 0.35s;
}
.cbrn-row__name {
  font-size: clamp(1.15rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.cbrn-row__name .mono {
  display: block;
  color: var(--ink-50);
  margin-top: 6px;
}
.cbrn-row__toggle {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  position: relative;
  transition: background 0.3s, border-color 0.3s;
}
.cbrn-row__toggle::before,
.cbrn-row__toggle::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.35s var(--ease-out);
}
.cbrn-row__toggle::before {
  width: 13px;
  height: 1.5px;
}
.cbrn-row__toggle::after {
  width: 1.5px;
  height: 13px;
}
.cbrn-row__body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease-out);
}
.cbrn-row.is-open .cbrn-row__body {
  grid-template-rows: 1fr;
}
.cbrn-row__body > div {
  overflow: hidden;
}
.cbrn-row__content {
  display: grid;
  grid-template-columns: minmax(70px, 160px) 1fr;
  gap: clamp(14px, 3vw, 40px);
  padding-bottom: clamp(20px, 3.5vh, 36px);
}
.cbrn-row__content p {
  grid-column: 2;
  max-width: 40em;
  color: var(--ink-70);
  font-size: 0.98rem;
}
.cbrn-row.is-open .cbrn-row__letter {
  color: var(--accent);
}
.cbrn-row.is-open .cbrn-row__toggle {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.cbrn-row.is-open .cbrn-row__toggle::after {
  transform: rotate(90deg);
}
.cbrn-row:last-child .cbrn-row__letter {
  color: var(--accent);
}
.cbrn-row:hover .cbrn-row__media {
  opacity: 0.43;
  transform: scale(1.015);
}
.cbrn-row.is-open .cbrn-row__media {
  opacity: 0.26;
  transform: scale(1.015);
}
.cbrn-row__top:hover .cbrn-row__letter {
  color: var(--accent);
}

/* ---- Zakres działań (sticky) --------------------------------------------------------- */

.scope__grid {
  margin-top: clamp(36px, 7vh, 80px);
  display: grid;
  grid-template-columns: minmax(280px, 5fr) 7fr;
  gap: var(--gutter);
  align-items: start;
}
.scope__sticky {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.scope__sticky h2 {
  font-size: clamp(2rem, 4.4vw, 4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 9em;
}
.scope__sticky p {
  margin-top: 22px;
  color: var(--ink-70);
  max-width: 26em;
  font-size: 0.98rem;
}
.scope__list {
  display: flex;
  flex-direction: column;
}
.scope-item {
  border-top: 1px solid var(--line);
  padding: clamp(24px, 4vh, 40px) 0;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
}
.scope-item:last-child {
  border-bottom: 1px solid var(--line);
}
.scope-item .no {
  font-family: var(--font-dot);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent);
  padding-top: 4px;
}
.scope-item h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.scope-item p {
  margin-top: 12px;
  color: var(--ink-70);
  max-width: 36em;
  font-size: 0.98rem;
}
.scope-item .chips {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.scope-item .chips span {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 10px;
  color: var(--ink-50);
}

/* ---- Działania / fakty --------------------------------------------------------------- */

.acts__grid {
  margin-top: clamp(36px, 7vh, 80px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}
.acts__feature {
  grid-column: 1 / 8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--paper-2);
}
.acts__feature .mono {
  color: var(--accent);
}
.acts__feature h3 {
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.015em;
  max-width: 18em;
}
.acts__feature p {
  color: var(--ink-70);
  max-width: 40em;
  font-size: 0.98rem;
}
.acts__side {
  grid-column: 8 / 13;
  display: flex;
  flex-direction: column;
}
.acts__stat {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.acts__stat:last-child {
  border-bottom: 1px solid var(--line);
}
.acts__stat .val {
  font-family: var(--font-dot);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
}
.acts__stat .lbl {
  color: var(--ink-50);
  text-align: right;
  max-width: 14em;
}

/* ---- Zespół / dossier eksperta (ciemna) --------------------------------- */

.team {
  --team-line: rgba(244, 242, 238, 0.2);
  --team-muted: rgba(244, 242, 238, 0.68);
}
.mariusz-dossier {
  margin-top: clamp(28px, 5vh, 56px);
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  min-height: min(520px, 66vh);
  border: 1px solid var(--team-line);
}
.mariusz-dossier__photo {
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--team-line);
  border-radius: 0;
  background: var(--paper);
}
/* Zdjecie pozycjonowane absolutnie: wypelnia kolumne, ale nigdy nie
   wymusza wysokosci wiersza. Dzieki temu wysokosc karty wyznacza tekst,
   a zdjecie nie robi sie dluzsze niz tresc obok (bez pustych przestrzeni). */
.mariusz-dossier__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  filter: grayscale(1) contrast(1.04);
}
.mariusz-dossier__content {
  min-width: 0;
  padding: clamp(22px, 2.8vw, 42px);
  display: flex;
  flex-direction: column;
}
.mariusz-dossier__eyebrow {
  color: var(--accent);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mariusz-dossier__name {
  margin-top: 14px;
  font-size: clamp(2.6rem, 4.3vw, 4.6rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.055em;
}
.mariusz-dossier__role {
  margin-top: 16px;
  color: var(--team-muted);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}
.mariusz-dossier__thesis {
  margin-top: clamp(22px, 3vh, 34px);
  padding-top: clamp(18px, 2.4vh, 28px);
  border-top: 1px solid var(--team-line);
  max-width: 24ch;
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 2.1vw, 2.3rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
}
.mariusz-dossier__intro {
  margin-top: 16px;
  max-width: 64ch;
  color: var(--team-muted);
  font-size: 0.98rem;
}
.dossier-stats {
  margin-top: clamp(20px, 2.6vh, 30px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--team-line);
  border-left: 1px solid var(--team-line);
}
.dossier-stat {
  min-height: 96px;
  padding: 15px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--team-line);
  border-bottom: 1px solid var(--team-line);
}
.dossier-stat strong {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: clamp(1.7rem, 2.5vw, 2.7rem);
  font-weight: 500;
  line-height: 1;
}
.dossier-stat span {
  max-width: 24ch;
  color: var(--team-muted);
  font-size: 0.68rem;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.dossier-modules {
  margin-top: clamp(20px, 2.6vh, 30px);
}
.dossier-tabs {
  display: none;
  grid-template-columns: repeat(4, minmax(156px, 1fr));
  overflow-x: auto;
  border-top: 1px solid var(--team-line);
  border-left: 1px solid var(--team-line);
}
.mariusz-dossier.is-enhanced.is-tabs .dossier-tabs {
  display: grid;
}
.mariusz-dossier.is-tabs .dossier-module__trigger-slot {
  display: none;
}
.dossier-module__trigger-slot {
  display: block;
}
.dossier-module__trigger {
  width: 100%;
  min-height: 58px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-right: 1px solid var(--team-line);
  border-bottom: 1px solid var(--team-line);
  border-radius: 0;
  background: transparent;
  color: var(--team-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}
.dossier-module__trigger:hover,
.dossier-module__trigger.is-active {
  color: var(--paper);
}
.dossier-module__trigger.is-active .dossier-module__index {
  color: var(--accent);
}
.dossier-module__trigger:focus-visible {
  position: relative;
  z-index: 2;
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.dossier-module__index {
  color: var(--accent);
}
.dossier-module__panel {
  padding: clamp(22px, 3vw, 36px) 0 0;
  animation: dossier-panel-in 0.32s var(--ease-out) both;
}
.dossier-module__panel[hidden] {
  display: none;
}
.dossier-module__panel h3 {
  max-width: 28ch;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 500;
}
.dossier-module__panel > p,
.dossier-module__panel > ul:not(.dossier-links) {
  margin-top: 14px;
  max-width: 64ch;
  color: var(--team-muted);
}
.dossier-module__panel > ul:not(.dossier-links) {
  padding-left: 1.2em;
}
.dossier-module__panel > a {
  margin-top: 20px;
  display: inline-flex;
  gap: 8px;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}
.dossier-module__note {
  font-size: 0.72rem;
  line-height: 1.55;
}
.dossier-links {
  margin-top: 20px;
  list-style: none;
  border-top: 1px solid var(--team-line);
}
.dossier-links a {
  min-height: 72px;
  padding: 14px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 0.8fr) auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--team-line);
  color: var(--paper);
  text-decoration: none;
}
.dossier-links a span {
  color: var(--team-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}
.dossier-links a span:last-child {
  color: var(--accent);
}
.team__council {
  margin-top: clamp(56px, 9vh, 110px);
  padding-top: 20px;
  border-top: 1px solid var(--team-line);
}
.team__council-label {
  color: var(--accent);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.person--council {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  max-width: 980px;
}
.person__photo {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--team-line);
  border-radius: 0;
  background: var(--paper);
}
.person--council .person__photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(1);
}
.person__content {
  min-width: 0;
}
.person__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.person__meta h3 {
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  font-weight: 500;
}
.person__meta .mono {
  color: var(--accent);
  text-align: right;
}
.person__bio {
  margin-top: 18px;
  color: var(--team-muted);
  font-size: 0.95rem;
  max-width: 58em;
}
.person__tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.person__tags span {
  padding: 5px 9px;
  border: 1px solid var(--team-line);
  border-radius: 0;
  color: var(--team-muted);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.person__portfolio {
  margin-top: 20px;
  min-height: 44px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 14px;
  border: 1px solid var(--accent);
  border-radius: 0;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}
.person__portfolio:hover {
  background: var(--accent);
  color: var(--ink);
}
.person__portfolio:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
@keyframes dossier-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Kontakt / stopka --------------------------------------------------------------------- */

.contact {
  padding-bottom: 0;
}
.contact__cta {
  margin-top: clamp(36px, 7vh, 80px);
}
.contact__note {
  color: var(--ink-50);
  max-width: 34em;
  font-size: 1rem;
}

/* Dwa równorzędne bloki, po jednej osobie */
.contact__people {
  margin-top: clamp(40px, 6vh, 72px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.contact-card {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.contact-card__name {
  font-size: clamp(1.3rem, 2.3vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.contact-card__role {
  margin-top: 6px;
  color: var(--ink-50);
}
.contact-card__mail {
  display: inline-block;
  margin-top: 18px;
  font-size: clamp(1.35rem, 2.7vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  word-break: break-word;
  transition: color 0.3s;
}
.contact-card__mail:hover {
  color: var(--accent);
}
.contact-card__mail .arr {
  display: inline-block;
  transition: transform 0.35s var(--ease-out);
}
.contact-card__mail:hover .arr {
  transform: translate(0.08em, -0.08em);
}

/* Telefon, odsłaniany dopiero po kliknięciu (JS składa numer z data-tel) */
.phone {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  min-height: 42px;
}
.phone__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--ink-70);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 16px;
  transition: color 0.25s, border-color 0.25s;
}
.phone__toggle:hover,
.phone__toggle:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}
.phone__ico {
  transition: transform 0.25s var(--ease-out);
}
.phone__toggle:hover .phone__ico {
  transform: translateY(2px);
}
.phone.is-shown .phone__toggle {
  display: none;
}
.phone__slot {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.phone__num {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.25s;
}
.phone__num:hover {
  color: var(--accent);
}
.phone__copy {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--ink-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 11px;
  transition: color 0.25s, border-color 0.25s;
}
.phone__copy:hover,
.phone__copy:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}
.phone__copy.is-copied {
  color: var(--accent);
  border-color: var(--accent);
}

/* Wejście odsłoniętego numeru, tylko gdy ruch dozwolony */
@media (prefers-reduced-motion: no-preference) {
  .phone__slot {
    opacity: 0;
    transform: translateY(6px);
  }
  .phone.is-shown .phone__slot {
    opacity: 1;
    transform: none;
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  }
}

.footer {
  margin-top: clamp(56px, 10vh, 120px);
  border-top: 1px solid var(--line);
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--gutter);
  padding-block: clamp(32px, 5vh, 56px);
}
.footer__grid h4 {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-30);
  margin-bottom: 14px;
}
.footer__grid p,
.footer__grid a {
  font-size: 0.92rem;
  color: var(--ink-70);
  line-height: 1.7;
}
.footer__grid a:hover {
  color: var(--accent);
}
.footer__bottom {
  border-top: 1px solid var(--line);
  padding-block: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: space-between;
  color: var(--ink-30);
}

/* ---- Animacje (stany początkowe tylko gdy JS + motion OK) ---------------------------------- */

html.js-anim [data-reveal] {
  opacity: 0;
}
html.js-anim .person__photo img {
  opacity: 0;
}

/* ---- Zakładka „Informacje" + kontakt -------------------------------------- */

/* Lustro notcha „Papier", przyklejone do lewej-górnej krawędzi. JEDNA karta:
   nagłówek (.info__tab) to góra karty, panel (.info__panel) wyrasta z niej w dół.
   Materiał, border, cień, zaokrąglenie i fillety siedzą na .info, brak wewnętrznej
   „kreski". Szerokość animuje się między --info-w-collapsed a --info-w. */
.info {
  --fillet: 22px;
  --info-w: min(340px, 86vw);
  --info-w-collapsed: 11.5rem; /* kompaktowa plakietka „INFORMACJE" (etykieta stała, PL; luz na ikonę telefonu) */
  position: fixed;
  top: 0;
  left: 0;
  z-index: 101;
  width: var(--info-w-collapsed);
  background: #fff;
  border-right: 1px solid rgba(20, 20, 18, 0.2);
  border-bottom: 1px solid rgba(20, 20, 18, 0.2);
  border-bottom-right-radius: 26px;
  box-shadow: 0 14px 34px rgba(20, 20, 18, 0.08);
  /* stan bazowy = ZAMYKANIE: guzik (szerokość) kurczy się na końcu, po panelu */
  transition: width 0.3s var(--ease-out) 0.4s, box-shadow 0.3s var(--ease-out);
}
.info__tab {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  background: transparent;
  border: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-70);
  white-space: nowrap;
  transition: color 0.25s var(--ease-out);
}
.info__tab:hover { color: var(--ink); }
.info__tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Etykieta „rozbija się": część „ o fundacji" rozwija się z max-width (płynna
   zmiana szerokości zakładki bez magicznych pikseli). Wrapper jest relatywny,
   bo nad tekstem bazowym leży druga warstwa „Szybki kontakt" (morph menu). */
.info__label { position: relative; display: inline-flex; align-items: center; margin-right: auto; }
.info__label-text {
  display: inline-flex;
  align-items: baseline;
  /* stan bazowy = ZAMYKANIE menu: „Informacje" wraca tuż po zejściu „Szybki kontakt" */
  transition: opacity 0.22s var(--ease-out) 0.12s, transform 0.26s var(--ease-out) 0.12s;
}
.info__label-more {
  display: inline-block;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  /* ZAMYKANIE: etykieta skraca się razem z guzikiem (późno) */
  transition: max-width 0.28s var(--ease-out) 0.4s, opacity 0.2s var(--ease-out) 0.4s;
}

/* Druga warstwa etykiety, „Szybki kontakt". Spoczywa niewidoczna pod tekstem
   bazowym (rolka pionowa); wjeżdża, gdy otwarte menu mobilne (body.menu-locked). */
.info__label-quick {
  position: absolute;
  top: 50%;
  left: 0;
  white-space: nowrap;
  letter-spacing: 0.08em; /* ciaśniej niż zakładka, dłuższa fraza musi zmieścić się obok notcha MIDEB */
  opacity: 0;
  transform: translateY(calc(-50% + 9px));
  pointer-events: none;
  /* stan bazowy = ZAMYKANIE menu: „Szybki kontakt" gaśnie od razu */
  transition: opacity 0.16s var(--ease-out), transform 0.2s var(--ease-out);
}

/* Chevron, drobny wskaźnik stanu (obrót przy otwarciu) */
.info__chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
  transition: transform 0.4s var(--ease-out);
  opacity: 0.55;
}

/* Wklęsłe fillety, poziome odbicie notcha (oba: circle at 100% 100%). Siedzą na
   krawędziach JEDNEJ karty .info: górny przy prawej krawędzi (wędruje z szerokością),
   dolny przy lewej pod spodem (wędruje z dnem karty). */
.info::before,
.info::after {
  content: "";
  position: absolute;
  width: var(--fillet);
  height: var(--fillet);
  pointer-events: none;
  background: radial-gradient(
    circle at 100% 100%,
    rgba(0, 0, 0, 0) calc(var(--fillet) - 1.6px),
    rgba(20, 20, 18, 0.26) calc(var(--fillet) - 0.6px),
    #fff var(--fillet)
  );
}
.info::before { top: 0; left: 100%; }
.info::after { top: 100%; left: 0; }

/* Panel, ciało karty w przepływie pod nagłówkiem (część .info, bez własnego chrome).
   Rozwijanie trikiem grid-rows (jak akordeon CBRN). */
.info__panel {
  width: 100%;
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  /* stan bazowy = ZAMYKANIE: panel zwija się wcześnie (przed guzikiem) */
  transition: grid-template-rows 0.4s var(--ease-out) 0.06s, visibility 0s linear 0.46s;
}
.info__clip { overflow: hidden; }
.info__inner {
  padding: 18px 22px 22px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.16s var(--ease-out), transform 0.16s var(--ease-out);
}

/* Karta danych fundacji */
.info__org {
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--ink);
}
.info__org-label {
  display: block;
  color: var(--accent);
  margin-bottom: 6px;
}
.info__data {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--ink-50);
}
.info__more {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-70);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}
.info__more:hover { color: var(--accent); border-color: var(--accent); }

/* Kontakt w panelu, kompaktowe echo sekcji „Kontakt" */
.info__contact {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.info__contact-head {
  color: var(--ink-30);
  margin-bottom: 12px;
}
.info__person + .info__person { margin-top: 16px; }
.info__person-name { font-size: 0.9rem; font-weight: 500; }
.info__person-role {
  margin-top: 2px;
  font-size: 0.62rem;
  color: var(--ink-50);
}
.info__person-mail {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  word-break: break-word;
  transition: color 0.25s;
}
.info__person-mail:hover { color: var(--accent); }
.info__person-mail .arr {
  display: inline-block;
  transition: transform 0.35s var(--ease-out);
}
.info__person-mail:hover .arr { transform: translate(0.08em, -0.08em); }

/* Odsłaniany telefon w panelu, ciaśniejszy wariant globalnego .phone */
.info__contact .phone {
  margin-top: 8px;
  min-height: 30px;
  gap: 10px;
}
.info__contact .phone__toggle {
  font-size: 0.62rem;
  padding: 6px 10px;
}
.info__contact .phone__num { font-size: 0.95rem; }
.info__contact .phone__copy {
  font-size: 0.6rem;
  padding: 4px 8px;
}

/* Ikona telefonu na zakładce, sygnał, że w panelu jest kontakt */
.info__phone-ico {
  flex: none;
  width: 13px;
  height: 13px;
  color: var(--accent);
}
.info__phone-ico svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Otwarcie klasą .is-open (pin/nudge z JS), OTWIERANIE: guzik (szerokość) najpierw,
   potem panel, na końcu treść. */
.info.is-open {
  width: var(--info-w);
  box-shadow: 0 18px 40px rgba(20, 20, 18, 0.1);
  transition: width 0.3s var(--ease-out) 0s, box-shadow 0.3s var(--ease-out);
}
.info.is-open .info__panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.44s var(--ease-out) 0.22s, visibility 0s linear 0s;
}
.info.is-open .info__inner {
  opacity: 1;
  transform: none;
  transition: opacity 0.3s var(--ease-out) 0.36s, transform 0.3s var(--ease-out) 0.36s;
}
.info.is-open .info__label-more {
  max-width: 15ch;
  opacity: 1;
  transition: max-width 0.3s var(--ease-out) 0s, opacity 0.24s var(--ease-out) 0.06s;
}
.info.is-open .info__chevron { transform: translateY(2px) rotate(-135deg); }

/* ---- Morph przy otwartym menu mobilnym (body.menu-locked) ----
   Zakładka NIE znika pod kurtyną, zostaje nad nią (z-index 101 > menu 90),
   lustrzanie do notcha „MIDEB ✕", i zamienia się w szybki kontakt: etykieta
   roluje się pionowo z „Informacje" na „Szybki kontakt", karta lekko się
   poszerza. Tap otwiera zwykły panel kontaktowy, już leży nad ciemną kurtyną. */
body.menu-locked .info__label-text {
  opacity: 0;
  transform: translateY(-9px);
  /* OTWIERANIE menu: tekst bazowy ustępuje pierwszy */
  transition: opacity 0.18s var(--ease-out), transform 0.22s var(--ease-out);
}
body.menu-locked .info__label-quick {
  opacity: 1;
  transform: translateY(-50%);
  /* OTWIERANIE menu: „Szybki kontakt" wjeżdża, gdy kurtyna mija zakładkę */
  transition: opacity 0.28s var(--ease-out) 0.16s, transform 0.32s var(--ease-out) 0.16s;
}
body.menu-locked .info {
  /* luz na dłuższą etykietę, ale z zachowaniem ciemnej szczeliny do notcha MIDEB */
  --info-w-collapsed: 12rem;
}
/* Bardzo wąskie ekrany: fraza w drobniejszym stopniu, karta nie rośnie wcale */
@media (max-width: 359px) {
  .dossier-stats {
    grid-template-columns: 1fr;
  }
  .info__label-quick { font-size: 0.62rem; }
  body.menu-locked .info { --info-w-collapsed: 11rem; }
}
/* Poszerzenie plakietki w rytmie kurtyny (bazowe 0.4s opóźnienia czekałoby za długo);
   przy otwartym panelu (.is-open) priorytet ma jego własna, natychmiastowa sekwencja. */
body.menu-locked .info:not(.is-open) {
  transition: width 0.32s var(--ease-out) 0.1s, box-shadow 0.3s var(--ease-out);
}

/* Peek na hover/fokus, tylko urządzenia z hoverem (na dotyku otwiera tap = .is-open).
   Ta sama sekwencja OTWIERANIA co przy .is-open. */
@media (hover: hover) {
  .info:hover,
  .info:focus-within {
    width: var(--info-w);
    box-shadow: 0 18px 40px rgba(20, 20, 18, 0.1);
    transition: width 0.3s var(--ease-out) 0s, box-shadow 0.3s var(--ease-out);
  }
  .info:hover .info__panel,
  .info:focus-within .info__panel {
    grid-template-rows: 1fr;
    visibility: visible;
    transition: grid-template-rows 0.44s var(--ease-out) 0.22s, visibility 0s linear 0s;
  }
  .info:hover .info__inner,
  .info:focus-within .info__inner {
    opacity: 1;
    transform: none;
    transition: opacity 0.3s var(--ease-out) 0.36s, transform 0.3s var(--ease-out) 0.36s;
  }
  .info:hover .info__label-more,
  .info:focus-within .info__label-more {
    max-width: 15ch;
    opacity: 1;
    transition: max-width 0.3s var(--ease-out) 0s, opacity 0.24s var(--ease-out) 0.06s;
  }
  .info:hover .info__chevron,
  .info:focus-within .info__chevron { transform: translateY(2px) rotate(-135deg); }
}

/* ---- Strzała scroll: Informacje → Misja --------------------------------- */

.scroll-arrow {
  --scroll-arrow-x: 0px;
  --scroll-arrow-guide-top: 56px;
  --scroll-arrow-guide-height: 0px;
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.2s var(--ease-out);
}
.scroll-arrow::before {
  content: "";
  position: absolute;
  top: var(--scroll-arrow-guide-top);
  left: var(--scroll-arrow-x);
  width: 0;
  height: var(--scroll-arrow-guide-height);
  border-left: 1px dashed var(--line);
  transform: translateX(-0.5px);
  opacity: 0.65;
  transition: opacity 0.16s linear;
}
.scroll-arrow__flight {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  width: 28px;
  height: 74px;
  overflow: visible;
  will-change: transform, opacity;
}
html.js-anim .scroll-arrow__flight { display: block; }
.scroll-arrow__shaft,
.scroll-arrow__fletching,
.mission-target__shaft,
.mission-target__fletching {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.scroll-arrow__tip,
.mission-target__tip {
  fill: var(--accent);
}
.scroll-arrow.is-hit::before,
.scroll-arrow.is-hit .scroll-arrow__flight {
  opacity: 0;
}
body.menu-locked .scroll-arrow { opacity: 0; }

.mission {
  position: relative;
  --mission-label-rail-indent: max(0px, calc(42px - var(--gutter) / 2));
}
.mission > .sec-label {
  padding-left: var(--mission-label-rail-indent);
}
.mission-target {
  position: absolute;
  top: clamp(112px, 15vh, 164px);
  left: var(--mission-target-x, calc(var(--gutter) / 2));
  z-index: 1;
  width: 64px;
  height: 64px;
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.mission-target__reticle {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.mission-target__ring,
.mission-target__axes,
.mission-target__pulse {
  fill: none;
}
.mission-target__ring--outer {
  stroke: var(--ink-50);
  stroke-width: 1;
}
.mission-target__ring--inner {
  stroke: var(--ink-70);
  stroke-width: 1.2;
}
.mission-target__axes {
  stroke: var(--ink-30);
  stroke-width: 0.8;
}
.mission-target__center { fill: var(--accent); }
.mission-target__pulse {
  stroke: var(--accent);
  stroke-width: 1.4;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.mission-target__arrow {
  position: absolute;
  left: 50%;
  bottom: calc(50% - 3.5px);
  width: 28px;
  height: 74px;
  overflow: visible;
  opacity: 1;
  transform: translateX(-50%);
}
html.js-anim .mission-target__arrow { opacity: 0; }
html.js-anim .mission-target.is-hit .mission-target__arrow { opacity: 1; }

@keyframes mission-target-impact {
  0% { opacity: 0; transform: scale(0.7); }
  28% { opacity: 0.7; }
  100% { opacity: 0; transform: scale(1.55); }
}
.mission-target.is-hit:not(.is-instant) .mission-target__pulse {
  animation: mission-target-impact 0.62s var(--ease-out) both;
}

/* ---- Responsywność --------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__burger {
    display: flex;
  }
  .nav__notch {
    --fillet: 18px;
    height: 52px;
    gap: 16px;
    padding: 0 20px;
    border-bottom-left-radius: 22px;
  }
  /* Na mobile w notchu jest tylko brand + burger, bez pionowej kreski */
  .nav__brand {
    padding-right: 0;
    border-right: 0;
  }
  .info {
    --fillet: 18px;
    --info-w: min(360px, 92vw);
    --info-w-collapsed: 11rem;
    border-bottom-right-radius: 22px;
  }
  .info__tab {
    height: 52px;
    padding: 0 18px;
    gap: 10px;
  }
  /* Na dotyku panel otwiera tylko tap (klasa .is-open); peek z @media(hover) nie działa.
     Przy otwartym menu zakładka zostaje nad kurtyną jako „Szybki kontakt",
     morph opisany przy body.menu-locked w sekcji zakładki. */
  /* Układ mobilny: zakładka Informacje dochodzi do krawędzi ekranu i lewa
     szyna znika, więc strzała scroll nie ma toru, a celownik lądowałby obcięty
     na krawędzi. Chowamy całą kompozycję, etykieta Misji wraca do linii treści. */
  .scroll-arrow,
  .mission-target { display: none; }
  .mission { --mission-label-rail-indent: 0px; }
  /* Podtytuł hero wraca do flow pod nagłówkiem, szczelina obok „WIEDZA,"
     istnieje tylko na szerokich ekranach */
  .hero__sub {
    position: static;
    width: auto;
    max-width: 30em;
    margin-top: clamp(24px, 4vh, 44px);
  }
  .hero__visual {
    right: -2vw;
    bottom: -1vh;
    width: min(116vw, 960px);
    opacity: 0.44;
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, #000 34%),
      linear-gradient(to bottom, transparent 0%, #000 20%);
    mask-image:
      linear-gradient(to right, transparent 0%, #000 34%),
      linear-gradient(to bottom, transparent 0%, #000 20%);
  }
  .cbrn-row__media {
    inset: 0 0 0 30%;
    width: 70%;
    opacity: 0.22;
  }
  .cbrn-row:hover .cbrn-row__media,
  .cbrn-row.is-open .cbrn-row__media {
    opacity: 0.26;
  }
  .scope__grid {
    grid-template-columns: 1fr;
  }
  .scope__sticky {
    position: static;
  }
  .acts__feature {
    grid-column: 1 / 13;
  }
  .acts__side {
    grid-column: 1 / 13;
  }
  .mariusz-dossier {
    grid-template-columns: minmax(0, 35fr) minmax(0, 65fr);
  }
  .mariusz-dossier__content {
    padding: clamp(24px, 4vw, 42px);
  }
}

@media (max-width: 767px) {
  .mariusz-dossier {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .mariusz-dossier__photo {
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-right: 0;
    border-bottom: 1px solid var(--team-line);
  }
  .mariusz-dossier__photo img {
    object-position: 50% 18%;
  }
  .mariusz-dossier__name {
    font-size: clamp(2.8rem, 14vw, 5rem);
  }
  .dossier-tabs {
    display: none !important;
  }
  .dossier-module {
    border-top: 1px solid var(--team-line);
  }
  .dossier-module__trigger-slot {
    display: block;
  }
  .dossier-module__trigger {
    min-height: 56px;
    padding-inline: 0;
    border-right: 0;
  }
  .dossier-module__panel {
    padding: 22px 0 28px;
  }
  .dossier-links a {
    grid-template-columns: 1fr auto;
  }
  .dossier-links a span:not(:last-child) {
    grid-column: 1;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .mariusz-dossier__content {
    padding: 24px 20px 30px;
  }
  .dossier-stat {
    min-height: 118px;
    padding: 15px;
  }
  .person--council {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .person--council .person__photo {
    max-width: 220px;
  }
  .person__portfolio {
    width: 100%;
  }
  .person__meta {
    display: block;
  }
  .person__meta .mono {
    margin-top: 8px;
    text-align: left;
  }

  /* Hero na telefonie: zdjęcie jako wyrazisty pas pełnej szerokości
     przyklejony do dołu, treść u góry, dane mono tuż nad pasem.
     Pas wyrasta z papieru: wtopiona jest tylko górna krawędź. */
  .hero {
    --hero-band: clamp(210px, 36svh, 330px);
  }
  /* Wersaliki afisza na telefonie: monumentalny afisz sięgający krawędzi
     kolumny, „WIEDZA," i „CHRONI." niemal na całą szerokość */
  .hero h1 {
    font-size: clamp(4rem, 23vw, 7.5rem);
    line-height: 0.9;
    letter-spacing: -0.04em;
  }
  .hero__visual {
    inset: auto 0 0;
    width: 100%;
    height: var(--hero-band);
    object-fit: cover;
    object-position: 84% 50%;
    opacity: 0.64;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 26%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 26%);
  }
  .hero__inner {
    /* dane mono schodzą w wyblakłą (górną) część pasa, zamyka to lukę
       między metryczką a respiratorem, nie zasłaniając samego zdjęcia */
    padding-bottom: calc(var(--hero-band) * 0.6);
  }
  .cbrn-row__top {
    grid-template-columns: minmax(54px, 76px) 1fr auto;
  }
  .cbrn-row__media {
    inset: 0 0 0 16%;
    width: 84%;
    opacity: 0.14;
    object-position: 58% center;
  }
  .cbrn-row:hover .cbrn-row__media,
  .cbrn-row.is-open .cbrn-row__media {
    opacity: 0.18;
  }
  .cbrn-row__content {
    grid-template-columns: 1fr;
  }
  .cbrn-row__content p {
    grid-column: 1;
  }
  .scope-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ---- Reduced motion --------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  /* Menu: bez kaskady i opóźnionego chowania, czysty snap */
  .menu,
  .menu nav a,
  .menu.is-open nav a,
  .menu__meta,
  .menu.is-open .menu__meta {
    transition-delay: 0s !important;
  }
  .menu__signal-arrow {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
  .info,
  .info__label-more,
  .info__label-text,
  .info__label-quick,
  .info__tab,
  .info__inner,
  .info__chevron,
  .info__panel {
    transition: none !important;
  }
  .scroll-arrow { display: none !important; }
  .mission-target__arrow {
    opacity: 1 !important;
    transition: none !important;
  }
  .mission-target__pulse { animation: none !important; }
  .dossier-module__panel {
    animation: none !important;
  }
}
