/* ============================================================
   Aleksander Bylicki — Portfolio  (LIGHT theme)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Newsreader:ital,opsz,wght@1,6..72,400;1,6..72,500&display=swap');

:root {
  /* Brand palette */
  --ink: #17150F;
  --cream: #F4F1E8;
  --paper: #FAF8F2;
  --orange: #E3491D;
  --orange-hover: #C93E17;
  --ink-90: #2B2921;
  --ink-70: #555247;
  --ink-40: #9B968A;
  --ink-20: #CDC9BD;
  --ink-08: #E7E3D6;

  /* Semantic (light) */
  --page: var(--cream);
  --surface: var(--paper);
  --text: var(--ink);
  --text-secondary: var(--ink-70);
  --text-muted: #8A8578;
  --line: rgba(23, 21, 15, 0.16);
  --line-faint: rgba(23, 21, 15, 0.08);

  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-accent-serif: 'Newsreader', Georgia, serif;

  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; }
button { font-family: inherit; }
::selection { background: var(--orange); color: var(--cream); }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--orange); }

.app { min-height: 100vh; background: var(--page); color: var(--text); position: relative; }

.link { cursor: pointer; transition: color 0.25s var(--ease); }
.link:hover { color: var(--orange); }

@keyframes abFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes abMenu { from { opacity: 0; } to { opacity: 1; } }
@keyframes abZoom { from { opacity: 0; transform: scale(0.985); } to { opacity: 1; transform: scale(1); } }

/* ============================================================
   NAV  (light text over the hero photo; solid = paper + ink text)
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 6vw; background: transparent; color: var(--cream);
  border-bottom: 1px solid transparent;
  transition: background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.nav.is-solid { background: var(--surface); color: var(--ink); border-bottom-color: var(--line-faint); }
.nav.is-solid.is-menu-open { border-bottom-color: transparent; }

.nav__brand { display: flex; align-items: center; gap: 12px; cursor: pointer; color: inherit; }
.nav__brand .logo { width: 30px; height: 30px; }
.logo--dark { display: none; }
.nav.is-solid .logo--light { display: none; }
.nav.is-solid .logo--dark { display: block; }
.nav__wordmark { font-weight: 700; font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: inherit; }
.nav__right { display: flex; align-items: center; gap: 28px; }
.nav__menu-btn {
  display: inline-flex; align-items: center; gap: 10px; background: none; border: none;
  color: inherit; cursor: pointer; font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; font-weight: 600; padding: 0;
}
.nav__menu-btn .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--orange); display: inline-block; }

/* Fotografia / Film switcher */
.switch {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px;
  border: 1px solid currentColor; background: transparent;
}
.nav.is-solid .switch { border-color: var(--line); }
.switch__btn {
  border: none; background: transparent; color: inherit; padding: 8px 18px; border-radius: 999px;
  cursor: pointer; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.switch__btn:hover { color: var(--orange); }
.switch__btn.is-active { background: var(--orange); color: var(--cream); }
.switch__btn.is-active:hover { color: var(--cream); }

/* PL / EN language toggle */
.lang { display: inline-flex; align-items: center; gap: 5px; color: inherit; }
.lang__btn {
  background: none; border: none; color: inherit; cursor: pointer; padding: 2px;
  font-size: 11px; letter-spacing: 0.12em; font-weight: 600; opacity: 0.5;
  transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
}
.lang__btn.is-active { opacity: 1; }
.lang__btn:not(.is-active):hover { opacity: 1; color: var(--orange); }
.lang__sep { opacity: 0.4; font-size: 11px; }

/* ============================================================
   FULLSCREEN MENU (light)
   ============================================================ */
/* Right-side panel: half screen on web, full on mobile */
.menu { position: fixed; inset: 0; z-index: 80; }
.menu__scrim { position: absolute; inset: 0; background: rgba(23, 21, 15, 0.4); animation: abFade 0.4s ease; }
.menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: 50vw; z-index: 1;
  background: var(--page); box-shadow: -24px 0 60px rgba(23, 21, 15, 0.22);
  padding: 120px 5vw 48px; display: flex; flex-direction: column; justify-content: space-between;
  overflow-y: auto; animation: abSlideInRight 0.5s var(--ease);
}
@keyframes abSlideInRight { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media (max-width: 768px) {
  .menu__panel { width: 100vw; box-shadow: none; padding: 110px 6vw 40px; }
  .menu__scrim { display: none; }
  .menu__foot { flex-direction: column; align-items: flex-start; gap: 8px; }
}
.menu__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.menu__primary { display: flex; flex-direction: column; gap: 6px; }
.menu__link {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 7vw, 104px);
  line-height: 1.02; letter-spacing: -0.02em; cursor: pointer; color: var(--text);
  transition: color 0.25s var(--ease);
}
.menu__link:hover { color: var(--orange); }
.menu__cats {
  display: flex; flex-direction: column; gap: 14px; padding-top: 14px;
  border-left: 1px solid var(--line); padding-left: 32px;
}
.menu__cats-label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.menu__cats-list { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.menu__cat {
  display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 500;
  cursor: pointer; color: var(--text); transition: color 0.25s var(--ease);
}
.menu__cat:hover { color: var(--orange); }
.menu__cat .dot { width: 5px; height: 5px; border-radius: 999px; background: var(--orange); display: inline-block; }
.menu__foot { display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid var(--line); padding-top: 24px; }
.menu__foot span { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }

/* ============================================================
   Buttons
   ============================================================ */
.screen { animation: abFade 0.4s ease; }
/* Subpages slide in from the right */
#screen-category, #screen-film, #screen-about, #screen-contact { animation: abSlideScreen 0.5s var(--ease); }
@keyframes abSlideScreen { from { opacity: 0; transform: translateX(48px); } to { opacity: 1; transform: translateX(0); } }
.eyebrow { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-muted); }

