/* GRDC Media — dark premium studio. Vanilla CSS, no dependencies. */
@font-face {
  font-family: "Sora";
  src: url("/assets/fonts/sora-variable.ttf") format("truetype-variations");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b0b0a;
  --bg-soft: #131312;
  --bg-card: #161615;
  --ink: #f2efe8;
  --muted: #a9a49a;
  --faint: #8f8c84;
  --line: rgba(242, 239, 232, .14);
  --line-soft: rgba(242, 239, 232, .08);
  --accent: #ff5a1f;
  --accent-deep: #d64a0e;
  --accent-soft: rgba(255, 90, 31, .12);
  --radius-s: 8px;
  --radius-m: 11px;
  --radius-l: 14px;
  --font-sans: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --font-serif: ui-serif, Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --rail-w: 264px;
  --max-w: 1360px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img { display: block; max-width: 100%; }
a, button { -webkit-tap-highlight-color: rgba(255, 90, 31, .25); }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -.03em; font-weight: 750; text-wrap: balance; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(255, 90, 31, .35);
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  transform: translateY(-200%);
  background: var(--ink);
  color: #101010;
  padding: 12px 18px;
  border-radius: var(--radius-m);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- Shell: rail + content ---------- */
.shell {
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 1fr);
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
}

.rail {
  position: sticky;
  overflow-y: auto;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(20px, 4.5vw, 64px) 26px 26px;
  border-right: 1px solid var(--line-soft);
}

/* Logo: plik SVG ma kwadratowy viewBox z poziomym znakiem w środkowym pasie.
   Przycinamy render do pasa ze znakiem wrapperem o stałej wysokości
   (działa w każdej przeglądarce, bez object-view-box). */
.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  overflow: hidden;
  flex: 0 0 auto;
}
.brand-mark {
  height: 240px;
  width: auto;
  flex: none;
}
.brand-small { height: 26px; }
.brand-small .brand-mark { height: 182px; }
.brand-footer { height: 26px; }
.brand-footer .brand-mark { height: 182px; }

.rail-nav ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  counter-reset: nav;
}
.rail-nav a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 10px;
  margin: 0 -10px;
  border-radius: var(--radius-s);
  text-decoration: none;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 550;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.rail-nav a:hover { color: var(--ink); background: rgba(242, 239, 232, .05); }
