/* =========================================================
   VIDEOCITY – arkusz stylów
   Kolory i czcionki zmienisz w sekcji :root poniżej.
   ========================================================= */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations"),
       url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  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: "Archivo";
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"),
       url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  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;
}

:root {
  /* Paleta – czerń kinowa, biel ekranu i dwa kolory przesunięcia z logo */
  --black: #000000;
  --screen: #f4f4f1;
  --grey: #a3a3a0;
  --grey-dark: #1c1c1c;
  --line: #2e2e2e;
  --cyan: #00adef;
  --magenta: #dc0187;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --display-stretch: 72%;

  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1520px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--screen);
  font-family: var(--font);
  font-size: clamp(16px, 1.05vw + 10px, 18px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }

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

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--screen); color: var(--black); padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { width: 100%; max-width: 1800px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- typografia wyświetlana (echo logo: wąska, ciężka, wersaliki) ---------- */
.display, .hero-title, .page-title, .section-title, .card-title, .services-list, .cta-title,
.footer-mail, .project-title, .project-nav-title, .notfound-code, .menu-mobile a, .contact-big {
  font-stretch: var(--display-stretch);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: -.005em;
}

/* przesunięcie RGB jak w logo – pojawia się jako odpowiedź na najechanie */
.rgb-hover { transition: text-shadow .35s var(--ease); }
a:hover .rgb-hover, a.rgb-hover:hover, a:focus-visible .rgb-hover {
  text-shadow: -.045em 0 var(--magenta), .045em 0 var(--cyan);
}

/* ---------- nagłówek ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: rgba(0, 0, 0, .88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.site-header.is-over-hero:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: auto; height: 38px; }
.main-nav ul { display: flex; gap: clamp(20px, 3vw, 44px); list-style: none; margin: 0; padding: 0; }
.main-nav a {
  text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: .01em;
  padding: 6px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .35s var(--ease);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background-size: 100% 1px; }
.menu-toggle { display: none; }

body:not(.page-home) main { padding-top: var(--header-h); }

/* menu mobilne */
.menu-toggle {
  align-items: center; gap: 12px; background: none; border: 0; padding: 10px 0; cursor: pointer;
  font-size: 15px; font-weight: 500;
}
.menu-toggle-icon { width: 22px; height: 10px; position: relative; }
.menu-toggle-icon::before, .menu-toggle-icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-toggle-icon::before { top: 0; }
.menu-toggle-icon::after { top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after { top: 4px; transform: rotate(-45deg); }

.menu-mobile {
  position: fixed; inset: 0; z-index: 40; background: var(--black);
  padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow-y: auto;
}
.menu-mobile ul { list-style: none; margin: 0; padding: 0; }
.menu-mobile li + li { margin-top: 6px; }
.menu-mobile a { text-decoration: none; font-size: clamp(3rem, 15vw, 6rem); display: inline-block; }
.menu-mobile a[aria-current="page"] { color: var(--grey); }
.menu-mobile-contact { display: grid; gap: 8px; margin-top: 40px; }
.menu-mobile-contact a { font-size: 1.1rem; font-stretch: 100%; text-transform: none; font-weight: 500; line-height: 1.4; }
body.menu-open { overflow: hidden; }

@media (max-width: 760px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand img { height: 32px; }
}

/* ---------- przyciski i linki ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; font-size: 16px; font-weight: 600; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn--light { background: var(--screen); color: var(--black); }
.btn--light:hover { background: #fff; transform: translateY(-1px); }
.btn--ghost { border-color: rgba(244, 244, 241, .45); color: var(--screen); background: rgba(0, 0, 0, .15); }
.btn--ghost:hover { border-color: var(--screen); background: rgba(0, 0, 0, .35); }
.btn-play { width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.btn[disabled] { opacity: .6; cursor: progress; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600;
  padding-bottom: 4px; border-bottom: 1px solid var(--line); transition: border-color .3s var(--ease);
}
.link-arrow::after { content: ""; width: 26px; height: 1px; background: currentColor; transition: width .35s var(--ease); }
.link-arrow:hover { border-bottom-color: var(--screen); }
.link-arrow:hover::after { width: 40px; }
.link-arrow--back { flex-direction: row-reverse; }
.link-arrow .count { color: var(--grey); font-weight: 500; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; max-height: 1200px;
  display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; background: var(--black); }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 38%, rgba(0,0,0,.1) 70%, rgba(0,0,0,.45) 100%);
}
.hero-video, .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-video.is-playing { opacity: 1; }
.hero-content { padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(48px, 9vh, 110px); }
.hero-title {
  font-size: clamp(3rem, 8.4vw, 9.5rem);
  max-width: 13ch;
  margin-bottom: clamp(20px, 3vh, 32px);
  animation: rgb-settle 1.6s var(--ease) .2s both;
}
.hero-text { max-width: 36em; font-size: clamp(1.05rem, 1.3vw, 1.3rem); color: rgba(244,244,241,.85); margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-toggle {
  position: absolute; right: var(--gutter); bottom: 28px; z-index: 2;
  background: none; border: 0; padding: 8px 0; font-size: 13px; color: rgba(244,244,241,.7); cursor: pointer;
  border-bottom: 1px solid rgba(244,244,241,.3);
}
.hero-toggle:hover { color: var(--screen); }

@keyframes rgb-settle {
  0% { opacity: 0; text-shadow: -.12em 0 var(--magenta), .12em 0 var(--cyan); }
  25% { opacity: 1; }
  100% { opacity: 1; text-shadow: 0 0 var(--magenta), 0 0 var(--cyan); }
}

/* ---------- sekcje ---------- */
.section { padding: clamp(80px, 12vw, 180px) 0 0; }
.section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26em); gap: 24px 48px;
  align-items: end; margin-bottom: clamp(40px, 6vw, 80px);
}
.section-title { font-size: clamp(2.6rem, 6vw, 6rem); }
.section-text { color: var(--grey); margin: 0; }
.section-more { margin-top: clamp(40px, 6vw, 72px); }
.lead { font-size: clamp(1.2rem, 1.8vw, 1.6rem); line-height: 1.4; font-weight: 500; }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- kafelki realizacji ---------- */
.card { min-width: 0; }
.card-link { display: block; text-decoration: none; }
.card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--grey-dark); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform 1s var(--ease), filter .6s var(--ease); }
.card-link:hover .card-media img { transform: scale(1.045); }
.card-play {
  position: absolute; left: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%;
  background: rgba(0,0,0,.45); border: 1px solid rgba(244,244,241,.6);
  opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.card-play::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%);
  border-left: 13px solid var(--screen); border-top: 8px solid transparent; border-bottom: 8px solid transparent;
}
.card-link:hover .card-play, .card-link:focus-visible .card-play { opacity: 1; transform: none; }
.card-placeholder {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 24px;
  background: linear-gradient(135deg, #151515, #050505);
}
.card-placeholder span { font-stretch: var(--display-stretch); font-weight: 800; text-transform: uppercase; font-size: 1.4rem; line-height: 1; color: #3a3a3a; }
.card-title { font-size: clamp(1.45rem, 2.4vw, 2.3rem); margin-top: 18px; max-width: 24ch; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--grey); font-size: 15px; margin: 10px 0 0; }
.card--vertical .card-media { aspect-ratio: 9 / 16; max-height: 80vh; }

.feature-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(56px, 7vw, 110px) clamp(20px, 3vw, 48px); }
.feature-grid .card { grid-column: span 12; }
@media (min-width: 761px) {
  .feature-grid .card--wide { grid-column: 1 / -1; }
  .feature-grid .card--wide .card-media { aspect-ratio: 21 / 9; }
  .feature-grid .card--wide .card-title { font-size: clamp(2rem, 4.2vw, 4.4rem); max-width: 20ch; }
  .feature-grid .card--l { grid-column: span 7; }
  .feature-grid .card--s { grid-column: span 5; align-self: end; }
  .feature-grid .card--l + .card--s { margin-bottom: clamp(0px, 6vw, 120px); }
  .feature-grid .card--s + .card--l { margin-top: 0; }
}