.btn {
  border-radius: 999px; border: 1px solid; background: transparent;
  padding: 16px 32px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600; cursor: pointer;
  transition: background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.btn--sm { padding: 12px 24px; font-size: 11px; }
/* On a light surface */
.btn--ink { border-color: var(--ink); color: var(--ink); }
.btn--ink:hover { background: var(--orange); border-color: var(--orange); color: var(--cream); }
.btn--faint { border-color: var(--line); color: var(--text); }
.btn--faint:hover { border-color: var(--orange); color: var(--orange); }
.btn--solid { background: var(--orange); border-color: var(--orange); color: var(--cream); padding: 16px 36px; }
.btn--solid:hover { background: var(--orange-hover); border-color: var(--orange-hover); }
/* Over a photo (hero) */
.btn--photo-primary { border-color: var(--cream); color: var(--cream); }
.btn--photo-primary:hover { background: var(--cream); color: var(--ink); }
.btn--photo-ghost { border-color: rgba(244, 241, 232, 0.5); color: var(--cream); }
.btn--photo-ghost:hover { border-color: var(--orange); color: var(--orange); }

/* ============================================================
   HOME — hero (full-bleed photo, light text)
   ============================================================ */
.hero { position: relative; height: 100vh; min-height: 600px; overflow: hidden; background: var(--ink); }
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.6s ease-in-out; will-change: opacity;
}
.hero__slide.is-active { opacity: 1; }
.hero__grad {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(23,21,15,0.8) 0%, rgba(23,21,15,0.05) 45%, rgba(23,21,15,0.35) 100%);
}
.hero__content { position: absolute; left: 6vw; right: 6vw; bottom: 8vh; }
.hero__title {
  margin: 0; font-weight: 400; font-size: clamp(52px, 11.5vw, 208px); line-height: 0.92;
  letter-spacing: -0.025em; color: var(--cream); text-wrap: balance;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 34px; }

@keyframes heroNudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.hero__scroll {
  flex-shrink: 0; border: none; background: transparent; color: var(--cream);
  font-size: 30px; line-height: 1; cursor: pointer; padding: 6px 14px;
  animation: heroNudge 2.2s ease-in-out infinite;
  transition: color 0.35s var(--ease);
}
.hero__scroll:hover { color: var(--orange); animation-play-state: paused; }

/* ---------- Horizontal scroll gallery (natural aspect, no crop) ---------- */
/* Poziomy pasek zdjęć — natywny scroll w poziomie (dotyk na mobile),
   a kółkiem myszy przewija tylko gdy kursor jest nad galerią (JS w app.js). */