.rail-nav a[aria-current="true"] { color: var(--ink); }
.rail-nav a[aria-current="true"] .rn { color: var(--accent); }
.rn {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

.rail-foot { display: grid; gap: 14px; }
.rail-contact { margin: 0; font-size: 13px; line-height: 1.7; color: var(--muted); }
.rail-contact a { text-decoration: none; border-bottom: 1px solid var(--line); }
.rail-contact a:hover { color: var(--ink); border-color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-m);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 650;
  letter-spacing: -.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #14100c; }
.btn-accent:hover { background: #ff6c38; border-color: #ff6c38; box-shadow: 0 12px 28px -14px rgba(255, 90, 31, .6); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--muted); background: rgba(242, 239, 232, .05); }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 13px; }

/* ---------- Topbar + mobile menu ---------- */
.main-col { display: flex; flex-direction: column; min-width: 0; min-height: 100vh; min-height: 100dvh; }
.topbar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 40;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(11, 11, 10, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar-right { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 0;
  border-radius: var(--radius-s);
  cursor: pointer;
}
.menu-btn span { display: block; width: 16px; height: 2px; background: var(--ink); transition: transform .2s var(--ease), opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: grid;
  grid-template-rows: 1fr;
  opacity: 1;
  background: rgba(11, 11, 10, .97);
  transition: grid-template-rows .32s var(--ease), opacity .22s ease, visibility 0s;
}
.mobile-menu.is-closed {
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows .32s var(--ease), opacity .18s ease, visibility 0s linear .3s;
}
.mobile-menu > nav {
  min-height: 0;
  overflow: hidden;
  padding: 8px 18px 22px;
  border-bottom: 1px solid var(--line-soft);
  transition: padding .3s var(--ease), border-color .2s;
}
.mobile-menu.is-closed > nav {
  padding-top: 0;
  padding-bottom: 0;
  border-bottom-color: transparent;
}
.mobile-menu ol { list-style: none; margin: 0 0 16px; padding: 0; display: grid; }
.mobile-menu ol a {
  display: block;
  padding: 13px 4px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu ol a:hover { color: var(--accent); }
.mobile-contact { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

.content { flex: 1 0 auto; min-width: 0; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 110px) clamp(20px, 4.5vw, 64px); }
.section + .section { border-top: 1px solid var(--line-soft); }
.wrap { max-width: 1010px; margin: 0 auto; }
.wrap-wide { max-width: 1180px; margin: 0 auto; }

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}
.kicker .knum { color: var(--accent); font-weight: 700; }

.section-title {
  font-size: clamp(32px, 4.6vw, 58px);
  margin-bottom: 14px;
}
.section-title .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
}
.section-lead {
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(15.5px, 1.4vw, 17.5px);
  margin: 0 0 34px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: clip;
  padding: clamp(72px, 10vh, 130px) clamp(20px, 4.5vw, 64px) clamp(96px, 12vw, 150px);
  background: var(--bg);
}
.hero-bg {
  position: absolute; inset: 0;
  -webkit-mask-image: linear-gradient(to bottom, black 68%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 68%, transparent 100%);
}
.hero-bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-bg img.is-active { opacity: 1; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(11, 11, 10, .72) 34%, rgba(11, 11, 10, .38) 100%),
    linear-gradient(to right, rgba(7, 7, 6, .45) 0%, transparent 55%);
}
.hero-inner { position: relative; z-index: 1; max-width: 1010px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(46px, 8.2vw, 118px);
  line-height: .96;
  letter-spacing: -.045em;
  font-weight: 800;
  margin-bottom: 24px;
}
.hero h1 .row { display: block; }
.hero h1 .thin { font-weight: 250; }
.hero h1 .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--accent);
}
.hero-sub {
  max-width: 46ch;
  font-size: clamp(16px, 1.5vw, 18.5px);
  color: var(--muted);
  margin: 0 0 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Offer ---------- */
.svc-list { list-style: none; margin: 6px 0 0; padding: 0; border-top: 1px solid var(--line); }
.svc {
  display: grid;
  grid-template-columns: minmax(0, .55fr) minmax(0, 1fr);
  gap: 8px 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.svc-index {
  font-weight: 800;
  font-size: clamp(56px, 7vw, 96px);
  line-height: .9;
  letter-spacing: -.04em;
  color: rgba(242, 239, 232, .38);
  transition: color .25s var(--ease);
  user-select: none;
}
.svc:hover .svc-index { color: var(--accent); }
.svc-body h3 { font-size: clamp(21px, 2.4vw, 30px); letter-spacing: -.025em; margin-bottom: 10px; }
.svc-body p { margin: 0 0 16px; color: var(--muted); font-size: 15.5px; max-width: 58ch; }
.svc-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-tags li {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
  transition: border-color .18s, color .18s;
}
.svc-tags li:hover { border-color: var(--accent); color: var(--ink); }
.offer-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 22px; }
.offer-cta p { margin: 0; color: var(--muted); font-size: 14.5px; max-width: 44ch; }

/* ---------- Testimonials ---------- */
.quotes { position: relative; }
.quote-stack { display: grid; }
.quote-slide {
  grid-area: 1 / 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  max-width: 62ch;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease), visibility 0s linear .45s;
}
.quote-slide[data-active="true"] {
  opacity: 1;
  visibility: visible;
  transition: opacity .45s var(--ease);
  z-index: 1;
}
.quote-slide blockquote { margin: 0; }
.quote-slide blockquote p {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.6;
  letter-spacing: -.005em;
  color: var(--ink);
}
.quote-slide figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  color: var(--muted);
  font-size: 13.5px;
}
.quote-slide figcaption strong { color: var(--ink); font-weight: 650; }
.quote-slide figcaption span { font-size: 13.5px; }
.quote-nav { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.quote-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .18s, background .18s, transform .18s var(--ease);
}
.quote-btn:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-1px); }
.quote-count { font-family: var(--font-mono); font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.quote-dots { display: flex; gap: 8px; margin-left: 8px; }
.quote-dots button {
  width: 26px; height: 4px;
  border: 0; border-radius: 99px;
  background: var(--line);
  cursor: pointer;
  padding: 0;
}
.quote-dots button[aria-current="true"] { background: var(--accent); }

/* ---------- Portfolio ---------- */
.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 99px;
  margin-bottom: 28px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 650;
  padding: 11px 20px;
  border-radius: 99px;
  cursor: pointer;
  transition: background .18s, color .18s;
  min-height: 44px;
  white-space: nowrap;
  flex: 0 0 auto;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: #101010; }
.panel[hidden] { display: none; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.v-card {
  position: relative;
  margin: 0;
  border: 0;
  padding: 0;
  background: var(--bg-card);
  border-radius: var(--radius-l);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--line-soft);
  text-align: left;
  text-decoration: none;
  font-family: var(--font-sans);
  color: var(--ink);
  transition: transform .25s var(--ease), border-color .2s;
  display: block;
}
.v-card:hover { transform: translateY(-3px); border-color: rgba(242, 239, 232, .3); }
.v-card img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s var(--ease); }
.v-card:hover img { transform: scale(1.045); }
.v-card .v-shade {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  background: linear-gradient(to top, rgba(5,5,4,.82) 0%, rgba(5,5,4,.25) 45%, transparent 70%);
  pointer-events: none;
}
.v-card .v-main { font-weight: 750; font-size: 17px; letter-spacing: -.01em; }
.v-card .v-sub { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; color: var(--accent); margin-top: 5px; text-transform: uppercase; }
.v-card .v-play {
  position: absolute;
  top: 50%; left: 50%;
  width: 60px; height: 60px;
  translate: -50% -50%;
  border-radius: 50%;
  background: rgba(8, 8, 7, .55);
  border: 1px solid rgba(242, 239, 232, .35);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(.85);
  transition: opacity .25s var(--ease), transform .25s var(--ease), background .2s, border-color .2s;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.v-card .v-play svg { width: 20px; height: 20px; fill: currentColor; margin-left: 2px; }
@media (hover: hover) and (pointer: fine) {
  .v-card:hover .v-play,
  .v-card:focus-visible .v-play,
  .v-card:focus-within .v-play { opacity: 1; transform: scale(1); }
}
@media (hover: none) {
  .v-card .v-play { opacity: 1; transform: none; width: 52px; height: 52px; }
  .v-card:hover img { transform: none; }
}

.stills-masonry {
  columns: 4;
  column-gap: 14px;
}
.stills-masonry figure {
  margin: 0 0 14px;
  break-inside: avoid;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--bg-card);
}
.stills-masonry img { width: 100%; height: auto; display: block; }
.gallery-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 64ch;
}
.gallery-note svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--accent);
}
.grafik-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.grafik-grid figure {
  margin: 0;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--bg-card);
}
.grafik-grid img { width: 100%; height: auto; display: block; }
.still-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.still-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }

