/*
Theme Name: Dlaczego Nie
Theme URI: https://dlaczego-nie.com
Author: jmiszewicz
Description: Motyw WordPress dla agencji eventowej Dlaczego Nie — Gdynia
Version: 1.4.2
Text Domain: dlaczego-nie
*/

/* ── FONTS ── */
/* Bebas Neue — latin-ext */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/bebas-neue-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Bebas Neue — latin */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/bebas-neue-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* DM Sans — normal 300–700 (variable), latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/dm-sans-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* DM Sans — normal 300–700 (variable), latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/dm-sans-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* DM Sans — italic 300, latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/dm-sans-italic-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* DM Sans — italic 300, latin */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/dm-sans-italic-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
  --bg:        #141414;
  --bg2:       #181818;
  --bg3:       #1e1e1e;
  --red:       #e8312a;
  --red2:      #c0241e;
  --red-dim:   rgba(232,49,42,0.12);
  --red-mid:   rgba(232,49,42,0.28);
  --white:     #f5f0eb;
  --gray:      #888882;
  --gray2:     #545450;
  --border:    rgba(255,255,255,0.06);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --mx: 10%;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--red2); }

/* ── SCROLL PROGRESS ── */
#scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 201;
  height: 2px; width: 0%; background: var(--red);
  pointer-events: none; transition: width .08s linear;
}

/* ── CUSTOM CURSOR ── */
#cursor {
  display: none; position: fixed; z-index: 9998; pointer-events: none;
  width: 10px; height: 10px; background: var(--red); border-radius: 50%;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width .3s, height .3s;
}
#cursor-ring {
  display: none; position: fixed; z-index: 9997; pointer-events: none;
  width: 36px; height: 36px; border: 1px solid rgba(232,49,42,.45);
  mix-blend-mode: difference;
  border-radius: 50%; transform: translate(-50%, -50%);
  transition: width .25s, height .25s, border-color .2s;
}
@media (hover: hover) and (pointer: fine) {
  *, *::before, *::after { cursor: none !important; }
  #cursor, #cursor-ring { display: block; }
}

/* ── NAV ── */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--mx); height: 68px;
  background: rgba(20,20,20,0.93);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo-img { height: 40px; width: auto; display: block; overflow: visible; }

.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; }
#site-nav a { font-size: 12px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray); text-decoration: none; transition: color .2s; }
#site-nav a:hover { color: var(--white); }
.nav-btn { background: var(--red) !important; color: var(--white) !important; padding: 8px 20px; font-weight: 700 !important; }
.nav-btn:hover { background: var(--red2) !important; }

/* hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: all .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  display: none; position: fixed; top: 68px; left: 0; right: 0;
  background: rgba(20,20,20,0.98); border-bottom: 1px solid var(--border);
  z-index: 190; padding: 16px var(--mx) 28px; flex-direction: column;
}
.nav-drawer.open { display: flex; }
.nav-drawer li { list-style: none; border-bottom: 1px solid var(--border); }
.nav-drawer li a { display: block; padding: 15px 0; font-size: 14px; letter-spacing: 2px; color: var(--gray); text-decoration: none; text-transform: uppercase; }
.nav-drawer .nav-btn { margin-top: 18px; display: block; text-align: center; padding: 14px; font-size: 13px; }

/* ── MOBILE BAR (bottom, mobile only) ── */
#mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  height: 62px; padding: 0 var(--mx) env(safe-area-inset-bottom, 0);
  background: rgba(20,20,20,0.96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--border);
  align-items: center; justify-content: space-between;
}
#mobile-bar .nav-toggle { display: flex; }

/* ── NAV OVERLAY ── */
#nav-overlay {
  display: none; position: fixed; inset: 0; z-index: 185; background: rgba(0,0,0,.5);
}
#nav-overlay.active { display: block; }

