/* =========================================================
   FILMMAKER PICTURES  —  arkusz stylow (wersja RED / BLACK / WHITE)
   Surowy, plakatowy klimat: czern, czerwien, off-white, ziarno.
   Kolory zmieniasz w sekcji :root ponizej.
   ========================================================= */

/* ---------- TWOJA CZCIONKA: HANSON (naglowki, menu, przyciski) ----------
   Wrzuc plik do folderu /fonts. Najlepiej .woff2, ale .ttf lub .otf tez zadziala.
   Zostaw ktory masz, nazwe dopasuj do jednej z ponizszych.                  */
@font-face {
  font-family: "Hanson";
  src: url("../fonts/Hanson-Bold.woff2") format("woff2"),
       url("../fonts/Hanson-Bold.woff")  format("woff"),
       url("../fonts/Hanson-Bold.ttf")   format("truetype"),
       url("../fonts/Hanson-Bold.otf")   format("opentype");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
/* Gloria Hallelujah i Montserrat wczytywane sa z Google Fonts w <head> stron.
   Montserrat jest tez fallbackiem pod Hansona dla polskich znakow. */

/* ---------- ZMIENNE ---------- */
:root {
  --black:  #000000;
  --red:    #e92e2b;
  --red-dk: #b21f1c;
  --paper:  #dee0e1;

  --bg:      #000000;
  --bg-2:    #0b0b0c;   /* delikatnie odbite tlo sekcji */
  --surface: #141416;   /* kafelki */
  --text:    #dee0e1;
  --text-dim: rgba(222,224,225,.60);
  --line:    rgba(222,224,225,.14);

  --font-display: "Hanson", "Montserrat", "Arial Black", sans-serif;
  --font-anton:   "Anton", "Montserrat", sans-serif;
  --font-hand:    "Gloria Hallelujah", "Montserrat", cursive;
  --font-body:    "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --maxw: 1240px;
  --gap: 20px;
  --nav-h: 74px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ---------- ZIARNO / FILM GRAIN (subtelna nakladka VHS) ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9997;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- UKLAD ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(60px, 9vw, 120px); position: relative; }
.section--paper { background: var(--paper); color: var(--black); }

/* eyebrow, pisane recznie (Gloria), duze litery */
.eyebrow {
  font-family: var(--font-hand);
  font-size: 1.36rem;      /* +~30%, spojnie wszedzie */
  color: var(--red);
  margin-bottom: 10px;
  transform: rotate(-2deg);
  display: inline-block;
  text-transform: uppercase;
}
.section--paper .eyebrow { color: var(--red); }

.h-display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: .92;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(2.4rem, 8vw, 5rem);
  position: relative;
}

/* blok tytulu: duzy naglowek + odreczny akcent (Gloria) wchodzacy
   na dol napisu, na wierzchu. Uzywany zamiast osobnego eyebrow nad tytulem. */
.title-block {
  position: relative;
  display: inline-block;
  margin-bottom: clamp(30px, 4vw, 54px);
}
.title-block .section-title { margin-bottom: 0; }
.title-block .eyebrow {
  position: absolute;
  right: 4px;
  bottom: -.16em;
  z-index: 3;
  margin: 0;
  white-space: nowrap;
  transform: rotate(-3deg);
  pointer-events: none;
}

/* ---------- NAWIGACJA ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 24px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
/* logo, na starcie po lewej (tylko znak, bez tekstu) */
.nav__logo {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  transition: left .35s cubic-bezier(.6,0,.2,1), transform .35s cubic-bezier(.6,0,.2,1);
}
.nav__logo img { height: 42px; width: auto; }

/* linki, na starcie na srodku, na przezroczystym tle */
.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  transition: opacity .25s ease, visibility .25s ease;
}
.nav__links a {
  font-family: var(--font-display);
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  padding: 4px 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -4px; height: 3px;
  background: var(--red);
  transition: right .2s ease;
}
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { right: 0; }

/* PO SKROLOWANIU: czarny pasek, logo skacze na srodek, linki znikaja */
.nav.is-scrolled {
  background: var(--black);
  border-bottom: 1px solid var(--line);
}
.nav.is-scrolled .nav__logo {
  left: 50%;
  transform: translate(-50%, -50%);
}
.nav.is-scrolled .nav__links {
  opacity: 0;
  visibility: hidden;
}
/* najedz na pasek gdy jest zwiniety, a linki wracaja (nawigacja caly czas dostepna) */
@media (hover: hover) {
  .nav.is-scrolled:hover .nav__logo { left: 24px; transform: translateY(-50%); }
  .nav.is-scrolled:hover .nav__links { opacity: 1; visibility: visible; }
}