.hgallery { background: var(--page); padding: 3vh 0; }
.hgallery__track {
  display: flex; gap: 18px; padding: 0 6vw; height: 74vh; align-items: stretch;
  overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.hgallery__track::-webkit-scrollbar { display: none; }
.hgallery__item { flex: 0 0 auto; height: 100%; }

/* ============================================================
   TILE — image only, caption BELOW, no darkening overlay
   ============================================================ */
.tile { position: relative; display: block; cursor: pointer; }
.tile__frame { position: relative; overflow: hidden; line-height: 0; background: var(--ink-08); }
.tile__img { display: block; width: 100%; height: auto; }
.tile__cap { display: flex; flex-direction: column; gap: 3px; padding: 12px 2px 2px; }
.tile__cat {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted);
  cursor: pointer; transition: color 0.2s var(--ease); align-self: flex-start;
}
.tile__cat:hover { color: var(--orange); }
.tile__cat .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--orange); display: inline-block; }
.tile__title { font-family: var(--font-display); font-weight: 400; font-size: 18px; line-height: 1.2; color: var(--text); transition: color 0.2s var(--ease); }

/* Home gallery: height drives the tile; width follows the image aspect */
.hgallery__item .tile, .hgallery__item .tile__frame { height: 100%; }
.hgallery__item .tile__frame { display: flex; }
.hgallery__item .tile__img { height: 100%; width: auto; }
.hgallery__item .tile__cap { display: none; }
.hgallery__item .tile:hover .tile__frame { outline: 2px solid var(--orange); outline-offset: -2px; }

/* ============================================================
   CATEGORY — masonry columns, nothing cropped
   ============================================================ */
.section-pad { padding: 140px 6vw clamp(48px, 7vw, 110px); }
.cat__crumb {
  display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 18px;
}
.cat__crumb .dot { width: 4px; height: 4px; border-radius: 999px; background: var(--orange); display: inline-block; }
.cat__crumb .current { color: var(--text); }
.cat__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; margin-bottom: 36px; }
.cat__title { margin: 0; font-weight: 400; font-size: clamp(48px, 10vw, 168px); line-height: 0.92; letter-spacing: -0.025em; }
.cat__desc { margin: 0; max-width: 420px; font-size: 16px; line-height: 1.6; color: var(--text-secondary); }
.cat__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.cat__tab {
  cursor: pointer; padding: 9px 18px; border-radius: 999px; font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 600; color: var(--text);
  border: 1px solid var(--line); background: transparent; transition: all 0.3s var(--ease);
}
.cat__tab:hover { border-color: var(--orange); color: var(--orange); }
.cat__tab.is-active { border-color: var(--orange); background: var(--orange); color: var(--cream); }

.cat__grid { column-count: 3; column-gap: 18px; }
.cat__grid > .tile { break-inside: avoid; margin: 0 0 26px; }
.cat__grid .tile:hover .tile__title { color: var(--orange); }

/* ============================================================
   FILM
   ============================================================ */
.reel { position: relative; height: 100vh; min-height: 600px; overflow: hidden; background: #000; }
.reel__video { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.reel__video iframe {
  position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw;
  min-width: 177.78vh; min-height: 100vh; transform: translate(-50%, -50%); border: 0;
}
.reel__grad { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, rgba(23,21,15,0.15) 0%, rgba(23,21,15,0.6) 100%); }
.reel__center { position: absolute; inset: 0; pointer-events: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.reel__label { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--cream); opacity: 0.85; margin-bottom: 14px; }
.reel__title { margin: 0; font-weight: 400; font-size: clamp(44px, 9vw, 150px); line-height: 0.95; letter-spacing: -0.02em; color: var(--cream); }
.reel__sound, .reel__expand {
  position: absolute; bottom: 6vh; z-index: 2; display: inline-flex; align-items: center; gap: 10px;
  border-radius: 999px; border: 1px solid rgba(244, 241, 232, 0.5); background: rgba(23, 21, 15, 0.4);
  backdrop-filter: blur(6px); color: var(--cream); cursor: pointer; padding: 12px 22px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease), background 0.35s var(--ease);
}
.reel__sound { left: 6vw; }
.reel__expand { right: 6vw; }
.reel__sound:hover, .reel__expand:hover { border-color: var(--orange); color: var(--orange); }
.reel__sound.is-on { border-color: var(--orange); background: var(--orange); color: var(--cream); }
.reel__sound-icon { font-size: 14px; line-height: 1; }