/* ---------- Podglad zdjec ---------- */
.photobox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background: rgba(4, 4, 3, .94);
}
.photobox[hidden] { display: none; }
.photobox img {
  max-width: min(1000px, calc(100vw - 170px));
  max-height: 84vh;
  max-height: 84dvh;
  object-fit: contain;
  border-radius: var(--radius-m);
  background: #000;
  user-select: none;
}
.photobox-count {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.photobox-btn {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .18s, background .18s, transform .18s var(--ease);
}
.photobox-btn:hover { border-color: var(--accent); background: var(--accent-soft); }
.photobox-close { position: absolute; top: 16px; right: 16px; }

/* ---------- About ---------- */
.about-copy { max-width: 68ch; }
.about-copy p:last-child { margin-bottom: 0; }
.about-copy p { color: #cfccc4; font-size: 16.5px; }
.about-copy p strong { color: var(--ink); }
.logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 30px; }
.logos figure {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 10px 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  background: #101010;
}
.logos img { max-height: 28px; width: auto; max-width: 100%; object-fit: contain; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 4px;
  font-size: clamp(16.5px, 1.8vw, 20px);
  font-weight: 650;
  letter-spacing: -.015em;
  cursor: pointer;
  list-style: none;
  min-height: 60px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .fx {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
  transition: transform .25s var(--ease), background .2s;
}
.faq-list details[open] summary .fx { transform: rotate(45deg); background: var(--accent-soft); }
.faq-list .faq-a { padding: 0 4px 26px; color: var(--muted); max-width: 68ch; }
.faq-list .faq-a strong { color: var(--ink); }
.faq-list .faq-a ul { margin: .6em 0; padding-left: 1.2em; }
.faq-list .faq-a li { margin-bottom: .35em; }

/* ---------- Contact ---------- */
.contact-big { font-size: clamp(34px, 5vw, 64px); margin-bottom: 10px; }
.contact-big .serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--accent); }
.contact-lines { display: grid; gap: 6px; margin: 30px 0; }
.contact-lines a {
  font-size: clamp(22px, 3.2vw, 38px);
  font-weight: 750;
  letter-spacing: -.025em;
  text-decoration: none;
  width: fit-content;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: left calc(100% - 2px);
  transition: background-size .3s var(--ease), color .2s;
  padding-bottom: 4px;
}
.contact-lines a:hover { background-size: 100% 2px; color: var(--accent); }
.contact-firm { margin-top: 26px; font-size: 13px; color: var(--faint); }