.nav__toggle {
  display: none;
  position: absolute;
  right: 24px; top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 2px solid var(--paper);
  color: var(--paper);
  width: 46px; height: 42px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* ---------- PRZYCISKI (ostre, plakatowe) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-anton);
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 16px 30px;
  border: 2px solid var(--red);
  background: var(--red);
  color: var(--black);
  cursor: pointer;
  border-radius: 7px;      /* prostokat z lekko zaokraglonymi rogami, jak logo */
  transition: background .18s ease, color .18s ease, transform .15s ease;
}
.btn:hover { background: transparent; color: var(--red); transform: translate(-2px,-2px); }
.btn--ghost {
  background: transparent;
  border-color: var(--paper);
  color: var(--paper);
}
.btn--ghost:hover { background: var(--paper); color: var(--black); border-color: var(--paper); }
.btn--onpaper { border-color: var(--black); background: var(--black); color: var(--paper); }
.btn--onpaper:hover { background: transparent; color: var(--black); }

/* ---------- HERO z tlem wideo ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  padding: 100px 24px 80px;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::after { /* przyciemnienie wideo + czerwony dust na wierzchu (jak w cardid) */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    url("../img/dust_01.svg") repeat,
    linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.35) 40%, rgba(0,0,0,.85)),
    radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(0,0,0,.6));
}
.hero__inner { max-width: 900px; }
.hero__kicker {
  font-family: var(--font-hand);
  color: var(--red);
  font-size: 1.15rem;
  margin-bottom: 12px;
  transform: rotate(-2deg);
}
.hero__title {
  font-size: clamp(3.2rem, 13vw, 9rem);
  line-height: .88;
  margin-bottom: 22px;
  text-shadow: 0 6px 40px rgba(0,0,0,.6);
}
.hero__tagline { color: var(--paper); font-size: clamp(1rem, 2.4vw, 1.3rem); margin-bottom: 40px; }
.hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.scroll-hint {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  color: var(--paper);
  font-size: .72rem; letter-spacing: .35em;
  animation: floaty 2.2s ease-in-out infinite;
}
@keyframes floaty { 0%,100%{ transform: translateX(-50%) translateY(0);} 50%{ transform: translateX(-50%) translateY(7px);} }