.films { padding: clamp(48px, 7vw, 110px) 6vw; }
.films__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: clamp(28px, 4vw, 56px); }
.films__head h2 { margin: 0; font-weight: 400; font-size: clamp(30px, 5vw, 72px); line-height: 1; letter-spacing: -0.02em; }
.films__head span { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.films__list { display: flex; flex-direction: column; gap: 16px; }
.film-row { display: grid; grid-template-columns: minmax(0, 1.5fr) 1fr; gap: clamp(16px, 3vw, 48px); align-items: center; border-top: 1px solid var(--line); padding-top: 16px; }
.film-row__media { height: clamp(220px, 26vw, 360px); }
.film-row__media .tile, .film-row__media .tile__frame { height: 100%; }
.film-row__media .tile__img { width: 100%; height: 100%; object-fit: cover; }
.film-row__media .tile__cap { display: none; }
.film-row__body { display: flex; flex-direction: column; gap: 12px; }
.film-row__meta { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); }
.film-row__title { margin: 0; font-weight: 400; font-size: clamp(28px, 4vw, 56px); line-height: 1; letter-spacing: -0.02em; }
.film-row__desc { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-secondary); max-width: 420px; }
.film-row__body .btn { align-self: flex-start; margin-top: 6px; }

/* Vertical | Social Media */
.vfilms { padding: clamp(28px, 4vw, 56px) 6vw clamp(48px, 7vw, 110px); }
.vfilms__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.vfilm { cursor: pointer; }
.vfilm__frame { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--ink); }
.vfilm__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s var(--ease); }
.vfilm:hover .vfilm__img { transform: scale(1.035); }
.vfilm__play {
  position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; color: var(--cream); font-size: 19px; padding-left: 4px;
  border: 1px solid rgba(244, 241, 232, 0.7); background: rgba(23, 21, 15, 0.35); backdrop-filter: blur(4px);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.vfilm:hover .vfilm__play { background: var(--orange); border-color: var(--orange); }
.vfilm__meta { display: block; margin-top: 12px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); }
.vfilm__title { margin: 4px 0 0; font-weight: 400; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.15; letter-spacing: -0.01em; }
.vfilm__desc { margin: 6px 0 0; font-size: 13px; line-height: 1.55; color: var(--text-secondary); }

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.about__photo { position: relative; height: clamp(420px, 60vw, 760px); background: var(--ink-08); overflow: hidden; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__name { margin: 14px 0 28px; font-weight: 400; font-size: clamp(40px, 7vw, 132px); line-height: 0.94; letter-spacing: -0.025em; }
.about__lead { margin: 0 0 20px; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.6; color: var(--text); max-width: 560px; }
.about__body { margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--text-secondary); max-width: 560px; }
.about__quote { margin: 0 0 40px; font-family: var(--font-accent-serif); font-style: italic; font-size: clamp(20px, 2vw, 28px); line-height: 1.4; color: var(--text); max-width: 560px; }
.about__clients { border-top: 1px solid var(--line); padding-top: 28px; max-width: 560px; }
.about__clients-label {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 16px;
}
.about__clients-list { display: flex; flex-wrap: wrap; gap: 10px 0; }
.about__clients-list span {
  font-size: clamp(16px, 1.4vw, 19px); font-weight: 500; color: var(--text); white-space: nowrap;
}
.about__clients-list span:not(:last-child)::after {
  content: '·'; color: var(--orange); margin: 0 12px; font-weight: 400;
}
.about__cta { margin-top: 40px; display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.about__ig { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }
.about__ig:hover { color: var(--orange); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { max-width: 680px; }
.contact__title { margin: 14px 0 44px; font-weight: 400; font-size: clamp(44px, 8vw, 132px); line-height: 0.92; letter-spacing: -0.025em; }
.contact__form { max-width: 540px; }
.contact__socials {
  display: flex; flex-wrap: wrap; gap: 24px; max-width: 540px;
  margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line);
}
.contact__socials a { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.contact__details {
  margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.02em; color: var(--text-muted);
}
.contact__details a { color: var(--text-muted); }
.contact__details a:hover { color: var(--orange); }
.contact__details .sep { color: var(--line); }

.contact__thanks {
  border: 1px solid var(--line); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column;
  gap: 16px; align-items: flex-start; max-width: 540px; animation: abFade 0.5s ease;
}
.contact__thanks .dot { width: 12px; height: 12px; border-radius: 999px; background: var(--orange); display: inline-block; }
.contact__thanks h2 { margin: 0; font-weight: 400; font-size: clamp(30px, 4vw, 52px); line-height: 1; letter-spacing: -0.02em; }
.contact__thanks p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-secondary); max-width: 360px; }