/* ---------- Subpages ---------- */
.page-head { padding: clamp(48px, 7vh, 90px) clamp(20px, 4.5vw, 64px) 0; }
.page-head .wrap { max-width: 1010px; margin: 0 auto; }
.page-body { padding: 26px clamp(20px, 4.5vw, 64px) clamp(56px, 8vw, 110px); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-soft); padding: 26px clamp(20px, 4.5vw, 64px) clamp(64px, 9vh, 130px); }
.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  max-width: 1180px;
  margin: 0 auto 18px;
}
.footer-contact { margin: 0; font-size: 14px; color: var(--muted); }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: var(--ink); }
.socials { display: flex; gap: 8px; margin: 0 0 0 auto; padding: 0; }
.socials a {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color .18s, background .18s, transform .18s var(--ease);
}
.socials a:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; fill: var(--ink); }
.footer-copy { text-align: center; font-size: 12px; color: var(--faint); margin: 0; padding-top: 16px; border-top: 1px solid var(--line-soft); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 4, 3, .92);
}
.lightbox[hidden] { display: none; }
.lightbox-box { position: relative; width: min(1100px, 100%); }
.lightbox-frame iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-m); background: #000; }
.lightbox-frame.portrait { max-width: 480px; margin: 0 auto; }
.lightbox-frame.portrait iframe { aspect-ratio: 9 / 16; max-height: 86vh; }
.lightbox-close {
  position: absolute;
  top: -52px; right: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { border-color: var(--accent); color: var(--accent); }
/* Niskie ekrany (landscape): przycisk zamykania mieści się w ramce odtwarzacza. */
@media (max-height: 560px) {
  .lightbox { padding: 12px; }
  .lightbox-close { top: 8px; right: 8px; width: 44px; height: 44px; font-size: 22px; background: rgba(8, 8, 7, .7); }
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  :root { --rail-w: 220px; }
  .stills-masonry { columns: 3; }
}

@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .rail { display: none; }
  .topbar { display: flex; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .svc-index { font-size: clamp(44px, 13vw, 64px); }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-card img { aspect-ratio: 4 / 5; }
}

@media (max-width: 560px) {
  .section { padding-left: 18px; padding-right: 18px; }
  .hero { padding-left: 18px; padding-right: 18px; }
  .page-head, .page-body, .footer { padding-left: 18px; padding-right: 18px; }
  .stills-masonry { columns: 2; column-gap: 10px; }
  .stills-masonry figure { margin-bottom: 10px; }
  .grafik-grid { gap: 10px; }
  .photobox { gap: 4px; padding: 8px; }
  .photobox img { max-width: calc(100vw - 118px); }
  .photobox-btn { width: 46px; height: 46px; }
  .photobox-close { top: 8px; right: 8px; }
  .video-grid { gap: 10px; }
  .v-card .v-main { font-size: 14.5px; }
  .v-card .v-shade { padding: 12px; }
  .svc { padding: 20px 0; }
  .hero-actions .btn { flex: 1 1 100%; }
    .footer-bar { flex-direction: column; align-items: flex-start; gap: 14px; }
    .socials { margin: 0; }
  .contact-lines a { font-size: 24px; }
}

@media (max-width: 380px) {
  .contact-lines a { font-size: 20px; overflow-wrap: anywhere; }
  .hero-actions .btn { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .v-card:hover img { transform: none; }
  .v-card .v-play { transition: none; }
  .hero-bg img { transition: none; }
}