/* ---------- PASEK PRZEWIJANY (ticker, sygnatura) ---------- */
.ticker {
  background: var(--red);
  color: var(--black);
  overflow: hidden;
  white-space: nowrap;
  border-block: 3px solid var(--black);
  padding-block: 12px;
}
.ticker__track {
  display: inline-flex;
  align-items: center;          /* pionowe wysrodkowanie x wzgledem tekstu */
  white-space: nowrap;
  animation: ticker 26s linear infinite;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  will-change: transform;
}
.ticker__item { padding-inline: 22px; }
.ticker__x {
  font-size: .7em;
  opacity: .65;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
@keyframes ticker { from { transform: translateX(0);} to { transform: translateX(-50%);} }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ---------- SIATKA PRAC ---------- */
.grid { display: grid; gap: var(--gap); grid-template-columns: repeat(3, 1fr); }
.grid--large { grid-template-columns: repeat(4, 1fr); }

.tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--surface);
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 0;
  transition: transform .25s ease, border-color .2s ease;
}
.tile:hover { transform: translateY(-4px); border-color: var(--red); }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s ease; }
.tile img { filter: grayscale(.2); }
.tile:hover img, .tile:hover video { transform: scale(1.06); filter: none; }
.tile__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(0,0,0,.85), transparent 55%);
  opacity: 0;
  transition: opacity .25s ease;
}
.tile:hover .tile__overlay { opacity: 1; }
.tile__title { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .03em; text-transform: uppercase; color: var(--paper); }
.tile__play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(.8);
  width: 66px; height: 66px;
  background: var(--red);
  display: grid; place-items: center;
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
  clip-path: polygon(0 0, 100% 0, 100% 75%, 75% 100%, 0 100%);
}
.tile:hover .tile__play { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.tile__play svg { width: 26px; height: 26px; fill: #000; margin-left: 3px; }

/* ---------- O MNIE ---------- */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px,5vw,54px); align-items: end; }
.about__text { align-self: center; }
.about__text p.body { color: var(--text-dim); max-width: 48ch; }
/* O MNIE na jasnym tle (jak sekcja brief): ciemny tekst */
.section--paper .about__text p.body { color: #333; }
.section--paper.about, .section--paper .about { color: var(--black); }
/* O MNIE: mniej pustki nad zdjeciem (skrocone gorne wciecie sekcji) */
#o-mnie { padding-top: clamp(24px, 3vw, 40px); }
/* zdjecie jako wyciete PNG (alfa), bez ramki i kontenera, stoi na tle */
.about__photo { position: relative; align-self: end; text-align: right; min-height: 340px; margin-bottom: calc(-1 * clamp(60px, 9vw, 120px)); }
.about__photo img {
  display: inline-block;
  max-height: min(92vh, 900px);
  width: auto;
  border: 0;
  display: block;
  margin-left: auto;        /* trzyma zdjecie przy prawej, znosi baseline pod obrazkiem */
  vertical-align: bottom;
  filter: grayscale(1) contrast(1.05);
}

/* ---------- SOCIAL ---------- */
.social-row { display: flex; flex-wrap: wrap; gap: 14px; }
/* na paralaksie socjale i tytul wysrodkowane wzgledem srodka strony */
.parallax .title-block { display: inline-block; }
.parallax .social-row { justify-content: center; }
/* przyciski socjali uzywaja spojnego stylu .btn (jak w downloads) */

/* ---------- PARALLAX ---------- */
.parallax {
  position: relative;
  min-height: 62vh;
  background-image: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.62)), url("../img/paralaxa_01.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;   /* efekt paralaksy */
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 24px;
  border-block: 3px solid var(--red);
}
.parallax__quote {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3.4rem);
  text-transform: uppercase;
  max-width: 16ch;
  line-height: 1.02;
  text-shadow: 0 4px 30px rgba(0,0,0,.7);
}

/* ---------- BRIEF (sekcja CTA na jasnym tle) ---------- */
.brief-cta { text-align: center; }
.brief-cta h2 { font-family: var(--font-display); font-size: clamp(2rem,6vw,3.6rem); text-transform: uppercase; line-height: .95; margin-bottom: 14px; }
.brief-cta p { max-width: 52ch; margin: 0 auto 28px; }

/* ---------- KONTAKT ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,60px); align-items: start; }
.contact__lines { display: grid; gap: 12px; margin-bottom: 20px; }
.contact__line { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; font-family: var(--font-display); letter-spacing: .02em; }
.contact__line svg { width: 24px; height: 24px; fill: var(--red); flex: none; }
/* zdjecie w kontakcie tak samo jak w O MNIE: wyciete PNG bez kontenera */
.contact__photo { position: relative; text-align: right; align-self: stretch; min-height: 360px; }
.contact__photo img { display: inline-block; max-height: 840px; width: auto; max-width: 100%; border: 0; border-radius: 4px; filter: grayscale(1) contrast(1.05); }
.contact__photo video { position: absolute; top: 0; right: 0; height: 100%; width: auto; aspect-ratio: 306 / 540; max-width: 100%; object-fit: cover; border: 0; border-radius: 4px; filter: grayscale(1) contrast(1.05); }
.contact__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 18px 0;
  font-family: var(--font-anton);
  font-size: 1.05rem; letter-spacing: .02em; text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.5rem; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p, .faq ul { color: var(--text-dim); padding: 0 0 18px; max-width: 62ch; }
.faq ul { padding-left: 20px; }
.faq li { margin-bottom: 6px; }

/* ---------- PODSTRONA: naglowek ---------- */
.page-head { padding: calc(var(--nav-h) + 40px) 0 0; text-align: center; }
.page-head p { color: var(--text-dim); max-width: 60ch; margin-inline: auto; }
.page-head .section-title::before { display: none; }