.form { display: flex; flex-direction: column; gap: 20px; }
.form label { display: flex; flex-direction: column; gap: 8px; }
.form label > span { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.form input, .form textarea, .form select {
  background: transparent; border: none; border-bottom: 1px solid var(--line); color: var(--text);
  font-family: inherit; font-size: 18px; padding: 10px 0; outline: none; transition: border-color 0.3s var(--ease);
}
.form select { background: var(--page); cursor: pointer; }
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { border-bottom-color: var(--orange); }
.form input::placeholder, .form textarea::placeholder { color: var(--text-muted); }
.form .btn { align-self: flex-start; margin-top: 10px; }
.form .btn:disabled { opacity: 0.55; cursor: default; }
/* honeypot — poza ekranem, niewidoczny dla ludzi */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form__error { margin: 0; font-size: 14px; line-height: 1.5; color: var(--orange); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: clamp(40px, 5vw, 72px) 6vw; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start; }
.footer__brand { display: flex; align-items: center; gap: 12px; cursor: pointer; margin-bottom: 16px; }
.footer__brand img { width: 34px; height: 34px; }
.footer__brand span { font-weight: 700; font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; }
.footer__blurb { margin: 0; max-width: 320px; font-size: 14px; line-height: 1.6; color: var(--text-secondary); }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col-label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.footer__col span[data-nav] { cursor: pointer; font-size: 15px; transition: color 0.25s var(--ease); }
.footer__col span[data-nav]:hover { color: var(--orange); }
.footer__col a { font-size: 15px; }
.footer__col .muted { font-size: 15px; color: var(--text-secondary); }
.footer__bar { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--line-faint); padding-top: 20px; margin-top: 8px; }
.footer__bar span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }

/* ============================================================
   LIGHTBOX (light backdrop, above the nav, image never cropped)
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 110; background: rgba(244, 241, 232, 0.98); animation: abFade 0.35s ease; display: flex; flex-direction: column; }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: 20px 6vw; flex-shrink: 0; }
.lightbox__cat-wrap { display: flex; align-items: center; gap: 12px; }
.lightbox__cat { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; color: var(--text); transition: color 0.25s var(--ease); }
.lightbox__cat:hover { color: var(--orange); }
.lightbox__cat .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--orange); display: inline-block; }
.lightbox__hint { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); }
.lightbox__close, .player__close {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 999px;
  background: none; border: 1px solid var(--line); color: var(--text); font-size: 26px; line-height: 1; cursor: pointer; padding: 0;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.lightbox__close:hover, .player__close:hover { border-color: var(--orange); color: var(--orange); }
.lightbox__stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; gap: clamp(8px, 2vw, 28px); padding: 0 4vw 12px; }
.lightbox__nav { flex-shrink: 0; width: 54px; height: 54px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--text); font-size: 20px; cursor: pointer; transition: border-color 0.3s var(--ease), color 0.3s var(--ease); }
.lightbox__nav:hover { border-color: var(--orange); color: var(--orange); }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; animation: abZoom 0.5s var(--ease); box-shadow: 0 20px 60px rgba(23,21,15,0.18); }
.lightbox__bottom { display: flex; justify-content: space-between; align-items: center; padding: 16px 6vw 24px; flex-shrink: 0; }
.lightbox__title { font-size: clamp(16px, 2vw, 24px); font-weight: 400; }
.lightbox__count { font-size: 12px; letter-spacing: 0.16em; color: var(--text-muted); }
.lb-chev { display: none; }   /* swipe affordance, mobile only */