/* ── SECTION SHELL ── */
section { position: relative; }
.wrap { padding: 100px var(--mx); }
.s-label { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 14px; }
.s-label::before { content: ''; width: 20px; height: 2px; background: var(--red); }
.s-title { font-family: var(--font-display); font-size: clamp(40px, 5vw, 70px); line-height: .95; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; }
.s-sub { font-size: 17px; color: var(--gray); font-weight: 300; max-width: 520px; line-height: 1.75; }

/* ── HERO ── */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 100px var(--mx) 60px; position: relative; overflow: hidden; gap: 40px; }
.hero::after { content: ''; position: absolute; top: 0; right: 28%; width: 3px; height: 100%; background: var(--red); transform: skewX(-8deg); opacity: .22; }
.hero-bg-glow { position: absolute; right: -10%; top: 10%; width: 65vw; height: 80vh; background: radial-gradient(ellipse at center, rgba(232,49,42,.1) 0%, transparent 65%); pointer-events: none; }
.hero-bg-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 30%, transparent 80%); mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 30%, transparent 80%); }
.hero-left { position: relative; z-index: 2; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 24px; }
.hero-eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--red); }
.hero h1 { font-family: var(--font-display); font-size: clamp(58px, 8vw, 110px); line-height: .92; letter-spacing: 2px; margin-bottom: 32px; text-transform: uppercase; }
.hero h1 .accent { color: var(--red); }
.hero-desc { font-size: 17px; line-height: 1.75; color: var(--gray); max-width: 440px; margin-bottom: 44px; font-weight: 300; }
.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 14px 28px; text-decoration: none; cursor: pointer; border: none; transition: all .2s; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red2); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1.5px solid var(--gray2); color: var(--white); }
.btn-outline:hover { border-color: var(--white); }

.hero-right { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 2px; padding-left: 6%; }
.stat-block { background: var(--bg2); border: 1px solid var(--border); padding: 26px 30px; display: flex; align-items: flex-end; gap: 16px; position: relative; overflow: hidden; transition: background .2s; }
.stat-block:first-child { border-left: 3px solid var(--red); }
.stat-block:hover { background: var(--bg3); }
.stat-block::before { content: attr(data-label); position: absolute; top: 12px; right: 18px; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gray2); font-weight: 500; }
.stat-n { font-family: var(--font-display); font-size: 56px; line-height: 1; color: var(--white); letter-spacing: -1px; }
.stat-n sub { font-size: 26px; color: var(--red); vertical-align: baseline; }
.stat-p { font-size: 13px; color: var(--gray); font-weight: 300; padding-bottom: 4px; }

/* ── ABOUT ── */
/* ── VIDEO SCENE ── */
/* wrapper 90vh = dwell tylko 10vh → następna sekcja pojawia się po jednym scrollu */
.video-scene { height: 100vh; }
.video-panel { position: sticky; top: 0; height: 90vh; overflow: hidden; z-index: 1; }
.video-panel__vid { width: 100%; height: 100%; object-fit: cover; display: block; }

#idea { background: var(--bg2); position: relative; z-index: 2; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-top: 60px; }
.pillars { display: flex; flex-direction: column; }
.pillar { display: grid; grid-template-columns: 50px 1fr; border-bottom: 1px solid var(--border); padding: 26px 0; }
.pillar:first-child { border-top: 1px solid var(--border); }
.pillar-num { font-family: var(--font-display); font-size: 34px; color: rgba(232,49,42,.32); padding-top: 4px; }
.pillar h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.pillar p { font-size: 14px; color: var(--gray); line-height: 1.65; }
.about-quote { background: var(--bg); border: 1px solid var(--border); border-left: 3px solid var(--red); padding: 36px 32px; font-size: 21px; font-weight: 300; font-style: italic; line-height: 1.55; color: var(--white); margin-bottom: 24px; }
.about-quote cite { display: block; margin-top: 18px; font-size: 11px; font-style: normal; letter-spacing: 2px; text-transform: uppercase; color: var(--gray); }
.about-manifesto { font-size: 15px; color: var(--gray); font-weight: 300; line-height: 1.8; }