/* ---------- usługi ---------- */
.services-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px 64px; }
.services-inner .section-title { font-size: clamp(1.6rem, 2.6vw, 2.4rem); color: var(--grey); position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.services-list { list-style: none; margin: 0; padding: 0; font-size: clamp(2.4rem, 6.4vw, 6.6rem); }
.services-list li { padding: .14em 0 .1em; border-bottom: 1px solid var(--line); }
.services-list li:first-child { border-top: 1px solid var(--line); }
@media (max-width: 760px) { .services-inner { grid-template-columns: 1fr; } .services-inner .section-title { position: static; } }

/* ---------- o mnie (skrót na stronie głównej) ---------- */
.about-teaser-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-teaser-photo { margin: 0; }
.about-teaser-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.about-teaser-text .section-title { margin-bottom: 28px; }
.about-teaser-text .lead { margin-bottom: 32px; color: rgba(244,244,241,.9); }
@media (max-width: 760px) { .about-teaser-inner { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { padding-bottom: clamp(80px, 12vw, 180px); }
.cta .wrap { border-top: 1px solid var(--line); padding-top: clamp(64px, 9vw, 120px); }
.cta-title { font-size: clamp(3rem, 9vw, 9.5rem); max-width: 12ch; margin-bottom: 28px; }
.cta-text { max-width: 34em; color: var(--grey); margin-bottom: 36px; }

/* ---------- podstrony: nagłówek ---------- */
.page-head { padding-top: clamp(48px, 9vw, 120px); padding-bottom: clamp(32px, 5vw, 72px); }
.page-title { font-size: clamp(3.6rem, 15vw, 15rem); line-height: .85; }
.page-title--small { font-size: clamp(2.6rem, 7vw, 6rem); }
.page-intro { max-width: 34em; color: var(--grey); margin-top: 24px; margin-bottom: 0; font-size: 1.1rem; }

/* ---------- portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(40px, 5vw, 64px); }
.filter {
  text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px;
  transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.filter sup { font-size: 11px; color: var(--grey); margin-left: 2px; }
.filter:hover { border-color: var(--grey); }
.filter.is-active { background: var(--screen); color: var(--black); border-color: var(--screen); }
.filter.is-active sup { color: #555; }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(56px, 6vw, 96px) clamp(20px, 3vw, 48px); padding-bottom: clamp(80px, 10vw, 160px); }
.portfolio-grid .card-title { font-size: clamp(1.4rem, 2.1vw, 2.1rem); }
.portfolio-empty { color: var(--grey); padding-bottom: 120px; }
@media (max-width: 760px) { .portfolio-grid { grid-template-columns: 1fr; } }

/* ---------- realizacja ---------- */
.project-head { padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(28px, 4vw, 48px); }
.crumbs { display: flex; gap: 10px; color: var(--grey); font-size: 15px; margin-bottom: 24px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--screen); text-decoration: underline; }
.project-title { font-size: clamp(2.4rem, 6.6vw, 7rem); max-width: 18ch; overflow-wrap: anywhere; }
.project-facts { display: flex; flex-wrap: wrap; gap: 16px clamp(28px, 5vw, 72px); margin: clamp(28px, 4vw, 44px) 0 0; }
.project-facts dt { color: var(--grey); font-size: 14px; }
.project-facts dd { margin: 4px 0 0; font-weight: 500; }
.project-body { padding-top: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 64px; align-items: start; }
.project-desc { max-width: 40em; font-size: 1.1rem; }
.project-source { margin: 0; }
.project-gallery { padding-top: clamp(48px, 7vw, 96px); }
@media (max-width: 760px) { .project-body { grid-template-columns: 1fr; } }

.project-nav { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(80px, 10vw, 160px); border-top: 1px solid var(--line); }
.project-nav-link { position: relative; display: block; text-decoration: none; padding: clamp(28px, 4vw, 56px) 0; min-width: 0; }
.project-nav-next { text-align: right; border-left: 1px solid var(--line); padding-left: 24px; }
.project-nav-prev { padding-right: 24px; }
.project-nav-label { display: block; color: var(--grey); font-size: 15px; margin-bottom: 14px; }
.project-nav-title { display: block; font-size: clamp(1.5rem, 3.4vw, 3.4rem); overflow-wrap: anywhere; }
.project-nav-next img { width: min(260px, 60%); height: auto; aspect-ratio: 16/9; object-fit: cover; margin: 24px 0 0 auto; opacity: .85; transition: opacity .3s var(--ease); }
.project-nav-next:hover img { opacity: 1; }
.project-back { padding-top: 16px; padding-bottom: clamp(64px, 8vw, 120px); }
@media (max-width: 600px) {
  .project-nav { grid-template-columns: 1fr; }
  .project-nav-next { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
}

/* ---------- odtwarzacz ---------- */
.player { position: relative; aspect-ratio: 16 / 9; background: var(--grey-dark); overflow: hidden; }
.player--vertical { aspect-ratio: 9 / 16; max-height: 86vh; margin: 0 auto; width: auto; height: 86vh; max-width: 100%; }
.player-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .4s; }
.player-cover--empty { display: flex; align-items: center; justify-content: center; padding: 10%; background: radial-gradient(circle at 30% 30%, #1b1b1b, #000); }
.player-cover--empty span { font-stretch: var(--display-stretch); font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 4vw, 3.5rem); line-height: .95; text-align: center; color: #3d3d3d; }
.player::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.18); transition: background .4s var(--ease); pointer-events: none; }
.player-btn {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: none; border: 0; cursor: pointer;
}
.player-btn-icon {
  position: relative; width: clamp(72px, 9vw, 120px); height: clamp(72px, 9vw, 120px); border-radius: 50%;
  border: 1.5px solid rgba(244,244,241,.85); background: rgba(0,0,0,.25);
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.player-btn-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%);
  border-left: 22px solid var(--screen); border-top: 13px solid transparent; border-bottom: 13px solid transparent;
  transition: border-left-color .35s var(--ease);
}
.player-btn-label { font-size: 15px; font-weight: 600; letter-spacing: .02em; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.player-btn:hover .player-btn-icon, .player-btn:focus-visible .player-btn-icon { background: var(--screen); transform: scale(1.06); }
.player-btn:hover .player-btn-icon::after, .player-btn:focus-visible .player-btn-icon::after { border-left-color: var(--black); }
.player:hover .player-cover { transform: scale(1.02); }
.player:hover::after { background: rgba(0,0,0,.08); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; background: #000; }
.player.is-active::after { display: none; }
.player-noscript { position: absolute; left: 20px; bottom: 20px; z-index: 3; }

/* ---------- galerie ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.gallery-item { display: block; overflow: hidden; background: var(--grey-dark); }
.gallery-item img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1s var(--ease); }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-grid--about .gallery-item:nth-child(3n+1) { grid-column: 1 / -1; }
.gallery-grid--about .gallery-item:nth-child(3n+1) img { aspect-ratio: 21 / 9; }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ---------- o mnie ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-photo { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.about-photo img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.about-text { max-width: 38em; }
.about-text .lead { margin-bottom: 1.2em; }
.about-text p { color: rgba(244,244,241,.88); }
.about-services-title { font-size: 15px; font-weight: 600; color: var(--grey); margin: 56px 0 16px; }
.about-services { list-style: none; padding: 0; margin: 0 0 48px; }
.about-services li {
  font-stretch: var(--display-stretch); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.7rem, 3.2vw, 2.8rem); line-height: 1.05; padding: 10px 0; border-bottom: 1px solid var(--line);
}
.about-gallery { padding-top: clamp(80px, 10vw, 160px); padding-bottom: clamp(80px, 10vw, 160px); }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about-photo { position: static; } .about-photo img { aspect-ratio: 4 / 5; max-height: 72vh; object-position: 50% 25%; } }

/* ---------- kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 120px); padding-bottom: clamp(80px, 10vw, 160px); }
.contact-label { font-size: 15px; font-weight: 600; color: var(--grey); margin: 0 0 10px; }
.contact-big { display: inline-block; text-decoration: none; font-size: clamp(1.8rem, 4.2vw, 4rem); margin-bottom: 40px; overflow-wrap: anywhere; }
.contact-company { color: var(--grey); font-size: 15px; margin-top: 8px; }
.contact-form-title { font-size: 15px; font-weight: 600; color: var(--grey); margin-bottom: 20px; }
.field { margin-bottom: 26px; }
.field label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.field .optional { color: var(--grey); font-weight: 400; }
.field input, .field textarea {
  width: 100%; background: transparent; color: var(--screen); font: inherit; font-size: 1.1rem;
  border: 0; border-bottom: 1px solid #4a4a4a; border-radius: 0; padding: 10px 0 12px;
  transition: border-color .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 160px; line-height: 1.5; }
.field input:hover, .field textarea:hover { border-bottom-color: var(--grey); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--screen); box-shadow: 0 2px 0 -1px var(--cyan); }
.field [aria-invalid="true"] { border-bottom-color: #ff6b8f; }
.field-error { color: #ff8fab; font-size: 15px; margin: 8px 0 0; }
.field--trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { background: #2a0a16; border-left: 3px solid var(--magenta); padding: 14px 18px; font-size: 15px; }
.form-note, .form-required { font-size: 14px; color: var(--grey); }
.form-note a { color: var(--screen); }
.form-required { margin-top: 16px; }
.form-success { border-top: 1px solid var(--line); padding-top: 32px; }
.form-success p { font-stretch: var(--display-stretch); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 4vw, 3.4rem); line-height: .95; margin-bottom: 24px; }
.form-success:focus { outline: none; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- tekst ciągły (polityka) ---------- */
.prose { padding-bottom: 120px; }
.prose > * { max-width: 46em; }
.prose a { overflow-wrap: anywhere; }
.prose h2 { font-size: 1.3rem; margin: 2em 0 .6em; }
.prose p { color: rgba(244,244,241,.88); }

/* ---------- 404 ---------- */
.notfound { padding-top: clamp(48px, 8vw, 120px); padding-bottom: clamp(80px, 12vw, 180px); }
.notfound-code { font-size: clamp(8rem, 34vw, 30rem); margin: 0; color: transparent; -webkit-text-stroke: 1px #3a3a3a; text-shadow: -.02em 0 rgba(220,1,135,.35), .02em 0 rgba(0,173,239,.35); }
.notfound .page-intro { margin-bottom: 36px; }

/* ---------- stopka ---------- */
.page-contact .footer-top { display: none; }
.page-contact .footer-grid { margin-top: 0; border-top: 0; padding-top: 0; }
.site-footer { border-top: 1px solid var(--line); padding-top: clamp(64px, 9vw, 130px); padding-bottom: 32px; }
.footer-title { font-stretch: var(--display-stretch); font-weight: 800; text-transform: uppercase; line-height: .92; font-size: clamp(1.6rem, 3vw, 2.6rem); margin-bottom: 14px; }
.footer-lead { color: var(--grey); margin-bottom: 28px; max-width: 34em; }
.footer-mail { display: inline-block; text-decoration: none; font-size: clamp(2.2rem, 7.4vw, 7.6rem); overflow-wrap: anywhere; }
.footer-phone { display: block; text-decoration: none; font-size: clamp(1.2rem, 2vw, 1.6rem); margin-top: 18px; font-weight: 500; }
.footer-phone:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: clamp(64px, 8vw, 110px); padding-top: 32px; border-top: 1px solid var(--line); }
.footer-h { font-size: 14px; font-weight: 600; color: var(--grey); margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 6px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-company { font-size: 15px; color: rgba(244,244,241,.8); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 56px; font-size: 14px; color: var(--grey); }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--screen); }
.footer-bottom .to-top { margin-left: auto; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:last-child { grid-column: 1 / -1; } }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.96);
  display: flex; align-items: center; justify-content: center; padding: 64px var(--gutter) 32px;
  animation: lb-in .3s var(--ease);
}
.lightbox-stage { width: min(100%, 1600px); max-height: 100%; display: flex; justify-content: center; }
.lightbox-stage .lb-video { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100vh - 120px); }
.lightbox-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox-stage img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; }
.lightbox-close {
  position: absolute; top: 18px; right: var(--gutter); background: none; border: 0; cursor: pointer;
  font-size: 15px; font-weight: 600; padding: 8px 0; border-bottom: 1px solid currentColor;
}
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }

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

@media print {
  .site-header, .menu-mobile, .site-footer, .hero-media { display: none; }
  body { background: #fff; color: #000; }
}
.about-teaser { padding-bottom: clamp(80px, 12vw, 180px); }