/* ============================================================
   FILM PLAYER
   ============================================================ */
.player { position: fixed; inset: 0; z-index: 110; background: rgba(244, 241, 232, 0.98); animation: abFade 0.35s ease; display: flex; flex-direction: column; }
.player__top { display: flex; justify-content: space-between; align-items: center; padding: 20px 6vw; flex-shrink: 0; }
.player__meta { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); }
.player__stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 6vw; }
.player__frame { width: 100%; max-width: 1200px; aspect-ratio: 16 / 9; position: relative; background: #000; overflow: hidden; box-shadow: 0 20px 60px rgba(23,21,15,0.18); }
.player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player--vertical .player__frame { aspect-ratio: 9 / 16; width: auto; height: 78vh; max-width: 92vw; max-height: 78vh; }
.player__foot { padding: 16px 6vw 28px; flex-shrink: 0; }
.player__foot h2 { margin: 0; font-weight: 400; font-size: clamp(28px, 4vw, 52px); line-height: 1; letter-spacing: -0.02em; }

.hidden { display: none !important; }
[hidden] { display: none !important; }

/* ============================================================
   COOKIE BANNER + POLITYKA PRYWATNOŚCI
   ============================================================ */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 18px clamp(16px, 6vw, 72px); background: var(--ink); color: var(--cream);
  box-shadow: 0 -12px 40px rgba(23, 21, 15, 0.25); animation: abRise 0.5s var(--ease);
}
@keyframes abRise { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie__text { margin: 0; max-width: 720px; font-size: 13px; line-height: 1.55; color: var(--ink-20); }
.cookie__text .link { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.cookie__text .link:hover { color: var(--orange); }
.cookie__actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie .btn--faint { border-color: rgba(244, 241, 232, 0.4); color: var(--cream); }
.cookie .btn--faint:hover { border-color: var(--orange); color: var(--orange); }

.footer__legal { display: inline-flex; gap: 18px; flex-wrap: wrap; }
.footer__legal .link { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.footer__legal .link:hover { color: var(--orange); }

.legal { max-width: 760px; }
.legal__title { margin: 12px 0 8px; font-weight: 400; font-size: clamp(32px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.02em; }
.legal__meta { margin: 0 0 32px; font-size: 13px; color: var(--text-muted); }
.legal h2 { margin: 32px 0 10px; font-weight: 600; font-size: 18px; letter-spacing: 0.01em; }
.legal p, .legal li { font-size: 15px; line-height: 1.7; color: var(--text-secondary); }
.legal ul { margin: 0 0 8px; padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--orange); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) { .cat__grid { column-count: 2; } }
@media (max-width: 900px) {
  .nav__right { gap: 14px; }
  .switch__btn { padding: 7px 12px; font-size: 10px; letter-spacing: 0.1em; }
  .menu__grid { grid-template-columns: 1fr; gap: 32px; }
  .menu__cats { border-left: none; padding-left: 0; padding-top: 0; }
  .about__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .film-row { grid-template-columns: 1fr; }
  .film-row__media { height: clamp(220px, 60vw, 360px); }
  .vfilms__grid { grid-template-columns: repeat(2, 1fr); }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer__brand-col { grid-column: 1 / -1; }
}
/* On phones the lightbox arrows cramp the image — hide them and navigate by swipe */
@media (max-width: 640px) {
  .lightbox__nav { display: none; }
  .lightbox__stage { padding: 0 3vw 8px; gap: 0; }
  .lb-chev { display: inline; color: var(--text-muted); }
}

@media (max-width: 560px) {
  .nav { padding-left: 4vw; padding-right: 4vw; }
  .nav__wordmark { display: none; }
  .nav__right { gap: 10px; }
  .switch { padding: 3px; gap: 2px; }
  .switch__btn { padding: 6px 8px; font-size: 10px; letter-spacing: 0.05em; }
  .lang { gap: 3px; }
  .lang__btn, .lang__sep { font-size: 10px; letter-spacing: 0.04em; }
  .nav__menu-btn { font-size: 10px; letter-spacing: 0.08em; gap: 6px; }
  .reel__sound, .reel__expand { bottom: 4vh; padding: 10px 16px; font-size: 10px; }
  .cat__grid { column-count: 1; }
  .footer { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