/* ---------- DO POBRANIA ---------- */
.dl-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(2, 1fr); }
.dl-card {
  background: var(--surface);
  border: 2px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease;
}
.dl-card:hover { transform: translateY(-4px); border-color: var(--red); }
.dl-card__media { aspect-ratio: 16/10; overflow: hidden; background: #0d0d0f; }
.dl-card__media img, .dl-card__media video { width: 100%; height: 100%; object-fit: cover; }
.dl-card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.dl-card__tag {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: .68rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--black); background: var(--red);
  padding: 5px 12px;
}
.dl-card__title { font-family: var(--font-display); font-size: 1.3rem; text-transform: uppercase; }
.dl-card__desc { color: var(--text-dim); font-size: .95rem; flex: 1; }
.dl-card__meta { color: var(--text-dim); font-size: .78rem; letter-spacing: .04em; font-family: var(--font-display); }
.dl-card .btn { align-self: center; margin-top: 6px; }

/* ---------- MODAL WIDEO ---------- */
.modal {
  position: fixed; inset: 0; z-index: 2000;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,.94);
  opacity: 0; transition: opacity .25s ease;
}
.modal.is-open { display: flex; opacity: 1; }
.modal__inner { position: relative; width: min(84vw, calc(80vh * 16 / 9)); aspect-ratio: 16/9; transform: scale(.96); transition: transform .25s ease; }
.modal__frame { width: 100%; height: 100%; }
.modal.is-open .modal__inner { transform: scale(1); }
.modal__inner iframe { width: 100%; height: 100%; border: 0; border-radius: 4px; }
.modal__title { position: absolute; top: -42px; left: 0; font-family: var(--font-display); font-size: 1.1rem; text-transform: uppercase; letter-spacing: .03em; }
.modal__close {
  position: absolute; top: -48px; right: 0;
  width: 42px; height: 42px;
  border: 2px solid var(--paper);
  background: transparent; color: var(--paper);
  font-size: 1.4rem; cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.modal__close:hover { background: var(--red); border-color: var(--red); color: #000; }
body.no-scroll { overflow: hidden; }

/* brief: honeypot (ukryty), status wysylki, potwierdzenie */
.brief__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.brief__status { margin-top: 12px; font-size: .9rem; font-weight: 700; min-height: 1em; }
.brief__done { padding: 24px 0; font-size: 1.15rem; font-weight: 600; color: #1a1a1a; }
.brief__rodo { margin-top: 14px; font-size: .78rem; line-height: 1.5; color: #555; }
.brief__rodo a { color: #1a1a1a; text-decoration: underline; }

/* ---------- MODAL BRIEF ---------- */
.brief {
  position: fixed; inset: 0; z-index: 2100;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,.9);
  opacity: 0; transition: opacity .25s ease;
}
.brief.is-open { display: flex; opacity: 1; }
.brief__panel {
  position: relative;
  width: min(680px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--paper);
  color: var(--black);
  padding: clamp(26px, 5vw, 46px);
  border: 3px solid var(--red);
  transform: translateY(14px);
  transition: transform .25s ease;
}
.brief.is-open .brief__panel { transform: none; }
.brief__close {
  position: absolute; top: 14px; right: 14px;
  width: 40px; height: 40px;
  border: 2px solid var(--black); background: transparent; color: var(--black);
  font-size: 1.3rem; cursor: pointer;
}
.brief__close:hover { background: var(--red); border-color: var(--red); color: #fff; }
.brief h2 { font-family: var(--font-display); font-size: clamp(1.8rem,5vw,2.6rem); text-transform: uppercase; line-height: .95; margin-bottom: 6px; }
.brief__sub { color: #333; margin-bottom: 22px; }
.brief__field { margin-bottom: 18px; }
.brief__field label { display: block; font-family: var(--font-anton); font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 8px; }
.brief__field input,
.brief__field textarea,
.brief__field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 2px solid var(--black);
  background: #fff;
  color: #000;
  border-radius: 0;
}
.brief__field textarea { min-height: 96px; resize: vertical; }
.brief__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.brief__chip {
  font-family: var(--font-anton);
  font-size: .8rem; letter-spacing: .04em; text-transform: uppercase;
  padding: 9px 14px;
  border: 2px solid var(--black);
  background: #fff; color: #000;
  cursor: pointer;
  user-select: none;
}
.brief__chip.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.brief__actions { display: flex; gap: 12px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.brief__note { font-size: .78rem; color: #555; }

/* ---------- STOPKA ---------- */
.footer { border-top: 3px solid var(--red); padding: 26px 24px 40px; text-align: center; color: var(--text-dim); }
.footer img { width: 52px; margin: 0 auto 16px; }
.footer__nav { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.footer__nav a { font-family: var(--font-display); font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; color: var(--text-dim); }
.footer__nav a:hover { color: var(--red); }
.footer small { font-size: .78rem; letter-spacing: .04em; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- RESPONSYWNOSC ---------- */
@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(2,1fr); }
  .grid--large { grid-template-columns: repeat(3,1fr); }
  .about, .contact { grid-template-columns: 1fr; }
  .about__photo { order: 2; margin-bottom: calc(-1 * clamp(60px, 9vw, 120px)); }  /* stopy do czerwonej linii, bez luki */
  .about__photo, .contact__photo { text-align: center; min-height: 0; align-self: auto; }
  .about__photo img { max-height: min(62vh, 540px); margin: 0 auto; }   /* wysrodkowane, bez pustki */
  .contact__photo img { max-height: 460px; }
  .contact__photo video { position: static; height: min(64vh, 560px); margin: 0 auto; }
}
@media (max-width: 680px) {
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--black);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 18px;
    display: none;
  }
  .nav__links.is-open { display: flex; opacity: 1; visibility: visible; }
  /* menu musi sie otworzyc takze po zescrollowaniu (bije regule .is-scrolled) */
  .nav.is-scrolled .nav__links.is-open { display: flex; opacity: 1; visibility: visible; }
  .nav__links a { padding: 13px 0; width: 100%; }
  .nav__toggle { display: block; }
  .nav.is-scrolled .nav__logo { left: 24px; transform: translateY(-50%); } /* na mobile logo zostaje po lewej */
  .grid, .grid--large { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .parallax { background-attachment: scroll; } /* fixed jest janky na mobile */

  /* eyebrowsy: na mobile lekko nachodza na naglowek (jak w briefie), mniejsze, mieszcza sie */
  .title-block { display: block; }
  .title-block .eyebrow,
  .brief-cta .title-block .eyebrow,
  .parallax .title-block .eyebrow {
    position: static;
    right: auto; bottom: auto;
    display: inline-block;
    margin-top: -2.2em;
    font-size: 1rem;
    white-space: normal;
    transform: rotate(-3deg);
  }

  /* O MNIE: wieksza sylwetka na mobile */
  .about__photo img { max-height: min(72vh, 640px); }

  /* stopka: ciasniej, ale ze smakiem */
  .footer { padding: 20px 24px 18px; }
  .footer img { margin: 0 auto 8px; }
  .footer__nav { gap: 8px 18px; margin-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .parallax { background-attachment: scroll; }
}

a:focus-visible, button:focus-visible, summary:focus-visible, .tile:focus-visible {
  outline: 3px solid var(--red); outline-offset: 3px;
}

/* =========================================================
   DODATKI: dust, grafiki miedzy sekcjami, sloty portfolio,
   karty download (2 kolumny), akcent w sekcji brief
   ========================================================= */

/* --- rzadki dust / noise w tle sekcji (wideo, kontakt) --- */
.has-dust { position: relative; }
.has-dust > * { position: relative; z-index: 1; }
.has-dust::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("../img/dust_01.svg") repeat;
  background-size: 720px auto;
  opacity: .38;            /* rzadko, dla klimatu; drobinki w czerwieni marki */
}

/* --- pasek graficzny miedzy sekcjami (opcjonalny, obecnie nieuzywany w markupie) --- */
.gfx-band {
  position: relative;
  height: clamp(160px, 24vw, 300px);
  overflow: hidden;
  background: #000;
}
.gfx-band img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .5;
  filter: grayscale(1) contrast(1.1);
}
.gfx-band::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.7));
}

/* --- akcent Gloria pod naglowkiem w sekcji brief (jak w zalaczniku) --- */
.brief-cta .title-block { display: inline-block; }
.brief-cta .title-block h2 { margin-bottom: 0; }
.brief-cta .title-block .eyebrow {
  position: absolute;
  right: 0; bottom: -.22em;
  z-index: 3; margin: 0;
  white-space: nowrap;
  transform: rotate(-3deg);
  color: var(--red);
}

/* --- karty download przy 2 kolumnach: bardziej oddechu --- */
.dl-card__body { padding: 24px; gap: 12px; }
.dl-card__title { font-size: 1.35rem; }
.dl-card__desc { font-size: .96rem; }
.dl-card__tutorial {
  font-family: var(--font-body);
  font-size: .8rem;
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 3px;
  align-self: center;
}
.dl-card__tutorial:hover { color: var(--red); }

/* --- puste sloty w portfolio (16 miejsc na filmy) --- */
.tile--empty {
  border: 2px dashed var(--line);
  background: repeating-linear-gradient(45deg, #0d0d0f, #0d0d0f 10px, #101012 10px, #101012 20px);
  display: grid;
  place-items: center;
  cursor: default;
}
.tile--empty:hover { transform: none; border-color: var(--line); }
.tile--empty span {
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .06em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* =========================================================
   Stopka: linki prawne (rozmiar jak copyright)
   ========================================================= */
.footer__legal { display: block; margin-bottom: 6px; font-size: .78rem; letter-spacing: .04em; color: var(--text-dim); }
.footer__legal a,
.footer__cookies { color: var(--text-dim); text-decoration: underline; text-underline-offset: 2px; }
.footer__cookies { background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; cursor: pointer; }
.footer__legal a:hover,
.footer__cookies:hover { color: var(--red); }
.footer__sep { margin: 0 8px; opacity: .5; }

/* =========================================================
   Podstrona prawna (polityka prywatnosci)
   ========================================================= */
.legal__body { max-width: 820px; margin: 0 auto; color: var(--text-dim); }
.legal .section-title { font-family: var(--font-anton); }   /* Anton, zeby polskie znaki w naglowku nie krzaczyly */
.legal__lead { font-size: 1.05rem; color: var(--paper); margin-bottom: 32px; line-height: 1.7; }
.legal__body h2 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .02em; font-size: 1.15rem; color: var(--paper); margin: 36px 0 12px; }
.legal__body p { line-height: 1.75; margin-bottom: 14px; }
.legal__body ul { margin: 0 0 18px 20px; }
.legal__body li { line-height: 1.7; margin-bottom: 8px; }
.legal__body a { color: var(--red); text-decoration: underline; }
.legal__fill { color: var(--red); }
.legal__date { margin-top: 28px; font-size: .9rem; }

/* =========================================================
   Baner zgody na cookies (cienki, polprzezroczysty, na dole)
   ========================================================= */
.cc {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 3000;
  background: rgba(10,9,9,.82);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(233,46,43,.5);
  color: var(--paper);
  transform: translateY(100%); transition: transform .35s ease;
}
.cc--in { transform: translateY(0); }
.cc__row { max-width: 1200px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cc__text { font-family: var(--font-body); font-size: .82rem; line-height: 1.5; color: var(--paper); opacity: .92; flex: 1 1 320px; margin: 0; }
.cc__text a { color: var(--red); text-decoration: underline; }
.cc__actions { display: flex; gap: 10px; flex-wrap: wrap; flex: 0 0 auto; }
.cc__btn {
  font-family: var(--font-anton); text-transform: uppercase; letter-spacing: .04em; font-size: .74rem;
  padding: 9px 16px; border-radius: 3px; cursor: pointer;
  border: 1px solid var(--paper); background: transparent; color: var(--paper);
  transition: background .2s ease, color .2s ease, border-color .2s ease, filter .2s ease;
}
.cc__btn--ghost:hover { border-color: var(--red); color: var(--red); }
.cc__btn--solid { background: var(--red); border-color: var(--red); color: #0a0909; }
.cc__btn--solid:hover { filter: brightness(1.08); }
.cc__panel { max-width: 1200px; margin: 0 auto; padding: 0 24px 14px; display: grid; gap: 10px; }
.cc__panel[hidden] { display: none; }
.cc__opt { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: .8rem; line-height: 1.4; color: var(--text-dim); border-top: 1px solid rgba(255,255,255,.1); padding-top: 10px; }
.cc__opt strong { color: var(--paper); }
.cc__opt input { width: 18px; height: 18px; flex: none; accent-color: var(--red); }
.cc__panelActions { display: flex; justify-content: flex-end; }
@media (max-width: 680px) {
  .cc__row { padding: 10px 16px; gap: 10px; }
  .cc__text { font-size: .76rem; flex-basis: 100%; }
  .cc__actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .cc__btn { font-size: .7rem; padding: 9px 10px; }
  .cc__btn--solid { grid-column: 1 / -1; }
}