/* ── SVG ICON HELPERS ── */
.icon-wrap { width: 46px; height: 46px; flex-shrink: 0; background: var(--red-dim); border: 1px solid var(--red-mid); display: flex; align-items: center; justify-content: center; }
.icon-wrap svg { width: 20px; height: 20px; stroke: var(--red); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
/* ── SERVICES ── */
#oferta { background: var(--bg); }
.services-list { margin-top: 56px; border-top: 1px solid var(--border); }
.svc-row { display: grid; grid-template-columns: 80px 1fr; gap: 0 36px; align-items: center; padding: 38px 55% 38px 28px; min-height: 250px; border-bottom: 1px solid var(--border); box-shadow: inset 0 0 0 0 var(--red); transition: background .2s, box-shadow .3s; position: relative; overflow: hidden; }
.svc-row:hover { background: var(--bg3); box-shadow: inset 3px 0 0 var(--red); }
.svc-row-index { font-family: var(--font-display); font-size: clamp(40px, 4.5vw, 56px); line-height: 1; color: rgba(232,49,42,.3); transition: color .25s; position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; }
.svc-row:hover .svc-row-index { color: var(--red); }
.svc-row-body { position: relative; z-index: 1; }
.svc-row-title { font-family: var(--font-display); font-size: clamp(26px, 2.8vw, 38px); letter-spacing: 0.5px; line-height: 1.05; margin-bottom: 8px; }
.svc-row-desc { font-size: 14px; color: var(--gray); line-height: 1.65; font-weight: 300; max-width: 560px; }
.svc-row-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border: 1px solid var(--border); color: var(--gray2); }

/* image as half-bg accent */
.svc-row-accent { position: absolute; right: 0; top: 0; bottom: 0; width: 50%; pointer-events: none; }
.svc-row-accent::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 220px; z-index: 1; background: linear-gradient(to right, rgba(20,20,20,1), transparent); }
.svc-thumb-img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transform: translateX(40px); transition: opacity .45s ease, transform .45s ease; filter: grayscale(20%); }
.svc-row:hover .svc-thumb-img { opacity: 0.72; transform: translateX(0); }
.svc-row-svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 28px; height: 28px; stroke: rgba(232,49,42,.2); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: stroke .25s, opacity .25s; }
.svc-row:hover .svc-row-svg { stroke: rgba(232,49,42,.4); opacity: 1; }

.svc-global-cta { display: flex; justify-content: center; margin-top: 52px; }

/* ── PROCESS ── */
#jak-dzialamy { background: var(--bg2); }
.process { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px; position: relative; }
.step { padding: 58px 26px 36px; background: var(--bg2); position: relative; border-right: 1px solid var(--border); transition: background .25s; }
.step:last-child { border-right: none; }
.step:hover { background: var(--bg3); }

/* horizontal rail line per step — connects across all 4 */
.step::before { content: ''; position: absolute; top: 28px; left: 0; right: 0; height: 1px; background: rgba(232,49,42,.18); transition: background .3s; }
.step:hover::before { background: rgba(232,49,42,.5); }

/* diamond marker sitting on the rail */
.step-dot { position: absolute; top: 22px; left: 26px; width: 12px; height: 12px; background: var(--bg2); border: 2px solid rgba(232,49,42,.45); transform: rotate(45deg); transition: background .2s, border-color .2s; z-index: 1; }
.step:hover .step-dot { background: var(--red); border-color: var(--red); }

.step-num { font-family: var(--font-display); font-size: 72px; line-height: 1; color: rgba(232,49,42,.3); margin-bottom: 14px; display: block; transition: color .25s; }
.step:hover .step-num { color: rgba(232,49,42,.6); }
.step h3 { font-family: var(--font-display); font-size: clamp(20px, 1.8vw, 26px); font-weight: 400; letter-spacing: 0.5px; line-height: 1.1; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--gray); font-weight: 300; line-height: 1.7; }

/* ── CLIENTS ── */
#klienci { background: var(--bg); }
.client-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 60px; counter-reset: client-counter; }
.client-card { counter-increment: client-counter; background: var(--bg2); padding: 28px 24px; position: relative; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; transition: background .45s ease, box-shadow .45s ease; box-shadow: inset 0 2px 0 transparent; }
.client-card:hover { background: var(--bg3); box-shadow: inset 0 2px 0 var(--red); }

/* ghosted counter number — all cards */
.client-card::after { content: counter(client-counter, decimal-leading-zero); position: absolute; top: 12px; right: 16px; font-family: var(--font-display); font-size: 72px; line-height: 1; color: rgba(255,255,255,.04); pointer-events: none; transition: color .45s ease; z-index: 2; }
.client-card:hover::after { color: rgba(232,49,42,.12); }

/* dark overlay — has-bg cards only */
.client-card.has-bg { background-size: cover !important; background-position: center !important; }
.client-card.has-bg::before { content: ''; position: absolute; inset: -1px; background: linear-gradient(to top, rgba(14,14,14,0.97) 0%, rgba(14,14,14,0.88) 20%, transparent 100%); z-index: 1; transition: opacity .45s ease; opacity: 1; }
.client-card.has-bg:hover::before { opacity: 0.85; }

/* content */
.client-card-inner { position: relative; z-index: 3; }
.client-card-inner::before { content: ''; display: block; width: 24px; height: 2px; background: var(--red); margin-bottom: 14px; opacity: 0.4; transition: width .35s ease, opacity .3s; }
.client-card:hover .client-card-inner::before { width: 44px; opacity: 1; }
.client-card h4 { font-family: var(--font-display); font-size: clamp(26px, 2.2vw, 34px); letter-spacing: 0.5px; line-height: 1.05; margin-bottom: 8px; font-weight: 400; }
.client-card p { font-size: 13px; color: var(--gray); font-weight: 300; line-height: 1.6; }
.client-cta-wrap { text-align: center; margin-top: 40px; }

/* ── PORTFOLIO ── */
#portfolio { background: var(--bg2); }
.pf-filters { display: flex; gap: 8px; margin: 40px 0 28px; flex-wrap: wrap; }
.pf-btn { font-family: var(--font-body); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; padding: 8px 16px; background: transparent; border: 1px solid var(--border); color: var(--gray); cursor: pointer; transition: all .2s; }
.pf-btn.active, .pf-btn:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.pf-item { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg3); cursor: pointer; display: block; text-decoration: none; }
.pf-bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 64px; opacity: .08; transition: opacity .4s, transform .4s; }
.pf-item:hover .pf-bg { opacity: .18; transform: scale(1.08); }
.pf-bg-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .4s ease; }
.pf-item:hover .pf-bg-img { transform: scale(1.05); }
.pf-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,14,14,.97) 0%, rgba(14,14,14,.55) 40%, rgba(14,14,14,.10) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 26px 22px; }
.pf-cat { font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 5px; }
.pf-name { font-size: 16px; font-weight: 700; line-height: 1.2; margin-bottom: 4px; color: var(--white); }
.pf-meta { font-size: 12px; color: rgba(245,240,235,.4); font-weight: 300; }
.pf-item::after { content: ''; position: absolute; inset: 0; border: 2px solid var(--red); opacity: 0; transition: opacity .3s; pointer-events: none; }
.pf-item:hover::after { opacity: 1; }
.pf-more { margin-top: 40px; text-align: center; }

/* ── ARTISTS TICKER ── */
.ticker-heading { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 32px); font-weight: 400; letter-spacing: 0.5px; color: var(--white); padding: 0 var(--mx); margin-bottom: 20px; }
.artists-ticker { overflow: hidden; background: #1a1a1a; margin: 0 var(--mx) 48px; padding: 18px 0; -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%); }
.ticker-track { display: flex; width: max-content; animation: ticker-scroll 36s linear infinite; }
.artists-ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { font-family: var(--font-display); font-size: clamp(16px, 1.6vw, 22px); letter-spacing: 1.5px; text-transform: uppercase; color: var(--white); white-space: nowrap; padding: 0 4px; }
.ticker-sep { color: var(--red); margin: 0 22px; font-size: .7em; vertical-align: middle; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── PORTFOLIO CAROUSEL (front page) ── */
.pf-carousel { position: relative; margin-top: 40px; }
.pf-track-wrap { overflow: hidden; }
.pf-track { display: flex; will-change: transform; }
.pf-nav { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.pf-arrow { width: 48px; height: 48px; background: rgba(20,20,20,.88); border: 1px solid var(--border); color: var(--white); font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s; }
.pf-arrow:hover { background: var(--red); border-color: var(--red); }

/* ── REVIEWS ── */
#opinie { background: var(--bg); }
.rv-carousel { position: relative; margin-top: 60px; border: 1px solid var(--border); }
.rv-track-wrap { overflow: hidden; }
.rv-track { display: flex; will-change: transform; }
.rv-item { flex-shrink: 0; border-right: 1px solid var(--border); box-sizing: border-box; }
.review-card { padding: 38px 30px; height: 100%; display: flex; flex-direction: column; transition: background .25s; }
.review-card:hover { background: var(--bg2); }
.review-stars { display: flex; gap: 5px; margin-bottom: 16px; }
.review-stars .star-on  { color: var(--red); font-size: 17px; }
.review-stars .star-off { color: rgba(255,255,255,.12); font-size: 17px; }
.review-title { font-size: 18px; font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
.review-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.review-chip { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); border: 1px solid var(--red-mid); padding: 3px 10px; font-weight: 700; }
.review-text { font-size: 14px; font-weight: 300; line-height: 1.8; color: var(--gray); font-style: italic; flex: 1; margin: 0 0 24px; padding: 0; border: none; }
.review-sep  { height: 1px; background: var(--border); margin-bottom: 18px; }
.review-author { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.review-author-desc { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray2); font-weight: 400; }
.rv-nav { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.rv-arrow { width: 48px; height: 48px; background: rgba(20,20,20,.88); border: 1px solid var(--border); color: var(--white); font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s; }
.rv-arrow:hover { background: var(--red); border-color: var(--red); }

/* ── CTA BANNER ── */
.cta-banner { background: var(--red); padding: 80px var(--mx); display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; position: relative; overflow: hidden; }
.cta-banner::before { content: 'DLACZEGO NIE'; position: absolute; right: 4%; font-family: var(--font-display); font-size: 150px; line-height: 1; color: rgba(0,0,0,.13); pointer-events: none; white-space: nowrap; letter-spacing: 4px; }
.cta-banner h2 { font-family: var(--font-display); font-size: clamp(34px, 4vw, 58px); line-height: .95; letter-spacing: 1px; text-transform: uppercase; color: #fff; }
.cta-banner p { font-size: 17px; color: rgba(255,255,255,.75); font-weight: 300; margin-top: 14px; max-width: 480px; }
.btn-white { background: var(--white); color: var(--red); font-weight: 800; white-space: nowrap; flex-shrink: 0; }
.btn-white:hover { background: #fff; transform: translateY(-2px); }

/* ── CONTACT ── */
#kontakt { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.7fr; gap: 60px; align-items: start; margin-top: 60px; }
.contact-info { display: flex; flex-direction: column; gap: 2px; }
.contact-item { background: var(--bg2); border: 1px solid var(--border); padding: 22px 24px; display: flex; gap: 18px; align-items: flex-start; transition: background .2s; }
.contact-item:hover { background: var(--bg3); }
.c-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gray2); font-weight: 600; margin-bottom: 4px; }
.c-val { font-size: 16px; font-weight: 700; color: var(--white); }
.c-val a { color: inherit; text-decoration: none; }
.c-val a:hover { color: var(--red); }
.contact-note { padding: 24px; background: var(--red-dim); border: 1px solid var(--red-mid); margin-top: 8px; margin-bottom: 8px; font-size: 13px; color: var(--gray); line-height: 1.8; }
.contact-note strong { color: var(--white); display: block; margin-bottom: 6px; }
.contact-social-item { text-decoration: none; color: inherit; }
.contact-social-item .icon-wrap svg { fill: var(--red); stroke: none; }
.contact-form { background: var(--bg2); border: 1px solid var(--border); border-top: 3px solid var(--red); padding: 38px 34px; }
.form-heading { font-family: var(--font-display); font-size: 30px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 28px; }

/* ── CONTACT FORM 7 ── */
.wpcf7 .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.wpcf7 .fg { margin-bottom: 14px; }
.wpcf7 .fg label, .wpcf7 .fg .fg-label { display: block; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; color: var(--gray); margin-bottom: 8px; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--border);
  color: var(--white); padding: 12px 14px; font-family: var(--font-body);
  font-size: 15px; font-weight: 300; outline: none; transition: border-color .2s;
  -webkit-appearance: none; appearance: none; border-radius: 0;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus { border-color: var(--red); }
.wpcf7 input::placeholder, .wpcf7 textarea::placeholder { color: var(--gray2); }
.wpcf7 select { color: var(--gray2); }
.wpcf7 select option { background: #181818; color: var(--white); }
.wpcf7 textarea { resize: vertical; min-height: 115px; }
.wpcf7 input[type="submit"] {
  width: 100%; font-family: var(--font-display); font-size: 20px; letter-spacing: 3px;
  padding: 17px; background: var(--red); color: var(--white); border: none;
  cursor: pointer; margin-top: 6px; transition: background .2s; border-radius: 0;
}
.wpcf7 input[type="submit"]:hover { background: var(--red2); }
.wpcf7-response-output {
  border: 1px solid var(--red-mid) !important; background: var(--red-dim) !important;
  color: var(--white) !important; font-size: 13px;
  margin: 12px 0 0 !important; padding: 12px 16px !important; border-radius: 0 !important;
}
.wpcf7 .wpcf7-not-valid-tip { color: var(--red); font-size: 12px; margin-top: 4px; display: block; }
.cf7-notice { background: var(--red-dim); border: 1px solid var(--red-mid); padding: 20px 24px; font-size: 14px; color: var(--gray); line-height: 1.8; }

/* acceptance / RODO checkbox */
.wpcf7 .cf7-acceptance { margin-bottom: 14px; }
.wpcf7 .cf7-acceptance .wpcf7-list-item { margin: 0; }
.wpcf7 .cf7-acceptance label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.wpcf7 .cf7-acceptance .wpcf7-list-item-label { font-size: 12px; color: var(--gray); line-height: 1.55; font-weight: 300; }
.wpcf7 .cf7-acceptance .wpcf7-list-item-label a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.wpcf7 .cf7-acceptance input[type="checkbox"] {
  width: 16px; height: 16px; min-width: 16px; margin-top: 2px;
  border: 1px solid var(--gray2); background: var(--bg2);
  appearance: none; -webkit-appearance: none;
  position: relative; transition: border-color .2s, background-color .2s;
}
.wpcf7 .cf7-acceptance input[type="checkbox"]:checked { background: var(--red); border-color: var(--red); }
.wpcf7 .cf7-acceptance input[type="checkbox"]:checked::after {
  content: ''; position: absolute; inset: 2px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%23fff' stroke-width='1.75' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ── FOOTER ── */
footer { background: #0c0c0c; border-top: 1px solid var(--border); }

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding: 52px var(--mx);
}
.footer-brand { flex-shrink: 0; }
.footer-logo { height: 38px; width: auto; display: block; overflow: visible; }
.footer-contact { display: flex; flex-direction: column; gap: 18px; flex: 0 1 auto; }
.footer-contact-item { display: flex; flex-direction: column; gap: 3px; }
.footer-contact-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gray2); font-weight: 600; }
.footer-contact-val { font-size: 15px; color: var(--white); font-weight: 500; text-decoration: none; transition: color .2s; }
a.footer-contact-val:hover { color: var(--red); }
/* ── FOOTER SOCIAL ── */
.footer-social { display: flex; flex-direction: column; gap: 12px; }
.footer-social__label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gray2); font-weight: 600; margin: 0; }
.footer-social__icons { display: flex; gap: 14px; align-items: center; }
.footer-social__icons a { display: flex; align-items: center; justify-content: center; color: var(--gray); transition: color .2s; }
.footer-social__icons a svg { width: 22px; height: 22px; }
.footer-social__icons a:hover { color: var(--red); }
.footer-nav { flex-shrink: 0; }
.footer-nav .footer-links { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; list-style: none; }
.footer-links a { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--gray2); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  padding: 16px var(--mx);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 13px; color: var(--gray2); font-weight: 300; }
.footer-policy { color: var(--red); text-decoration: none; }

/* ── SCROLL OFFSET FOR FIXED NAV ── */
section[id] { scroll-margin-top: 80px; }

/* ── SINGLE PORTFOLIO ── */
.pf-single-hero { width: 100%; max-height: 60vh; overflow: hidden; margin-top: 68px; }
.pf-single-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-single-content { padding: 80px var(--mx); }
.pf-single-body { margin-top: 32px; font-size: 16px; line-height: 1.8; color: var(--gray); max-width: 720px; }
.pf-single-body p { margin-bottom: 1.4em; }
.pf-single-body p:last-child { margin-bottom: 0; }
.pf-single-body h2 { font-family: var(--font-display); font-size: 30px; letter-spacing: 1px; text-transform: uppercase; color: var(--white); margin: 2em 0 0.6em; }
.pf-single-body h3 { font-family: var(--font-display); font-size: 22px; letter-spacing: 1px; text-transform: uppercase; color: var(--white); margin: 1.8em 0 0.5em; }
.pf-single-body ul, .pf-single-body ol { padding-left: 1.5em; margin-bottom: 1.4em; }
.pf-single-body li { margin-bottom: 0.45em; }
.pf-single-body strong { color: var(--white); font-weight: 700; }
.pf-single-body em { font-style: italic; }
.pf-single-body blockquote { border-left: 3px solid var(--red); padding: 10px 0 10px 24px; margin: 1.8em 0; font-size: 18px; font-weight: 300; font-style: italic; color: var(--white); line-height: 1.6; }
.pf-single-body blockquote cite { display: block; margin-top: 10px; font-size: 12px; font-style: normal; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray); }
.pf-cta-wrap { margin-top: 48px; }
.pf-back { margin-top: 20px; }

/* ── PORTFOLIO SINGLE — YouTube embed ── */
.pf-yt-wrap { margin-top: 60px; max-width: 70%; }
.pf-yt-facade { position: relative; aspect-ratio: 16/9; cursor: pointer; overflow: hidden; background: #000; }
.pf-yt-thumb { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .3s, transform .35s; }
.pf-yt-facade:hover .pf-yt-thumb { opacity: 0.82; transform: scale(1.02); }
.pf-yt-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.pf-yt-play svg { width: 68px; height: 68px; fill: #fff; filter: drop-shadow(0 2px 16px rgba(0,0,0,.7)); opacity: .88; transition: transform .2s, opacity .2s; }
.pf-yt-facade:hover .pf-yt-play svg { transform: scale(1.12); opacity: 1; }
.pf-yt-iframe { width: 100%; aspect-ratio: 16/9; border: none; display: block; }

/* ── ARCHIVE HEADER ── */
.archive-header { padding: 148px var(--mx) 48px; background: var(--bg2); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.hero-left > * { animation: fadeUp .7s ease both; }
.hero-eyebrow  { animation-delay: .1s; }
.hero h1       { animation-delay: .22s; }
.hero-desc     { animation-delay: .36s; }
.hero-ctas     { animation-delay: .5s; }
.stat-block:nth-child(1) { animation: fadeUp .6s .38s both; }
.stat-block:nth-child(2) { animation: fadeUp .6s .52s both; }
.stat-block:nth-child(3) { animation: fadeUp .6s .66s both; }

/* ── SECTION REVEAL ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.s-label.reveal { transition-delay: 0s; }
.s-title.reveal { transition-delay: .08s; }
.s-sub.reveal   { transition-delay: .16s; }

/* ═══════════════════════
   TABLET  ≤ 1024px
═══════════════════════ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding: 110px var(--mx) 60px; }
  .hero::after { display: none; }
  .hero-right { padding-left: 0; flex-direction: row; }
  .stat-block { flex: 1; }

  .wrap { padding: 80px var(--mx); }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }

  .process { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2n) { border-right: none; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid var(--border); }

  .client-types { grid-template-columns: repeat(2, 1fr); }
  .pf-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .cta-banner { grid-template-columns: 1fr; }
  .cta-banner::before { display: none; }

  .archive-header { padding-top: 110px; padding-bottom: 40px; }
}

/* ═══════════════════════
   MOBILE  ≤ 1100px
═══════════════════════ */
@media (max-width: 1100px) {
  :root { --mx: 5%; }
  section[id] { scroll-margin-top: 0; scroll-margin-bottom: 62px; }

  #site-nav { display: none; }
  #mobile-bar { display: flex; }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0)); }

  .nav-drawer {
    display: flex; flex-direction: column;
    top: 0; left: auto; right: 0; bottom: 0; width: 78%; max-width: 300px;
    border-bottom: none; border-left: 1px solid var(--border);
    padding: 80px 28px 40px;
    transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
  }
  .nav-drawer.open { transform: translateX(0); display: flex; }

  .wrap { padding: 72px var(--mx); }

  .hero { padding: 28px var(--mx) calc(72px + env(safe-area-inset-bottom, 0)); gap: 28px; align-items: start; min-height: calc(100vh - 62px); min-height: calc(100svh - 62px - env(safe-area-inset-bottom, 0)); }
  .hero h1 { font-size: clamp(52px, 14vw, 80px); margin-bottom: 18px; }
  .hero-desc { font-size: 15px; margin-bottom: 28px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .hero-right { flex-direction: column; }
  .stat-n { font-size: 48px; }

  .about-quote { font-size: 18px; padding: 26px 22px; }
  .svc-row { grid-template-columns: 64px 1fr; gap: 0 20px; padding: 22px 16px; box-shadow: inset 3px 0 0 var(--red); }
  .svc-row-index { color: var(--red); }
  .svc-row-accent { display: none; }

  .process { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--border); }
  .step:last-child { border-bottom: none; }
  .step:nth-child(1), .step:nth-child(2) { border-bottom: 1px solid var(--border); }

  .client-types { grid-template-columns: 1fr 1fr; }
  .pf-grid { grid-template-columns: 1fr; }
  .pf-item { aspect-ratio: 16/9; }

  .cta-banner { padding: 52px var(--mx); }
  .wpcf7 .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px; }

  .footer-top { flex-direction: column; gap: 32px; }
  .footer-nav .footer-links { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 16px; }

  .archive-header { padding: 110px var(--mx) 36px; }

  .pf-single-hero { margin-top: 0; }
  .pf-single-content { padding: 60px var(--mx); }
  .pf-yt-wrap { max-width: 90vw; }

  /* video — naturalna wysokość na mobile, brak crop, brak czarnych pasków */
  .video-scene { height: auto; }
  .video-panel { height: auto; }
  .video-panel__vid { height: auto; }

}

/* ═══════════════════════
   SMALL  ≤ 480px
═══════════════════════ */
@media (max-width: 480px) {
  .client-types { grid-template-columns: 1fr; }
  .pf-filters { gap: 6px; }
  .pf-btn { font-size: 10px; padding: 7px 12px; }
}
